Class ScopeFlag
Provides the basic functionality for scope flags.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Controls.ScheduleView
Assembly: Telerik.Windows.Controls.ScheduleView.dll
Syntax
public abstract class ScopeFlag : IScopeFlag
Constructors
ScopeFlag()
Declaration
protected ScopeFlag()
Properties
CloseScopeCallback
Gets or sets the callback which will be executed on scope close.
Declaration
public Action CloseScopeCallback { get; set; }
Property Value
System.Action
|
IsActive
Gets whether the scope is active.
Declaration
public abstract bool IsActive { get; }
Property Value
System.Boolean
|
Implements
ThrowOnError
Gets or sets whether to throw System.InvalidOperationException on error or not.
Declaration
public bool ThrowOnError { get; set; }
Property Value
System.Boolean
|
Methods
BeginScope()
Creates new scope.
Declaration
public IDisposable BeginScope()
Returns
System.IDisposable
|
Implements
Cancel()
CloseScope()
When overridden is executed when the scope is removed and before firing the event.
Declaration
protected abstract void CloseScope()
End()
OnScopeClosed(EventArgs)
Executed when the scope is closed. Fires the ScopeClosed and execute the CloseScopeCallback action.
Declaration
protected virtual void OnScopeClosed(EventArgs eventArgs)
Parameters
System.EventArgs
eventArgs
|
OpenScope()
Events
ScopeClosed
Occurs when the scope is closed.
Declaration
public event EventHandler ScopeClosed
Event Type
System.EventHandler
|