Canvas Members

The Canvas type exposes the following members.

Constructors

Name Description
Public method Canvas

Creates and initializes an instance of the Canvas class.

Methods

Name Description
Protected method AddedControl (Inherited from Control.)
Protected method AddParsedSubObject (Inherited from Control.)
Public method ApplyStyleSheetSkin (Inherited from Control.)
Protected method BeginRenderTracing (Inherited from Control.)
Protected method BuildProfileTree (Inherited from Control.)
Public method Clear

Clears all the LayerCollection instances associated with this canvas.

Protected method ClearCachedClientID (Inherited from Control.)
Protected method ClearChildControlState (Inherited from Control.)
Protected method ClearChildState (Inherited from Control.)
Protected method ClearChildViewState (Inherited from Control.)
Protected method ClearEffectiveClientIDMode (Inherited from Control.)
Protected method CreateChildControls (Inherited from Control.)
Protected method CreateControlCollection (Inherited from HtmlControl.)
Public method DataBind Overloaded.
Protected method DataBindChildren (Inherited from Control.)
Public method Deserialize
Public method Dispose (Overrides Control.Dispose()().)
Protected method EndRenderTracing (Inherited from Control.)
Protected method EnsureChildControls (Inherited from Control.)
Protected method EnsureID (Inherited from Control.)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method FindControl Overloaded.
Public method Focus (Inherited from Control.)
Protected method GetAttribute (Inherited from HtmlControl.)
Public method GetCallbackResult
Public method GetColorManagement
Public method GetColors
Protected method GetDesignModeState (Inherited from Control.)
Public method GetHashCode (Inherited from Object.)
Public method GetRouteUrl Overloaded.
Protected method GetScriptDescriptors

Returns a list of components, behaviors, and client controls that are required for the client-side functionality of the Canvas.

Protected method GetScriptReferences

Returns script files for the Canvas.

Public method GetType (Inherited from Object.)
Public method GetUniqueIDRelativeTo (Inherited from Control.)
Public method HasControls (Inherited from Control.)
Protected method HasEvents (Inherited from Control.)
Protected method IsLiteralContent (Inherited from Control.)
Protected method LoadControlState (Inherited from Control.)
Public method LoadPostData

Processes post back data for the Canvas. No need to use this method explicitly.

