Represents the surface on which Element objects are drawn.
The following tables list the members exposed by the Canvas type.
Public Methods
| Name | Description | |
|---|---|---|
| Equals | (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.) | |
| ToString | Overloaded. |
Protected Methods
| Name | Description | |
|---|---|---|
| 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
| Name | Description | |
|---|---|---|
| CanvasNew | Overloaded. |
Public Properties
| Name | Description | |
|---|---|---|
| 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
| Name | Description | |
|---|---|---|
| ViewState |