Class
CompletionListPresenter

Represents UI control for completion list.

Definition

Namespace:Telerik.Windows.Controls.SyntaxEditor.UI

Assembly:Telerik.Windows.Controls.SyntaxEditor.dll

Syntax:

cs-api-definition
public class CompletionListPresenter : Control

Inheritance: objectCompletionListPresenter

Constructors

CompletionListPresenter()

Initializes a new instance of the CompletionListPresenter class.

Declaration

cs-api-definition
public CompletionListPresenter()

Fields

CompletionListItemsProperty

Registers the CompletionListItems dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty CompletionListItemsProperty

Field Value

DependencyProperty

SelectedItemProperty

Registers the SelectedItem dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty SelectedItemProperty

Field Value

DependencyProperty

Properties

CompletionListItems

Gets or sets the completion list items.

Declaration

cs-api-definition
[SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
public ICompletionInfoCollection CompletionListItems { get; set; }

Property Value

ICompletionInfoCollection

The completion list items.

IsMeasured

Gets a value indicating whether this instance is measured.

Declaration

cs-api-definition
public bool IsMeasured { get; }

Property Value

bool

true if this instance is measured; otherwise, false.

SelectedItem

Gets or sets the selected item.

Declaration

cs-api-definition
public CompletionInfo SelectedItem { get; set; }

Property Value

CompletionInfo

The selected item.

Methods

DecreaseSelectedIndex()

Decreases the index of the selected.

Declaration

cs-api-definition
public void DecreaseSelectedIndex()

Filter(string)

Filters the specified filter.

Declaration

cs-api-definition
public void Filter(string filterParameter)

Parameters

filterParameter

string

The filter.

IncreaseSelectedIndex()

Increases the index of the selected.

Declaration

cs-api-definition
public void IncreaseSelectedIndex()

OnApplyTemplate()

When overridden in a derived class, is invoked whenever application code or internal processes call .

Declaration

cs-api-definition
public override void OnApplyTemplate()

OnInitialized(EventArgs)

Raises the event. This method is invoked whenever is set to true internally.

Declaration

cs-api-definition
protected override void OnInitialized(EventArgs e)

Parameters

e

EventArgs

The RoutedEventArgs that contains the event data.

ResetTheme()

Resets the theme.

Declaration

cs-api-definition
public void ResetTheme()

UpdateToolTip(bool)

Updates the tool tip.

Declaration

cs-api-definition
public void UpdateToolTip(bool tryOpenToolTip)

Parameters

tryOpenToolTip

bool

The try open tool tip.

Events

SelectedItemPropertyChanged

Occurs when [selected item property changed].

Declaration

cs-api-definition
public event EventHandler SelectedItemPropertyChanged

Event Value

EventHandler