Protected method LoadViewState (Inherited from Control.)
Protected method MapPathSecure (Inherited from Control.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method OnBubbleEvent (Inherited from Control.)
Protected method OnCurrentLayerChanged
Public method OnCurrentVObjectChanged
Protected method OnDataBinding (Inherited from Control.)
Protected method OnLoad (Inherited from Control.)
Protected method OnUnload (Inherited from Control.)
Public method OnZoomChanged

Raises the ZoomChanged event.

Protected method OpenFile (Inherited from Control.)
Protected method RaiseBubbleEvent (Inherited from Control.)
Public method RaiseCallbackEvent
Public method RaisePostDataChangedEvent

Signals the server control object to notify the ASP.NET application that the state of the control has changed. No need to use this method explicitly.

Protected method RemovedControl (Inherited from Control.)
Protected method RenderAttributes (Inherited from HtmlControl.)
Protected method RenderBeginTag (Inherited from HtmlControl.)
Protected method RenderChildren (Inherited from Control.)
Public method RenderControl Overloaded.
Public method RenderWorkspace Overloaded.
Public method RenderWorkspaceToPdf
Protected method ResolveAdapter (Inherited from Control.)
Public method ResolveClientUrl (Inherited from Control.)
Public method ResolveUrl (Inherited from Control.)
Protected method SaveControlState (Inherited from Control.)
Protected method SaveViewState (Inherited from Control.)
Public method Serialize
Protected method SetAttribute (Inherited from HtmlControl.)
Protected method SetDesignModeState (Inherited from Control.)
Public method SetRenderMethodDelegate (Inherited from Control.)
Public method SetTraceData Overloaded.
Public method SetZoom
Public method ToString (Inherited from Object.)
Protected method TrackViewState (Inherited from Control.)

Fields

Name Description
Public field ExcludeScripts

Properties

Name Description
Protected property Adapter (Inherited from Control.)
Public property AppRelativeTemplateSourceDirectory (Inherited from Control.)
Public property Attributes (Inherited from HtmlControl.)
Public property BindingContainer (Inherited from Control.)
Public property ButtonGroupCssClass
Public property CanvasClientSideOptions

Gets or sets value which configures callback for the CurrentVObjectChanged event.

Protected property ChildControlsCreated (Inherited from Control.)
Public property ClientID (Inherited from Control.)
Public property ClientIDMode (Inherited from Control.)
Protected property ClientIDSeparator (Inherited from Control.)
Public property CmykColorProfile

Gets or sets a CMYK color profile used to render the workspace.

Public property CmykColorProfileFileId
Public property ConstrainedMarginEnabled

Gets or sets the value indicating whether it is possible to move v-objects beyond the bounds of the canvas.

Protected property Context (Inherited from Control.)
Public property Controls (Inherited from Control.)
Public property CurrentLayer

Gets the currently selected layer.

Public property CurrentLayerIndex

Gets or sets an index of the currently selected layer.

Public property CurrentVObject

Gets the currently selected v-object.

Public property CurrentVObjectIndex

Gets or sets an index of the currently selected v-object.

Public property Data

Gets or sets serialized data of this Canvas.

Public property DataItemContainer (Inherited from Control.)
Public property DataKeysContainer (Inherited from Control.)
Protected property DesignMode (Inherited from Control.)
Public property Disabled (Inherited from HtmlControl.)
Public property DisableSmoothing
Public property DoneButtonCssClass
Public property DoneButtonTitle
Public property EditButtonCssClass
Public property EditButtonTitle
Public property EnableTheming (Inherited from Control.)
Public property EnableViewState (Inherited from Control.)
Protected property Events (Inherited from Control.)
Public property GrayscaleColorProfile

Gets or sets a grayscale color profile used to render the workspace.

Public property GrayscaleColorProfileFileId
Protected property HasChildViewState (Inherited from Control.)
Public property History

Gets a History object associated with this Canvas.

Public property ID (Inherited from Control.)
Protected property IdSeparator (Inherited from Control.)
Protected property IsChildControlStateCleared (Inherited from Control.)
Public property IsInitialized
Public property IsSquaredBackground

Gets or sets the value indicating if the background of the canvas is squared.

Protected property IsTrackingViewState (Inherited from Control.)
Protected property IsViewStateEnabled (Inherited from Control.)
Public property Layers

Gets a collection of layers associated with this canvas.

Public property LeftRightMargin
Public property LoadingImageUrl
Protected property LoadViewStateByID (Inherited from Control.)
Public property Margin

Gets or sets the outer margin of the canvas.

Public property MarginColor

Gets or sets a color of the outer margin of the canvas.

Public property MarginWidth

Gets or sets a width of the outer margin of the canvas.

Public property MaxJsonLength
Public property MouseMoveTimeout
Public property MultipleSelectionEnabled

Gets or sets a value indicating whether multiple object selection on Canvas is allowed.

Public property NamingContainer (Inherited from Control.)
Public property Page (Inherited from Control.)
Public property Parent (Inherited from Control.)
Public property PreviewColorManagementEnabled

Gets or sets the value indicating whether to use color management when displaying images.

Public property PreviewTargetColorSpace
Public property PrintColorManagementEnabled

Gets or sets the value indicating whether to use color management when rendering the workspace.

Public property RenderingCompatibility (Inherited from Control.)
Public property ResizeGripColor

Gets or set the resize grip color.

Public property ResizeGripLineColor
Public property ResizeGripSize

Gets or set the resize grip width.

Public property ReturnValue

Gets or sets the value returned by remote scripting method.

Public property RgbColorProfile

Gets or sets a RGB color profile used to render the workspace.

Public property RgbColorProfileFileId
Public property RotationGripColor

Gets or set the rotation grip color.

Public property RotationGripLineColor
Public property RotationGripLineLength
Public property RotationGripSize

Gets or set the rotation grip width.

Public property ScreenXDpi

Gets a horizontal resolution in DPI used to display the Canvas in a browser.

Public property ScreenYDpi

Gets a vertical resolution in DPI used to display the Canvas in a browser.

Public property SelectButtonCssClass
Public property SelectButtonTitle
Public property SelectionColor
Public property SelectionWidth
Public property Site (Inherited from Control.)
Public property SkinID (Inherited from Control.)
Public property Style (Inherited from HtmlControl.)
Public property TagName (Inherited from HtmlControl.)
Public property Tags

Gets or sets custom data.

Public property TargetDpi
Public property TemplateControl (Inherited from Control.)
Public property TemplateSourceDirectory (Inherited from Control.)
Public property TopBottomMargin
Public property UniqueID (Inherited from Control.)
Public property ValidateRequestMode (Inherited from Control.)
Protected property ViewState (Inherited from Control.)
Protected property ViewStateIgnoresCase (Inherited from HtmlControl.)
Public property ViewStateMode (Inherited from Control.)
Public property Visible (Inherited from Control.)
Public property WorkspaceHeight

Gets a value that represents the height (in pixels) of this Canvas.

Public property WorkspaceWidth

Gets a value that represents the width (in pixels) of this Canvas.

Public property Zoom

Gets or sets the current zoom value.

Events

Name Description
Public event CurrentLayerChanged

Fires when the currently selected layer is changed.

Public event CurrentVObjectChanged

Fires when the currently selected v-object is changed.

Public event DataBinding (Inherited from Control.)
Public event Disposed (Inherited from Control.)
Public event Init (Inherited from Control.)
Public event Load (Inherited from Control.)
Public event PreRender (Inherited from Control.)
Public event Unload (Inherited from Control.)
Public event ZoomChanged

Fires when zoom of the Canvas is changed.

Explicit Interface Implementations

Name Description
Explicit interface implemetation Private method IParserAccessor..AddParsedSubObject (Inherited from Control.)
Explicit interface implemetation Private property IControlBuilderAccessor..ControlBuilder (Inherited from Control.)
Explicit interface implemetation Private property IDataBindingsAccessor..DataBindings (Inherited from Control.)
Explicit interface implemetation Private property IExpressionsAccessor..Expressions (Inherited from Control.)
Explicit interface implemetation Private method IAttributeAccessor..GetAttribute (Inherited from HtmlControl.)
Explicit interface implemetation Private method ICallBackDataHandler..GetCallBackExecutionCode
Explicit interface implemetation Private method IControlDesignerAccessor..GetDesignModeState (Inherited from Control.)
Explicit interface implemetation Private method IScriptControl..GetScriptDescriptors
Explicit interface implemetation Private method IScriptControl..GetScriptReferences
Explicit interface implemetation Private property IDataBindingsAccessor..HasDataBindings (Inherited from Control.)
Explicit interface implemetation Private property IExpressionsAccessor..HasExpressions (Inherited from Control.)
Explicit interface implemetation Private method IAttributeAccessor..SetAttribute (Inherited from HtmlControl.)
Explicit interface implemetation Private method IControlDesignerAccessor..SetDesignModeState (Inherited from Control.)
Explicit interface implemetation Private method IControlDesignerAccessor..SetOwnerControl (Inherited from Control.)
Explicit interface implemetation Private property IControlDesignerAccessor..UserData (Inherited from Control.)

See Also

Reference