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
- Inheritance:
- object Visual UIElement FrameworkElement Control object
Constructors
IntelliPromptCompletionList(ICompletionSession)
Initializes an instance of the class.
public IntelliPromptCompletionList(ICompletionSession session)
| Parameter | Type | Description |
|---|---|---|
| session | ICompletionSession | The ICompletionSession for which the popup is displayed. |
Properties
FilterElement
The UIElement to use as the filter user interface.
FilterSeparatorStyle
The Style to apply to filter separator controls.
FilterTabPanelStyle
The Style to apply to filter tab panel controls.
FilterToggleButtonStyle
The Style to apply to filter toggle button controls.
HorizontalOffset
The offset by which to translate the list's popup horizontally.
ItemListItemContainerStyle
The Style to use for the item list items.
ItemListItemContainerStyleSelector
The StyleSelector to use for the item list items.
ItemListItemTemplate
The DataTemplate to use for the item list items.
ItemListItemTemplateSelector
The DataTemplateSelector to use for the item list items.
public DataTemplateSelector? ItemListItemTemplateSelector { get; set; }
Property Value
NoItemsTemplate
The DataTemplate to display when there are no items.
Session
The ICompletionSession for which the popup is displayed.
Methods
MeasureOverride(Size?)
Called to remeasure a control.
protected override Size? MeasureOverride(Size? constraint)
| Parameter | Type | Description |
|---|---|---|
| constraint | Size | The maximum size that the method can return. |
Returns
- Size:
The size of the control, up to the maximum specified by
constraint.
OnApplyTemplate()
When overridden in a derived class, is invoked whenever application code or internal processes call ApplyTemplate().
public override void OnApplyTemplate()
OnCreateAutomationPeer()
Returns class-specific AutomationPeer implementations for the Windows Presentation Foundation (WPF) infrastructure.
protected override AutomationPeer OnCreateAutomationPeer()
Returns
- AutomationPeer:
The type-specific AutomationPeer implementation.
Fields
FilterElementProperty
Defines the FilterElement property.
public static readonly DependencyProperty FilterElementProperty
FilterSeparatorStyleProperty
Defines the FilterSeparatorStyle property.
public static readonly DependencyProperty FilterSeparatorStyleProperty
FilterTabPanelStyleProperty
Defines the FilterTabPanelStyle property.
public static readonly DependencyProperty FilterTabPanelStyleProperty
FilterToggleButtonStyleProperty
Defines the FilterToggleButtonStyle property.
public static readonly DependencyProperty FilterToggleButtonStyleProperty
HorizontalOffsetProperty
Defines the HorizontalOffset property.
public static readonly DependencyProperty HorizontalOffsetProperty
ItemListItemContainerStyleProperty
Defines the ItemListItemContainerStyle property.
public static readonly DependencyProperty ItemListItemContainerStyleProperty
ItemListItemContainerStyleSelectorProperty
Defines the ItemListItemContainerStyleSelector property.
public static readonly DependencyProperty ItemListItemContainerStyleSelectorProperty
ItemListItemTemplateProperty
Defines the ItemListItemTemplate property.
public static readonly DependencyProperty ItemListItemTemplateProperty
ItemListItemTemplateSelectorProperty
Defines the ItemListItemTemplateSelector property.
public static readonly DependencyProperty ItemListItemTemplateSelectorProperty
NoItemsTemplateProperty
Defines the NoItemsTemplate property.
public static readonly DependencyProperty NoItemsTemplateProperty