Table of Contents

Class EffectThicknessDecorator

Namespace
Wpf.Ui.Controls
Assembly
Wpf.Ui.dll
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

DependencyProperty

AnimationElementProperty

public static readonly DependencyProperty AnimationElementProperty

Field Value

DependencyProperty

ThicknessProperty

public static readonly DependencyProperty ThicknessProperty

Field Value

DependencyProperty

Properties

AnimationDelay

public TimeSpan AnimationDelay { get; set; }

Property Value

TimeSpan

AnimationElement

public UIElement? AnimationElement { get; set; }

Property Value

UIElement

Thickness

Gets or sets the thickness of the effect around the containing element.

public Thickness Thickness { get; set; }

Property Value

Thickness

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

index int

Index position of the child element.

Returns

Visual

The child element at the specified index position.

Exceptions

ArgumentOutOfRangeException

index is 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

e EventArgs

The 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

oldParent DependencyObject

The old parent element. May be null to indicate that the element did not have a visual parent previously.