New to Telerik UI for WPFStart a free 30-day trial

IScopeFlag

Interface

Represents the scope flag for the Telerik Windows Controls.

Definition

Namespace:Telerik.Windows.Controls.Scopes

Assembly:Telerik.Windows.Controls.Navigation.dll

Syntax:

C#
public interface IScopeFlag

Derived Classes: NestedScopeFlagScopeFlagSingleScopeFlag

Properties

Gets a value indicating whether the scope is currently active.

C#
bool IsActive { get; }
Property Value:

true if the scope is active; otherwise, false.

Methods

Begins a new scope for the current operation. This method is typically used to encapsulate a set of operations, allowing for better resource management and control over the scope's context.

C#
IDisposable BeginScope()
Returns:

IDisposable

A IScopeFlag that represents the new scope which can be used to manage the scope's lifecycle.

Cancels the current scope operation.

C#
void Cancel()

Ends the current scope flag and finalizes any associated operations.

C#
void End()

Opens the scope for the current instance.

C#
void OpenScope()