[]
        
(Showing Draft Content)

GrapeCity.Documents.Layout.Composition.Space

Class Space

Namespace
GrapeCity.Documents.Layout.Composition
Assembly
GcDocs.Imaging.dll

Represents a space on a Layer with an associated LayoutRect.

public class Space
Inheritance
object
Space
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Properties

ID

Gets the ID of the space. Automatic IDs are negative, custom IDs are positive.

public int ID { get; }

Property Value

int

IsDetached

Gets true if this Space is not associated with any Layer, false otherwise.

public bool IsDetached { get; }

Property Value

bool

Layer

Gets the owner Layer.

public Layer Layer { get; }

Property Value

Layer

LayoutRect

Gets a LayoutRect associated with this Space, or null for a Visual without the associated rectangle.

public LayoutRect LayoutRect { get; }

Property Value

LayoutRect

Name

Gets or sets the name of this Space.

public string Name { get; set; }

Property Value

string

Tag

Gets or sets an object that contains arbitrary data associated with this space.

public object Tag { get; set; }

Property Value

object

Methods

Detach()

Detaches this Space from the owner Layer.

public virtual void Detach()

ToString()

Returns a string that represents the current Space.

public override string ToString()

Returns

string