Class
SingleScopeFlag

Represents a single flag for the scope within Telerik's controls framework.

Definition

Namespace:Telerik.Windows.Controls.Scopes

Assembly:Telerik.Windows.Controls.Navigation.dll

Syntax:

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

Inheritance: objectScopeFlagSingleScopeFlag

Implements: IScopeFlag

Inherited Members ScopeFlag.BeginScope()ScopeFlag.Cancel()ScopeFlag.End()ScopeFlag.OnScopeClosed()ScopeFlag.OnScopeCanceled()ScopeFlag.ThrowOnErrorScopeFlag.CloseScopeCallbackScopeFlag.CancelScopeCallback

Constructors

SingleScopeFlag()

Declaration

cs-api-definition
public SingleScopeFlag()

Properties

IsActive

Gets a value indicating whether the single scope flag is currently active.

Declaration

cs-api-definition
public override bool IsActive { get; }

Property Value

bool

True if the single scope flag is active; otherwise, false.

Overrides ScopeFlag.IsActive

Methods

CloseScope()

Closes the current scope, marking it as inactive and allowing for cleanup or finalization of operations.

Declaration

cs-api-definition
protected override void CloseScope()

Overrides ScopeFlag.CloseScope()

OpenScope()

Opens a new scope within the context of the SingleScopeFlag, allowing for the execution of actions or operations that should be isolated from other scopes.

Declaration

cs-api-definition
public override void OpenScope()

Overrides ScopeFlag.OpenScope()