Click or drag to resize
FrameworkElement Properties

The FrameworkElement type exposes the following members.

Properties
  NameDescription
Public propertyActualHeight
Gets the rendered height of a FrameworkElement. The FrameworkElement must be in the visual tree, otherwise this property will return double.NaN.
Public propertyActualWidth
Gets the rendered width of a FrameworkElement. The FrameworkElement must be in the visual tree, otherwise this property will return double.NaN.
Public propertyCursor
Gets or sets the cursor that displays when the mouse pointer is over this element.
Public propertyDataContext
Gets or sets the data context for a FrameworkElement when it participates in data binding.
Public propertyDispatcher
Gets the CoreDispatcher that this object is associated with.
(Inherited from DependencyObject.)
Public propertyEffect (Inherited from UIElement.)
Public propertyHeight
Gets or sets the suggested height of a FrameworkElement.
Public propertyHorizontalAlignment
Gets or sets the horizontal alignment characteristics that are applied to a FrameworkElement when it is composed in a layout parent, such as a panel or items control.
Public propertyIsEnabled
Gets or sets a value indicating whether the user can interact with the control.
Public propertyIsHitTestVisible
Gets or sets whether the contained area of this UIElement can return true values for hit testing.
Public propertyIsLoaded
Gets a value that indicates whether this element is in the Visual Tree, that is, if it has been loaded for presentation.
Public propertyMargin
Gets or sets the outer margin of a FrameworkElement.
Public propertyName
Gets or sets the identifying name of the object. When a XAML processor creates the object tree from XAML markup, run-time code can refer to the XAML-declared object by this name.
Public propertyOpacity
Gets or sets the degree of the object's opacity. A value between 0 and 1.0 that declares the opacity factor, with 1.0 meaning full opacity and 0 meaning transparent. The default value is 1.0.
(Inherited from UIElement.)
Public propertyRenderTransform
Gets or sets transform information that affects the rendering position of a UIElement.
(Inherited from UIElement.)
Public propertyRenderTransformOrigin (Inherited from UIElement.)
Public propertyResources
Gets the locally defined resource dictionary. In XAML, you can establish resource items as child object elements of a frameworkElement.Resources property element, through XAML implicit collection syntax.
Public propertyStyle
Gets or sets an instance Style that is applied for this object during rendering.
Public propertyTag
Gets or sets an arbitrary object value that can be used to store custom information about this object.
Public propertyUseLayoutRounding
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.)
Public propertyVerticalAlignment
Gets or sets the vertical alignment characteristics that are applied to a FrameworkElement when it is composed in a parent object such as a panel or items control.
Public propertyVisibility
Gets or sets the visibility of a UIElement. A UIElement that is not visible is not rendered and does not communicate its desired size to layout.
(Inherited from UIElement.)
Public propertyWidth
Gets or sets the width of a FrameworkElement.
Top
See Also