Class BusyDecorator
Class which is used to host the ProgressRing in visual using Thread.
Inheritance
System.Object
BusyDecorator
Implements
System.IDisposable
Namespace: Syncfusion.UI.Xaml.Spreadsheet
Assembly: Syncfusion.SfSpreadsheet.WPF.dll
Syntax
public class BusyDecorator : Decorator, IDisposable
Constructors
BusyDecorator()
Initialize new Instance for BusyDecorator Class
Declaration
public BusyDecorator()
Fields
IsBusyProperty
Identifies the IsBusyProperty dependency property
Declaration
public static readonly DependencyProperty IsBusyProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
Properties
IsBusy
Gets or sets a value indicates whether the ProgressRing should be displayed or not
Declaration
public bool IsBusy { get; set; }
Property Value
Type |
---|
System.Boolean |
VisualChildrenCount
Gets the count of Visual Children
Declaration
protected override int VisualChildrenCount { get; }
Property Value
Type |
---|
System.Int32 |
Methods
Dispose()
Used to dispose the instances maintained to avoid memory leaks
Declaration
public void Dispose()
Dispose(Boolean)
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing |
GetVisualChild(Int32)
Gets the Visual Child
Declaration
protected override Visual GetVisualChild(int index)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index |
Returns
Type | Description |
---|---|
System.Windows.Media.Visual | visual child which need to be displayed |
MeasureOverride(Size)
Measures the size of Busy Indicator
Declaration
protected override Size MeasureOverride(Size constraint)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Size | constraint |
Returns
Type |
---|
System.Windows.Size |
Implements
System.IDisposable