WPF

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ProgressBarBehavior - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ProgressBarBehavior

    Provides VisualStateManager behavior for ProgressBar controls.

    Inheritance
    System.Object
    VisualStateBehavior
    ControlBehavior
    ProgressBarBehavior
    Inherited Members
    ControlBehavior.UpdateStateHandler(Object, EventArgs)
    VisualStateBehavior.VisualStateBehaviorProperty
    VisualStateBehavior.GetVisualStateBehavior(DependencyObject)
    VisualStateBehavior.SetVisualStateBehavior(DependencyObject, VisualStateBehavior)
    VisualStateBehavior.RegisterBehavior(VisualStateBehavior)
    VisualStateBehavior.AddValueChanged(DependencyProperty, Type, Object, EventHandler)
    VisualStateBehavior.RemoveValueChanged(DependencyProperty, Type, Object, EventHandler)
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.Windows.Controls
    Assembly: Syncfusion.Shared.Wpf.dll
    Syntax
    public class ProgressBarBehavior : ControlBehavior

    Constructors

    ProgressBarBehavior()

    Declaration
    public ProgressBarBehavior()

    Properties

    TargetType

    This behavior targets ProgressBar derived Controls.

    Declaration
    protected override Type TargetType { get; }
    Property Value
    Type Description
    System.Type
    Overrides
    ControlBehavior.TargetType

    Methods

    OnAttach(Control)

    Attaches to property changes and events.

    Declaration
    protected override void OnAttach(Control control)
    Parameters
    Type Name Description
    System.Windows.Controls.Control control

    An instance of the control.

    Overrides
    ControlBehavior.OnAttach(Control)

    OnDetach(Control)

    Detaches property changes and events.

    Declaration
    protected override void OnDetach(Control control)
    Parameters
    Type Name Description
    System.Windows.Controls.Control control

    The control

    Overrides
    ControlBehavior.OnDetach(Control)

    UpdateState(Control, Boolean)

    Called to update the control's visual state.

    Declaration
    protected override void UpdateState(Control control, bool useTransitions)
    Parameters
    Type Name Description
    System.Windows.Controls.Control control

    The instance of the control being updated.

    System.Boolean useTransitions

    Whether to use transitions or not.

    Overrides
    ControlBehavior.UpdateState(Control, Boolean)
    Back to top Generated by DocFX
    Copyright © 2001 - 2022 Syncfusion Inc. All Rights Reserved