Upgrade your Internet Experience
United States - English
Argentina (Español)
Australia (English)
Brasil (Português)
Canada (English)
Canada (Français)
中国 (简体中文)
Colombia (Español)
Deutschland (Deutsch)
España (Español)
France (Français)
India (English)
Italia (Italiano)
日本 (日本語)
México (Español)
Perú (Español)
Россия (Pусский)
United Kingdom (English)
United States (English)
More...
Microsoft.com
Welcome
Sign in
Silverlight Developer Center
Home
Library
Classic
  |  
Lightweight Beta
  |  
ScriptFree
Printer Friendly Version
Send
Add Content...
Click to Rate and Give Feedback
Give feedback on this content
MSDN Library
MSDN
Please Wait
MSDN Library
Please Wait
Web Development
Please Wait
Silverlight
Please Wait
Silverlight 3
Please Wait
.NET Framework Class Library for Si...
Please Wait
System.Windows.Controls Namespace
Please Wait
Canvas Class
Please Wait
Canvas Properties
Collapse All
Expand All
Members Filter
Include Protected Members
Include Inherited Members
This page is specific to
Microsoft Silverlight 3
Other versions are also available for the following:
.NET Framework 3.0
Microsoft Visual Studio 2008/.NET Framework 3.5
Microsoft Visual Studio 2010/.NET Framework 4
.NET Framework Class Library for Silverlight
Canvas Properties
The
Canvas
type exposes the following members.
Properties
Name
Description
ActualHeight
Gets the rendered height of a
FrameworkElement
.
(Inherited from
FrameworkElement
.)
ActualWidth
Gets the rendered width of a
FrameworkElement
.
(Inherited from
FrameworkElement
.)
Background
Gets or sets a
Brush
that is used to fill the panel.
(Inherited from
Panel
.)
CacheMode
Gets or sets a value that indicates that rendered content should be cached when possible.
(Inherited from
UIElement
.)
Children
Gets the collection of child elements of the panel.
(Inherited from
Panel
.)
Clip
Gets or sets the
Geometry
used to define the outline of the contents of a
UIElement
.
(Inherited from
UIElement
.)
Cursor
Gets or sets the cursor that displays while the mouse pointer is over a
FrameworkElement
.
(Inherited from
FrameworkElement
.)
DataContext
Gets or sets the data context for a
FrameworkElement
when it participates in data binding.
(Inherited from
FrameworkElement
.)
DesiredSize
Gets the size that this
UIElement
computed during the measure pass of the layout process.
(Inherited from
UIElement
.)
Dispatcher
Gets the
Dispatcher
this object is associated with.
(Inherited from
DependencyObject
.)
Effect
Gets or sets the pixel shader effect to use for rendering this
UIElement
.
(Inherited from
UIElement
.)
Height
Gets or sets the suggested height of a
FrameworkElement
.
(Inherited from
FrameworkElement
.)
HorizontalAlignment
Gets or sets the horizontal alignment characteristics applied to a
FrameworkElement
when it is composed within a layout parent, such as a panel or items control.
(Inherited from
FrameworkElement
.)
IsHitTestVisible
Gets or sets whether the contained area of this
UIElement
can return
true
values for hit testing.
(Inherited from
UIElement
.)
IsItemsHost
Gets or sets a value that indicates whether this
Panel
is a container for UI items that are generated by an
ItemsControl
.
(Inherited from
Panel
.)
Language
Gets or sets localization/globalization language information that applies to a
FrameworkElement
.
(Inherited from
FrameworkElement
.)
Margin
Gets or sets the outer margin of a
FrameworkElement
.
(Inherited from
FrameworkElement
.)
MaxHeight
Gets or sets the maximum height constraint of a
FrameworkElement
.
(Inherited from
FrameworkElement
.)
MaxWidth
Gets or sets the maximum width constraint of a
FrameworkElement
.
(Inherited from
FrameworkElement
.)
MinHeight
Gets or sets the minimum height constraint of a
FrameworkElement
.
(Inherited from
FrameworkElement
.)
MinWidth
Gets or sets the minimum width constraint of a
FrameworkElement
.
(Inherited from
FrameworkElement
.)
Name
Gets (or sets, but see Remarks) the identifying name of the object. The name provides a reference that is initially markup-compiled. After a XAML processor creates the object tree from markup, run-time code can refer to a markup element by this name.
(Inherited from
FrameworkElement
.)
Opacity
Gets or sets the degree of the object's opacity.
(Inherited from
UIElement
.)
OpacityMask
Gets or sets the brush used to alter the opacity of regions of this object.
(Inherited from
UIElement
.)
Parent
Gets the parent object of this
FrameworkElement
in the object tree.
(Inherited from
FrameworkElement
.)
Projection
Gets or sets the perspective projection (3-D effect) to apply when rendering this
UIElement
.
(Inherited from
UIElement
.)
RenderSize
Gets the final render size of a
UIElement
.
(Inherited from
UIElement
.)
RenderTransform
Gets or sets transform information that affects the rendering position of a
UIElement
.
(Inherited from
UIElement
.)
RenderTransformOrigin
Gets or sets the origin point of any possible render transform declared by
RenderTransform
, relative to the bounds of the
UIElement
.
(Inherited from
UIElement
.)
Resources
Gets the locally defined resource dictionary. In XAML, you can establish resource items as child object elements of the
<
frameworkElement
.Resources>
property element, through XAML implicit collection syntax.
(Inherited from
FrameworkElement
.)
Style
Gets or sets an instance
Style
that is applied for this object during rendering.
(Inherited from
FrameworkElement
.)
Tag
Gets or sets an arbitrary object value that can be used to store custom information about this object.
(Inherited from
FrameworkElement
.)
Triggers
Gets the collection of triggers for animations that are defined for a
FrameworkElement
.
(Inherited from
FrameworkElement
.)
UseLayoutRounding
Gets or sets a value that determines whether rendering for the object and its visual subtree should use rounding behavior that aligns rendering to whole pixels.
(Inherited from
UIElement
.)
VerticalAlignment
Gets or sets the vertical alignment characteristics applied to a
FrameworkElement
when it is composed within a parent object such as a panel or items control.
(Inherited from
FrameworkElement
.)
Visibility
Gets or sets the visibility of a
UIElement
. A
UIElement
that is not visible does not render and does not communicate its desired size to layout.
(Inherited from
UIElement
.)
Width
Gets or sets the width of a
FrameworkElement
.
(Inherited from
FrameworkElement
.)
Top
See Also
Reference
Canvas Class
System.Windows.Controls Namespace
Tags
:
Add a tag
Add
Cancel
Flag as
ContentBug
Community Content
Add new content
Annotations
|
Edit
Tags
:
Add a tag
Add
Cancel
Flag as
ContentBug
© 2010 Microsoft Corporation. All rights reserved.
Terms of Use
|
Trademarks
|
Privacy Statement