Grid Class
Public Class Grid
Inherits UserInterfaceBase
Implements ICloneable
This language is not supported or no code example is available.
public class Grid : UserInterfaceBase,
ICloneable
This language is not supported or no code example is available.
Top
Name | Description | |
---|---|---|
ActualMax | Gets the actual grid maximum 2D point relative to the grid plane. | |
ActualMin | Gets the actual grid minimum 2D point relative to the grid plane. | |
AlwaysBehind | When true, the grids is drawn always behind the geometry. | |
AutoSize | When true, the grid is resized automatically every time the model's bounding box changes. | |
AutoStep | When true, the grid real step is a multiple of the Step to keep the number of lines between MinNumberOfLines and MaxNumberOfLines. | |
BorderColor | Gets or sets the color used to draw the grid plane border. | |
ColorAxisX | Gets or sets the color used to draw axis X. | |
ColorAxisY | Gets or sets the color used to draw axis Y. | |
CustomViewport | Tells if the UI element is drawn with a custom viewport. (inherited from UserInterfaceBase). | |
Disposed | (inherited from DisposableBase). | |
FillColor | Gets or sets the color used to draw the grid plane. | |
Lighting | When false, the UI element is drawn with a flat color. | |
LineColor | Gets or sets the color used to draw lines. | |
LocationAtOrigin | When doing a render to Bitmap of the item, must not change the viewport origin. (inherited from UserInterfaceBase). | |
MajorLineColor | Gets or sets the color used to draw major lines. | |
MajorLinesEvery | Gets or sets the number of steps between two major lines. | |
Max | Gets or sets the grid maximum 2D point relative to the grid plane. | |
MaxNumberOfLines | When AutoStep is true, defines the maximum number of lines. | |
Min | Gets or sets the grid minimum 2D point relative to the grid plane. | |
MinNumberOfLines | When AutoStep is true, defines the Minimum number of lines. | |
ParentViewport | (inherited from UserInterfaceBase). | |
Plane | Grid plane. | |
Step | Gets or sets the step between grid lines (meaningful only when AutoStep is false). | |
Visible | Gets or sets the visibility status. |
Name | Description | |
---|---|---|
Clone() | Creates a new object that is a copy of the current instance. | |
ComputeAutomaticSize(Point3D, Point3D, double) | Computes the automatic grid size. | |
Dispose() | ||
Draw(RenderContextBase, Viewport) | Draws the grid lines. | |
DrawForBitmap(object) | ||
Equals(Object) | Determines whether the specified object is equal to the current object. (inherited from Object). | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (inherited from Object). | |
GetBounds(Viewport) | Gets the bounds rectangle in screen coordinates. | |
GetDefaultLayerName(Environment) | Use this method to get the correct layer name for internal Meshes. (inherited from UserInterfaceBase). | |
GetHashCode | Serves as the default hash function. (inherited from Object). | |
GetThumbnail(Viewport, Size, Color) | Gets a thumbnail bitmap of the user interface element. | |
GetType | Gets the Type of the current instance. (inherited from Object). | |
MemberwiseClone | Creates a shallow copy of the current Object. (inherited from Object). | |
ObservableCollectionPropertyChanged(object, NotifyCollectionChangedEventArgs) | For internal use only. (inherited from DisposableBase). | |
RaisePropertyChangedEvent(object, DependencyProperty) | For internal use only. (inherited from DisposableBase). | |
ScaleForDPI() | Scales the element for high DPI settings. (inherited from UserInterfaceBase). | |
ToString | Returns a string that represents the current object. (inherited from Object). | |
Update(IUserInterfaceElement) | Updates the contents of the element with the data from another element. |
Name | Description | |
---|---|---|
PropertyChanged | For internal use only. (inherited from DisposableBase). |
Name | Description | |
---|---|---|
PropertyChangedEvent | For internal use only. (inherited from DisposableBase). |