ScopeFlag
Class
Provides the basic functionality for scope flags.
Definition
Namespace:Telerik.Windows.Controls.ScheduleView
Assembly:Telerik.Windows.Controls.ScheduleView.dll
Syntax:
C#
public abstract class ScopeFlag : IScopeFlag
Inheritance: objectScopeFlag
Derived Classes:
Implements:
Constructors
C#
protected ScopeFlag()
Properties
Gets or sets the callback which will be executed on scope close.
C#
public Action CloseScopeCallback { get; set; }
Gets or sets whether to throw InvalidOperationException on error or not.
C#
public bool ThrowOnError { get; set; }
Methods
Creates new scope.
Cancels the scope.
C#
public abstract void Cancel()
Implements:
When overridden is executed when the scope is removed and before firing the event.
C#
protected abstract void CloseScope()
Removes the scope.
C#
public void End()
Implements:
Executed when the scope is closed. Fires the ScopeClosed and execute the CloseScopeCallback action.
Opens the scope.
C#
public abstract void OpenScope()
Implements:
Events
Occurs when the scope is closed.
C#
public event EventHandler ScopeClosed
Implements: