Represents the surface on which Element objects are drawn.

The following tables list the members exposed by the Canvas type.

Public Methods

  NameDescription
Equals
Determines whether the specified Object is equal to the current Object.
(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.)
GetType
Gets the Type of the current instance.
(Inherited from Object.)
ToStringOverloaded.

Protected Methods

  NameDescription
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.)
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)

Public Constructors

  NameDescription
CanvasNewOverloaded.

Public Properties

  NameDescription
AutoSize
Gets or sets whether canvas expands or contracts to the size of the contents represented by Element objects

CenterElements
Gets or sets whether all elements onto canvas will be centered or not.

Fill
Gets canvas' fill.

Height
Gets or sets canvas' height.

Width
Gets or sets canvas' width.

Protected Properties

  NameDescription
ViewState