Compartilhar via


WpfViewOptionDefinition<T>.IsApplicableToScope(IPropertyOwner) Method

Definition

Determines whether this definition is applicable only to text views.

public:
 override bool IsApplicableToScope(Microsoft::VisualStudio::Utilities::IPropertyOwner ^ scope);
public:
 override bool IsApplicableToScope(Microsoft::VisualStudio::Utilities::IPropertyOwner ^ scope);
 override bool IsApplicableToScope(Microsoft::VisualStudio::Utilities::IPropertyOwner const & scope);
public override bool IsApplicableToScope (Microsoft.VisualStudio.Utilities.IPropertyOwner scope);
override this.IsApplicableToScope : Microsoft.VisualStudio.Utilities.IPropertyOwner -> bool
Public Overrides Function IsApplicableToScope (scope As IPropertyOwner) As Boolean

Parameters

scope
IPropertyOwner

The scope

Returns

true if scope is an IWpfTextView, otherwise false.

Applies to