Share via


CompletionFilter Class

Definition

Identifies a filter that toggles exclusive display of CompletionItems that reference it.

public ref class CompletionFilter sealed
public ref class CompletionFilter : System::ComponentModel::INotifyPropertyChanged
[System.Diagnostics.DebuggerDisplay("{DisplayText}")]
public sealed class CompletionFilter
[System.Diagnostics.DebuggerDisplay("{DisplayText}")]
public class CompletionFilter : System.ComponentModel.INotifyPropertyChanged
[<System.Diagnostics.DebuggerDisplay("{DisplayText}")>]
type CompletionFilter = class
[<System.Diagnostics.DebuggerDisplay("{DisplayText}")>]
type CompletionFilter = class
    interface INotifyPropertyChanged
Public NotInheritable Class CompletionFilter
Public Class CompletionFilter
Implements INotifyPropertyChanged
Inheritance
CompletionFilter
Derived
Attributes
Implements

Examples

static CompletionFilter MyFilter = new CompletionFilter("My items", "m", MyItemsImageElement);

Remarks

These instances should be singletons. All CompletionItems that should be filtered using the same filter button must use the same reference to the instance of CompletionFilter.

Constructors

CompletionFilter(String, String, ImageElement)

Constructs an instance of CompletionFilter.

Properties

AccessKey

Key used in a keyboard shortcut that toggles this filter.

DisplayText

Localized name of this filter.

Image

ImageElement that represents this filter.

Events

PropertyChanged

Applies to