Class Grid
- Namespace
- CADability
- Assembly
- CADability.dll
The Grid settings, used only in class Projection.
public class Grid : IShowPropertyImpl, IShowProperty, IPropertyEntry, ISerializable
- Inheritance
-
Grid
- Implements
- Inherited Members
Constructors
Grid()
public Grid()
Grid(SerializationInfo, StreamingContext)
Constructor required by deserialization
protected Grid(SerializationInfo info, StreamingContext context)
Parameters
infoSerializationInfoSerializationInfo
contextStreamingContextStreamingContext
Properties
DisplayMode
public Grid.Appearance DisplayMode { get; set; }
Property Value
EntryType
Overrides EntryType, returns GroupTitle.
public override ShowPropertyEntryType EntryType { get; }
Property Value
Show
public bool Show { get; set; }
Property Value
SubEntries
The sub entries shown below this entry when it is opened in the property page. The default implementation has none and returns an empty array.
public override IShowProperty[] SubEntries { get; }
Property Value
SubEntriesCount
The number of SubEntries, 0 for an entry that cannot be opened. The default implementation returns 0.
public override int SubEntriesCount { get; }
Property Value
XDistance
public double XDistance { get; set; }
Property Value
YDistance
public double YDistance { get; set; }
Property Value
Methods
GetObjectData(SerializationInfo, StreamingContext)
Writes the data of this object for the legacy binary serialization (ISerializable). Files are written in the JSON format (IJsonSerialize) now; the binary format is still read.
public void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
infoSerializationInforeceives the data
contextStreamingContextthe destination of the serialization
Events
GridChangedEvent
public event Grid.GridChangedDelegate GridChangedEvent