ZedGraph LogoZedGraph Class Library Documentation
Border Class
NamespacesZedGraphBorder
A class that encapsulates Border (frame) properties for an object. The Border class is used in a variety of ZedGraph objects to handle the drawing of the Border around the object.
Declaration Syntax
C#Visual BasicVisual C++
<SerializableAttribute> _
Public Class Border _
	Inherits LineBase _
	Implements ISerializable, ICloneable
[SerializableAttribute]
public ref class Border : public LineBase, 
	ISerializable, ICloneable
Members
All MembersConstructorsMethodsPropertiesFields



IconMemberDescription
BorderBorderNew()()
The default constructor. Initialized to default values.

BorderBorderNew(Boolean, Color, Single)
Constructor that specifies the visibility, color and penWidth of the Border.

BorderBorderNew(Color, Single)
Constructor that specifies the color and penWidth of the Border.

BorderBorderNew(Border)
The Copy Constructor

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

Color
The color of the Line. Note that this color value can be overridden if the GradientFill.Type is one of the GradientByX, GradientByY, GradientByZ, and GradientByColorValue types.
(Inherited from LineBase.)
DashOff
The "Dash Off" mode for drawing the line.
(Inherited from LineBase.)
DashOn
The "Dash On" mode for drawing the line.
(Inherited from LineBase.)
Draw(Graphics, PaneBase, Single, RectangleF)
Draw the specified Border (RectangleF) using the properties of this Border object.

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
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.)
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 LineBase.GetObjectData(SerializationInfo, StreamingContext).)
GetPen(PaneBase, Single)
Create a Pen object based on the properties of this LineBase.
(Inherited from LineBase.)
GetPen(PaneBase, Single, PointPair)
Create a Pen object based on the properties of this LineBase.
(Inherited from LineBase.)
GetType()()
Gets the Type of the current instance.
(Inherited from Object.)
GradientFill
Gets or sets a custom Fill class.
(Inherited from LineBase.)
InflateFactor
Gets or sets the amount of inflation to be done on the rectangle before rendering.

IsAntiAlias
Gets or sets a value that determines if the lines are drawn using Anti-Aliasing capabilities from the Graphics class.
(Inherited from LineBase.)
IsVisible
Gets or sets a property that shows or hides the Line.
(Inherited from LineBase.)
MemberwiseClone()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
static memberschema
Current schema value that defines the version of the serialized file

Style
The style of the Line, defined as a DashStyle enum. This allows the line to be solid, dashed, or dotted.
(Inherited from LineBase.)
ICloneable..::Clone()()
Implement the ICloneable interface in a typesafe manner by just calling the typed version of Clone()()

ToString()()
Returns a String that represents the current Object.
(Inherited from Object.)
Width
The pen width used to draw the Line, in points (1/72 inch)
(Inherited from LineBase.)
Inheritance Hierarchy

Assembly: ZedGraph (Module: ZedGraph) Version: 5.1.0.621