Class VistaSpecificProgressBar
This class gives vista-like progress-bar.
Inheritance
Namespace: Syncfusion.Windows.Tools.Controls
Assembly: Syncfusion.Tools.Wpf.dll
Syntax
public class VistaSpecificProgressBar : FrameworkElement
Constructors
VistaSpecificProgressBar()
Initializes a new instance of the VistaSpecificProgressBar class.
Declaration
public VistaSpecificProgressBar()
Properties
VisualChildrenCount
Gets the number of visual child elements within this element.
Declaration
protected override int VisualChildrenCount { get; }
Property Value
Type |
---|
System.Int32 |
Methods
ArrangeOverride(Size)
Positions child elements and determines size.
Declaration
protected override Size ArrangeOverride(Size finalSize)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Size | finalSize | The final area within the parent that this element should use to arrange itself and its children. |
Returns
Type | Description |
---|---|
System.Windows.Size | The actual size used. |
GetVisualChild(Int32)
Returns the specified Visual objects for which it is the parent.
Declaration
protected override Visual GetVisualChild(int index)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The index of the visual object. |
Returns
Type | Description |
---|---|
System.Windows.Media.Visual | The child which response to specified index. |
MeasureOverride(Size)
Measures the size in layout required for child elements and determines a size.
Declaration
protected override Size MeasureOverride(Size availableSize)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Size | availableSize | The available size that this element can give to child elements. Infinity can be specified as a value to indicate that the element will size to whatever content is available. |
Returns
Type | Description |
---|---|
System.Windows.Size | The size that this element determines it needs during layout, based on its calculations of child element sizes. |
OnPercentVisibilityChanged(DependencyPropertyChangedEventArgs)
Updates property value cache and raises PercentVisibilityChanged event.
Declaration
protected virtual void OnPercentVisibilityChanged(DependencyPropertyChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyPropertyChangedEventArgs | e | Property changes details, such as old value and new value. |
Events
PercentVisibilityChanged
Event that is raised when PercentVisibility property is changed.
Declaration
public event PropertyChangedCallback PercentVisibilityChanged
Event Type
Type |
---|
System.Windows.PropertyChangedCallback |