WpfViewOptionDefinition<T>.IsApplicableToScope(IPropertyOwner) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.