Interface
IScopeFlag

Represents the scope flag for the Telerik Windows Controls.

Definition

Namespace:Telerik.Windows.Controls.Scopes

Assembly:Telerik.Windows.Controls.Navigation.dll

Syntax:

cs-api-definition
[SuppressMessage("Microsoft.Naming", "CA1726:UsePreferredTerms", MessageId = "Flag")]
public interface IScopeFlag

Properties

IsActive

Gets a value indicating whether the scope is currently active.

Declaration

cs-api-definition
bool IsActive { get; }

Property Value

bool

true if the scope is active; otherwise, false.

Methods

BeginScope()

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.

Declaration

cs-api-definition
IDisposable BeginScope()

Returns

IDisposable

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

Cancel()

Cancels the current scope operation.

Declaration

cs-api-definition
void Cancel()

End()

Ends the current scope flag and finalizes any associated operations.

Declaration

cs-api-definition
void End()

OpenScope()

Opens the scope for the current instance.

Declaration

cs-api-definition
void OpenScope()