Class EffectThicknessDecorator
public class EffectThicknessDecorator : Decorator, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild
- Inheritance
-
EffectThicknessDecorator
- Implements
- Inherited Members
Constructors
EffectThicknessDecorator()
public EffectThicknessDecorator()
Fields
AnimationDelayProperty
public static readonly DependencyProperty AnimationDelayProperty
Field Value
AnimationElementProperty
public static readonly DependencyProperty AnimationElementProperty
Field Value
ThicknessProperty
public static readonly DependencyProperty ThicknessProperty
Field Value
Properties
AnimationDelay
public TimeSpan AnimationDelay { get; set; }
Property Value
AnimationElement
public UIElement? AnimationElement { get; set; }
Property Value
Thickness
Gets or sets the thickness of the effect around the containing element.
public Thickness Thickness { get; set; }
Property Value
VisualChildrenCount
Gets a value that is equal to the number of visual child elements of this instance of Decorator.
protected override int VisualChildrenCount { get; }
Property Value
- int
The number of visual child elements.
Methods
GetVisualChild(int)
Gets the child Visual element at the specified index position.
protected override Visual GetVisualChild(int index)
Parameters
indexintIndex position of the child element.
Returns
- Visual
The child element at the specified
indexposition.
Exceptions
- ArgumentOutOfRangeException
indexis greater than the number of visual child elements.
OnInitialized(EventArgs)
Raises the Initialized event. This method is invoked whenever IsInitialized is set to true internally.
protected override void OnInitialized(EventArgs e)
Parameters
eEventArgsThe RoutedEventArgs that contains the event data.
OnVisualParentChanged(DependencyObject)
Invoked when the parent of this element in the visual tree is changed. Overrides OnVisualParentChanged(DependencyObject).
protected override void OnVisualParentChanged(DependencyObject oldParent)
Parameters
oldParentDependencyObjectThe old parent element. May be null to indicate that the element did not have a visual parent previously.