VisualExtensions 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.
Extension methods and attached properties for Windows.UI.Composition.Visual objects
public static class VisualExtensions
type VisualExtensions = class
Public Module VisualExtensions
- Inheritance
-
VisualExtensions
Fields
AnchorPointProperty |
Identifies the AnchorPointProperty attached property. |
CenterPointProperty |
Identifies the CenterPoint attached property. |
NormalizedCenterPointProperty |
Identifies the NormalizedCenterPoint attached property. |
OffsetProperty |
Identifies the Offset attached property. |
OpacityProperty |
Identifies the Opacity attached property. |
RotationAngleInDegreesProperty |
Identifies the RotationAngleInDegrees attached property. |
RotationAngleProperty |
Identifies the RotationAngle attached property. |
RotationAxisProperty |
Identifies the RotationAxis attached property. |
ScaleProperty |
Identifies the Scale attached property. |
SizeProperty |
Identifies the Size attached property. |
Attached Properties
AnchorPoint | |
CenterPoint | |
NormalizedCenterPoint | |
Offset | |
Opacity | |
RotationAngle | |
RotationAngleInDegrees | |
RotationAxis | |
Scale | |
Size |
Methods
GetAnchorPoint(DependencyObject) |
Gets the Windows.UI.Composition.Visual.AnchorPoint of a UIElement in a string form |
GetCenterPoint(DependencyObject) |
Gets the Windows.UI.Composition.Visual.CenterPoint of a UIElement in a string form |
GetNormalizedCenterPoint(DependencyObject) |
Gets the Windows.UI.Composition.Visual.CenterPoint of the Windows.UI.Xaml.UIElement normalized between 0.0 and 1.0 is centered even when the visual is resized |
GetOffset(DependencyObject) |
Gets the Windows.UI.Composition.Visual.Offset of a UIElement in a string form |
GetOpacity(DependencyObject) |
Gets the Windows.UI.Composition.Visual.Opacity of a UIElement |
GetRotationAngle(DependencyObject) |
Gets the Windows.UI.Composition.Visual.RotationAngle of a UIElement in radians |
GetRotationAngleInDegrees(DependencyObject) |
Gets the Windows.UI.Composition.Visual.RotationAngleInDegrees of a UIElement in degrees |
GetRotationAxis(DependencyObject) |
Gets the Windows.UI.Composition.Visual.RotationAxis of a UIElement in a string form |
GetScale(DependencyObject) |
Gets the Windows.UI.Composition.Visual.Scale of a UIElement in a string form |
GetSize(DependencyObject) |
Gets the Windows.UI.Composition.Visual.Size of a UIElement in a string form |
GetVisual(UIElement) |
Retrieves the Windows.UI.Composition.Visual object of a Windows.UI.Xaml.UIElement |
SetAnchorPoint(DependencyObject, String) |
Sets the Windows.UI.Composition.Visual.AnchorPoint of a UIElement in a string form |
SetCenterPoint(DependencyObject, String) |
Sets the Windows.UI.Composition.Visual.CenterPoint of a UIElement in a string form |
SetNormalizedCenterPoint(DependencyObject, String) |
Sets the normalized Windows.UI.Composition.Visual.CenterPoint of the Windows.UI.Xaml.UIElement is centered even when the visual is resized |
SetOffset(DependencyObject, String) |
Sets the Windows.UI.Composition.Visual.Offset of a UIElement in a string form |
SetOpacity(DependencyObject, Double) |
Sets the Windows.UI.Composition.Visual.Opacity of a UIElement |
SetRotationAngle(DependencyObject, Double) |
Sets the Windows.UI.Composition.Visual.RotationAngle of a UIElement in radians |
SetRotationAngleInDegrees(DependencyObject, Double) |
Sets the Windows.UI.Composition.Visual.RotationAngleInDegrees of a UIElement in radians |
SetRotationAxis(DependencyObject, String) |
Sets the Windows.UI.Composition.Visual.RotationAxis of a UIElement in a string form |
SetScale(DependencyObject, String) |
Sets the Windows.UI.Composition.Visual.Scale of a UIElement in a string form |
SetSize(DependencyObject, String) |
Sets the Windows.UI.Composition.Visual.Size of a UIElement in a string form |
ToVector2(String) | |
ToVector3(String) | |
ToVector4(String) |