New to Telerik UI for WPFStart a free 30-day trial

Class CompletionInfo. Implements the INotifyPropertyChanged

Definition

Namespace:Telerik.Windows.Controls.SyntaxEditor.UI.IntelliPrompt.Completion

Assembly:Telerik.Windows.Controls.SyntaxEditor.dll

Syntax:

C#
public class CompletionInfo : INotifyPropertyChanged

Inheritance: objectCompletionInfo

Implements: INotifyPropertyChanged

Constructors

Initializes a new instance of the CompletionInfo class.

C#
public CompletionInfo(string text, ImageSource icon)
Parameters:textstring

The text.

iconImageSource

The icon.

Initializes a new instance of the CompletionInfo class.

C#
public CompletionInfo(string text, string description, ImageSource icon)
Parameters:textstring

The text.

descriptionstring

The description.

iconImageSource

The icon.

Initializes a new instance of the CompletionInfo class.

C#
public CompletionInfo(string text, string description, string insertionText, ImageSource icon)
Parameters:textstring

The text.

descriptionstring

The description.

insertionTextstring

The insertion text.

iconImageSource

The icon.

Initializes a new instance of the CompletionInfo class.

C#
public CompletionInfo(string text, string description)
Parameters:textstring

The text.

descriptionstring

The description.

Initializes a new instance of the CompletionInfo class.

C#
public CompletionInfo(string text)
Parameters:textstring

The text.

Properties

Gets or sets the description.

C#
public string Description { get; set; }
Property Value:

The description.

Icon

ImageSource

Gets the icon.

C#
public ImageSource Icon { get; }
Property Value:

The icon.

Gets the insertion text.

C#
public string InsertionText { get; }
Property Value:

The insertion text.

Gets or sets a value indicating whether this instance is closest match.

C#
public bool IsClosestMatch { get; set; }
Property Value:

true if this instance is closest match; otherwise, false.

Gets the text.

C#
public string Text { get; }
Property Value:

The text.

Events

Occurs when a property value changes.

C#
public event PropertyChangedEventHandler PropertyChanged

Implements: INotifyPropertyChanged.PropertyChanged