An abstract base class that defines basic functionality for handling a pane. This class is the
parent class for MasterPane and GraphPane.
| C# | Visual Basic | Visual C++ |
public abstract class PaneBase : ICloneable
Public MustInherit Class PaneBase _ Implements ICloneable
public ref class PaneBase abstract : ICloneable
| All Members | Constructors | Methods | Properties | Fields | |
| Icon | Member | Description |
|---|---|---|
| PaneBasePaneBaseNew()() |
Default constructor for the PaneBase class. Leaves the Rect empty.
| |
| PaneBasePaneBaseNew(String, RectangleF) |
Default constructor for the PaneBase class. Specifies the Title of
the PaneBase, and the size of the Rect.
| |
| PaneBasePaneBaseNew(PaneBase) |
The Copy Constructor
| |
| BaseDimension |
BaseDimension is a double precision value that sets "normal" pane size on
which all the settings are based. The BaseDimension is in inches. For
example, if the BaseDimension is 8.0 inches and the
Title size is 14 points. Then the pane title font
will be 14 points high when the Rect is approximately 8.0
inches wide. If the Rect is 4.0 inches wide, the pane title font will be
7 points high. Most features of the graph are scaled in this manner.
| |
| Border | ||
| CalcClientRect(Graphics, Single) |
Calculate the client area rectangle based on the Rect.
| |
| CalcScaleFactor()() |
Calculate the scaling factor based on the ratio of the current Rect dimensions and
the BaseDimension.
| |
| Draw(Graphics) |
Do all rendering associated with this PaneBase to the specified
Graphics device. This abstract method is implemented by the child
classes.
| |
| DrawPaneFrame(Graphics, Single) |
Draw the border _border around the Rect area.
| |
| DrawTitle(Graphics, Single) |
Draw the Title on the graph, centered at the top of the pane.
| |
| Equals(Object) | (Inherited from Object.) | |
| Fill | ||
| 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.) | |
| GetImage()() | ||
| GetImage(Int32, Int32, Single) |
Gets an image for the current GraphPane, scaled to the specified size and resolution.
| |
| GetMetafile(Int32, Int32) |
Gets an enhanced metafile image for the current GraphPane, scaled to the specified size.
| |
| GetMetafile()() |
Gets an enhanced metafile image for the current GraphPane.
| |
| GetObjectData(SerializationInfo, StreamingContext) |
Populates a SerializationInfo instance with the data needed to serialize the target object
| |
| GetType()() | Gets the Type of the current instance. (Inherited from Object.) | |
| GraphObjList | ||
| IsFontsScaled |
Determines if the font sizes, tic sizes, gap sizes, etc. will be scaled according to
the size of the Rect and the BaseDimension. If this
value is set to false, then the font sizes and tic sizes will always be exactly as
specified, without any scaling.
| |
| IsPenWidthScaled |
Gets or sets the property that controls whether or not pen widths are scaled for this
PaneBase.
| |
| Legend |
Accesses the Legend for this PaneBase | |
| Margin |
Gets or sets the Margin instance that controls the space between
the edge of the Rect and the rendered content of the graph.
| |
| MemberwiseClone()() | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| Rect |
The rectangle that defines the full area into which all graphics
will be rendered.
| |
| ReSize(Graphics, RectangleF) |
Change the size of the Rect. Override this method to handle resizing the contents
as required.
| |
| ScaledPenWidth(Single, Single) |
Calculate the scaled pen width, taking into account the scaleFactor and the
setting of the IsPenWidthScaled property of the pane.
| |
| schema |
Current schema value that defines the version of the serialized file
| |
| ShallowClone()() |
Create a shallow, memberwise copy of this class.
| |
| ICloneable..::Clone()() |
Implement the ICloneable interface in a typesafe manner by just
calling the typed version of Clone
| |
| Tag |
Gets or sets the user-defined tag for this PaneBase. This tag
can be any user-defined value. If it is a String type, it can be used as
a parameter to the IndexOfTag(String) method.
| |
| Title |
Gets the Label instance that contains the text and attributes of the title.
This text can be multiple lines separated by newline characters ('\n').
| |
| TitleGap |
Gets or sets the gap between the bottom of the pane title and the
client area of the pane. This is expressed as a fraction of the scaled
Title character height.
| |
| ToString()() | (Inherited from Object.) |
| Object | ||
| PaneBase | ||
| MasterPane | ||
| GraphPane | ||
