Class
ProgressBarBehavior

Provides VisualStateManager behavior for ProgressBar controls.

Definition

Constructors

ProgressBarBehavior()

Declaration

cs-api-definition
public ProgressBarBehavior()

Properties

TargetType

This behavior targets ProgressBar derived Controls.

Declaration

cs-api-definition
protected override Type TargetType { get; }

Property Value

Type

Overrides ControlBehavior.TargetType

Methods

OnAttach(Control)

Attaches to property changes and events.

Declaration

cs-api-definition
protected override void OnAttach(Control control)

Parameters

control

Control

An instance of the control.

Overrides ControlBehavior.OnAttach(Control)

OnDetach(Control)

Detaches property changes and events.

Declaration

cs-api-definition
protected override void OnDetach(Control control)

Parameters

control

Control

The control

Overrides ControlBehavior.OnDetach(Control)

UpdateState(Control, bool)

Called to update the control's visual state.

Declaration

cs-api-definition
protected override void UpdateState(Control control, bool useTransitions)

Parameters

control

Control

The instance of the control being updated.

useTransitions

bool

Whether to use transitions or not.

Overrides ControlBehavior.UpdateState(Control, bool)