In This Article

IntelliPromptCompletionList Class

Represents a default implementation of an IntelliPrompt completion list.

[TemplatePart(Name = "PART_ItemListBox", Type = typeof(ListBox))]
[TemplateVisualState(Name = "HasItems", GroupName = "ContentStates")]
[TemplateVisualState(Name = "NoItems", GroupName = "ContentStates")]
public class IntelliPromptCompletionList : Control, DUCE.IResource, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IHaveResources, IQueryAmbient
Inheritance:
System.Object System.Windows.Threading.DispatcherObject System.Windows.DependencyObject System.Windows.Media.Visual System.Windows.UIElement System.Windows.FrameworkElement System.Windows.Controls.Control Object

Constructors

IntelliPromptCompletionList(ICompletionSession)

Initializes an instance of the IntelliPromptCompletionList class.

public IntelliPromptCompletionList(ICompletionSession session)
Parameter Type Description
session ICompletionSession

The ICompletionSession for which the popup is displayed.

Properties

FilterElement

Gets or sets the System.Windows.UIElement to use as the filter user interface.

public UIElement FilterElement { get; set; }

Property Value

System.Windows.UIElement:

The System.Windows.UIElement to use as the filter user interface.

FilterSeparatorStyle

Gets or sets the System.Windows.Style to apply to filter separator controls.

public Style FilterSeparatorStyle { get; set; }

Property Value

System.Windows.Style:

The System.Windows.Style to apply to filter separator controls.

FilterTabPanelStyle

Gets or sets the System.Windows.Style to apply to filter tab panel controls.

public Style FilterTabPanelStyle { get; set; }

Property Value

System.Windows.Style:

The System.Windows.Style to apply to filter tab panel controls.

FilterToggleButtonStyle

Gets or sets the System.Windows.Style to apply to filter toggle button controls.

public Style FilterToggleButtonStyle { get; set; }

Property Value

System.Windows.Style:

The System.Windows.Style to apply to filter toggle button controls.

HorizontalOffset

Gets or sets the offset by which to translate the list's popup horizontally.

public double HorizontalOffset { get; set; }

Property Value

System.Double:

The offset by which to translate the list's popup horizontally. The default value is -21.

ItemListItemContainerStyle

Gets or sets the System.Windows.Style to use for the item list items.

public Style ItemListItemContainerStyle { get; set; }

Property Value

System.Windows.Style:

The System.Windows.Style to use for the item list items.

ItemListItemContainerStyleSelector

Gets or sets the System.Windows.Controls.StyleSelector to use for the item list items.

public StyleSelector ItemListItemContainerStyleSelector { get; set; }

Property Value

System.Windows.Controls.StyleSelector:

The System.Windows.Controls.StyleSelector to use for the item list items.

ItemListItemTemplate

Gets or sets the System.Windows.DataTemplate to use for the item list items.

public DataTemplate ItemListItemTemplate { get; set; }

Property Value

System.Windows.DataTemplate:

The System.Windows.DataTemplate to use for the item list items.

ItemListItemTemplateSelector

Gets or sets the System.Windows.Controls.DataTemplateSelector to use for the item list items.

public DataTemplateSelector ItemListItemTemplateSelector { get; set; }

Property Value

System.Windows.Controls.DataTemplateSelector:

The System.Windows.Controls.DataTemplateSelector to use for the item list items.

NoItemsTemplate

Gets or sets the System.Windows.DataTemplate to display when there are no items.

public DataTemplate NoItemsTemplate { get; set; }

Property Value

System.Windows.DataTemplate:

The System.Windows.DataTemplate to display when there are no items.

Session

Gets the ICompletionSession for which the popup is displayed.

public ICompletionSession Session { get; }

Property Value

ICompletionSession:

The ICompletionSession for which the popup is displayed.

Methods

MeasureOverride(Size)

When overridden in a derived class, measures the size in layout required for child elements and determines a size for the System.Windows.FrameworkElement-derived class.

protected override Size MeasureOverride(Size constraint)
Parameter Type Description
constraint System.Windows.Size

The available size that this element can give to child elements. Infinity can be specified as a value to indicate that the element will size to whatever content is available.

Returns

System.Windows.Size:

The size that this element determines it needs during layout, based on its calculations of child element sizes.

OnApplyTemplate()

Invoked whenever application code or internal processes call ApplyTemplate.

public override void OnApplyTemplate()

OnCreateAutomationPeer()

Returns an System.Windows.Automation.Peers.AutomationPeer object for this control instance.

protected override AutomationPeer OnCreateAutomationPeer()

Returns

System.Windows.Automation.Peers.AutomationPeer:

An System.Windows.Automation.Peers.AutomationPeer instance.

Fields

FilterElementProperty

Identifies the FilterElement dependency property. This field is read-only.

public static readonly DependencyProperty FilterElementProperty

FilterSeparatorStyleProperty

Identifies the FilterSeparatorStyle dependency property. This field is read-only.

public static readonly DependencyProperty FilterSeparatorStyleProperty

FilterTabPanelStyleProperty

Identifies the FilterTabPanelStyle dependency property. This field is read-only.

public static readonly DependencyProperty FilterTabPanelStyleProperty

FilterToggleButtonStyleProperty

Identifies the FilterToggleButtonStyle dependency property. This field is read-only.

public static readonly DependencyProperty FilterToggleButtonStyleProperty

HorizontalOffsetProperty

Identifies the HorizontalOffset dependency property. This field is read-only.

public static readonly DependencyProperty HorizontalOffsetProperty

ItemListItemContainerStyleProperty

Identifies the ItemListItemContainerStyle dependency property. This field is read-only.

public static readonly DependencyProperty ItemListItemContainerStyleProperty

ItemListItemContainerStyleSelectorProperty

Identifies the ItemListItemContainerStyleSelector dependency property. This field is read-only.

public static readonly DependencyProperty ItemListItemContainerStyleSelectorProperty

ItemListItemTemplateProperty

Identifies the ItemListItemTemplate dependency property. This field is read-only.

public static readonly DependencyProperty ItemListItemTemplateProperty

ItemListItemTemplateSelectorProperty

Identifies the ItemListItemTemplateSelector dependency property. This field is read-only.

public static readonly DependencyProperty ItemListItemTemplateSelectorProperty

NoItemsTemplateProperty

Identifies the NoItemsTemplate dependency property. This field is read-only.

public static readonly DependencyProperty NoItemsTemplateProperty

Inherited Members

  • System.Object.ToString()
  • System.Object.Equals(System.Object)
  • System.Object.Equals(System.Object, System.Object)
  • System.Object.ReferenceEquals(System.Object, System.Object)
  • System.Object.GetHashCode()
  • System.Object.GetType()
  • System.Object.MemberwiseClone()

Extension Methods