FrameworkElementExtensions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides attached dependency properties for the Windows.UI.Xaml.FrameworkElement
public static class FrameworkElementExtensions
type FrameworkElementExtensions = class
Public Class FrameworkElementExtensions
- Inheritance
-
FrameworkElementExtensions
Fields
ActualHeightProperty |
Attached Windows.UI.Xaml.DependencyProperty for binding a Double for the Windows.UI.Xaml.FrameworkElement.ActualHeight |
ActualWidthProperty |
Attached Windows.UI.Xaml.DependencyProperty for binding a Double for the Windows.UI.Xaml.FrameworkElement.ActualWidth |
AncestorProperty |
Attached Windows.UI.Xaml.DependencyProperty for retrieving a parent Object for the AncestorProperty |
AncestorTypeProperty |
Attached Windows.UI.Xaml.DependencyProperty for retrieving a parent Object for the AncestorProperty based on the provided Type in the AncestorTypeProperty. |
EnableActualSizeBindingProperty |
Attached Windows.UI.Xaml.DependencyProperty for enabling actual size binding on any Windows.UI.Xaml.FrameworkElement. |
Attached Properties
ActualHeight | |
ActualWidth | |
Ancestor | |
AncestorType | |
EnableActualSizeBinding |
Methods
GetActualHeight(FrameworkElement) |
Gets the Double for the Windows.UI.Xaml.FrameworkElement.ActualHeight |
GetActualWidth(FrameworkElement) |
Gets the Double for the Windows.UI.Xaml.FrameworkElement.ActualWidth |
GetAncestor(DependencyObject) |
Retrieves the parent object of this framework element found of the given AncestorTypeProperty. |
GetAncestorType(DependencyObject) |
Gets the Type of Ancestor to look for from this element. |
GetEnableActualSizeBinding(FrameworkElement) |
Gets the Boolean that enables/disables actual size binding update. |
SetActualHeight(FrameworkElement, Double) |
Sets the Double for the Windows.UI.Xaml.FrameworkElement.ActualHeight |
SetActualWidth(FrameworkElement, Double) |
Sets the Double for the Windows.UI.Xaml.FrameworkElement.ActualWidth |
SetAncestor(DependencyObject, Object) |
Sets the parent object of the framework element (internal). |
SetAncestorType(DependencyObject, Type) |
Sets the Type to look for from this element and place in the AncestorProperty. |
SetEnableActualSizeBinding(FrameworkElement, Boolean) |
Sets the Boolean that enables/disables actual size binding update. |