OpacityAnimationProxy Class
Represents an animation proxy for the UIElement
.Opacity
property.
public sealed class OpacityAnimationProxy : DependencyObject
- Inheritance:
- object object
Constructors
OpacityAnimationProxy()
Initializes an instance of the class.
public OpacityAnimationProxy()
Methods
GetOpacity(UIElement)
Gets the value of the OpacityProperty
attached property for the specified object.
public static double GetOpacity(UIElement element)
Parameter | Type | Description |
---|---|---|
element | UIElement | The element from which the property value is read. |
Returns
- double:
The object's value.
SetOpacity(UIElement, double)
Sets the value of the OpacityProperty
attached property to the specified object.
public static void SetOpacity(UIElement element, double value)
Parameter | Type | Description |
---|---|---|
element | UIElement | The element to which the attached property is written. |
value | double | The value to set. |
Fields
OpacityProperty
Identifies the Opacity
dependency property. This field is read-only.
public static readonly DependencyProperty OpacityProperty