ZedGraph LogoZedGraph Class Library Documentation
BoxObj Class
NamespacesZedGraphBoxObj
A class that represents a bordered and/or filled box (rectangle) object on the graph. A list of BoxObj objects is maintained by the GraphObjList collection class.
Declaration Syntax
C#Visual BasicVisual C++
<SerializableAttribute> _
Public Class BoxObj _
	Inherits GraphObj _
	Implements ICloneable, ISerializable
[SerializableAttribute]
public ref class BoxObj : public GraphObj, 
	ICloneable, ISerializable
Members
All MembersConstructorsMethodsPropertiesFields



IconMemberDescription
BoxObjBoxObjNew(Double, Double, Double, Double, Color, Color)
A constructor that allows the position, border color, and solid fill color of the BoxObj to be pre-specified.

BoxObjBoxObjNew(Double, Double, Double, Double)
A constructor that allows the position of the BoxObj to be pre-specified. Other properties are defaulted.

BoxObjBoxObjNew()()
A default constructor that creates a BoxObj using a location of (0,0), and a width,height of (1,1). Other properties are defaulted.

BoxObjBoxObjNew(Double, Double, Double, Double, Color, Color, Color)
A constructor that allows the position, border color, and two-color gradient fill colors of the BoxObj to be pre-specified.

BoxObjBoxObjNew(BoxObj)
The Copy Constructor

Border
Gets or sets the Border object, which determines the properties of the border around this BoxObj

Clone()()
Typesafe, deep-copy clone method.

Draw(Graphics, PaneBase, Single)
Render this object to the specified Graphics device.
(Overrides GraphObj.Draw(Graphics, PaneBase, Single).)
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Fill
Gets or sets the Fill data for this BoxObj.

Finalize()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetCoords(PaneBase, Graphics, Single, String%, String%)
Determines the shape type and Coords values for this GraphObj
(Overrides GraphObj.GetCoords(PaneBase, Graphics, Single, String%, String%).)
GetHashCode()()
Serves as a hash function for a particular type. GetHashCode()() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.)
GetObjectData(SerializationInfo, StreamingContext)
Populates a SerializationInfo instance with the data needed to serialize the target object
(Overrides GraphObj.GetObjectData(SerializationInfo, StreamingContext).)
GetType()()
Gets the Type of the current instance.
(Inherited from Object.)
IsClippedToChartRect
Gets or sets a value that determines whether or not the rendering of this GraphObj will be clipped to the Rect.
(Inherited from GraphObj.)
IsInFrontOfData
true if the ZOrder of this object is set to put it in front of the CurveItem data points.
(Inherited from GraphObj.)
IsVisible
Gets or sets a value that determines if this GraphObj will be visible in the graph. true displays the item, false hides it.
(Inherited from GraphObj.)
Link
Gets or sets the hyperlink information for this GraphObj.
(Inherited from GraphObj.)
Location
The Location struct that describes the location for this GraphObj.
(Inherited from GraphObj.)
MemberwiseClone()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
PointInBox(PointF, PaneBase, Graphics, Single)
Determine if the specified screen point lies inside the bounding box of this BoxObj.
(Overrides GraphObj.PointInBox(PointF, PaneBase, Graphics, Single).)
static memberschema2
Current schema value that defines the version of the serialized file

ICloneable..::Clone()()
Implement the ICloneable interface in a typesafe manner by just calling the typed version of Clone()()

Tag
A tag object for use by the user. This can be used to store additional information associated with the GraphObj. ZedGraph does not use this value for any purpose.
(Inherited from GraphObj.)
ToString()()
Returns a String that represents the current Object.
(Inherited from Object.)
ZOrder
Gets or sets a value that determines the z-order "depth" of this item relative to other graphic objects.
(Inherited from GraphObj.)
Inheritance Hierarchy

Assembly: ZedGraph (Module: ZedGraph) Version: 5.1.0.621