Table of Contents

Class CompletionButton

Namespace
Alternet.Editor.Wpf
Assembly
Alternet.Editor.Wpf.v9.dll

Interaction logic for CompletionButton.xaml

public class CompletionButton : Control, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, ICompletionButton
Inheritance
CompletionButton
Implements
Extension Methods

Constructors

CompletionButton(ICodeCompletionButton)

Fields

CompletionButtonArrowProperty

Identifies the CompletionButtonArrow dependency property.

CompletionButtonBackgroundProperty

Identifies the CompletionButtonBackground dependency property.

ContextMenuBackgroundProperty

Identifies the ContextMenuBackground dependency property.

ContextMenuBorderColorProperty

Identifies the ContextMenuBorderColor dependency property.

ContextMenuHighlightBackgoundProperty

Identifies the ContextMenuHighlightBackgound dependency property.

ContextMenuHighlightBorderProperty

Identifies the ContextMenuHighlightBorder dependency property.

DefaultArrowColor
DefaultBackgroundColor
DefaultHighlightBackgroundColor
DefaultHighlightBorderColor
Flags
ImageHeightProperty

Identifies the ImageHeight dependency property.

ImageProperty

Identifies the Image dependency property.

ImageWidthProperty

Identifies the ImageWidth dependency property.

Properties

CompletionButtonArrow

Gets or sets brush used to paint arrow.

CompletionButtonBackground

Gets or sets brush used to paint background.

ContextMenuBackground

Gets or sets brush used to paint context menu background.

ContextMenuBorderColor

Gets or sets border color for the context menu.

ContextMenuHighlightBackgound

Gets or sets brush used to paint context menu backgound in highlighted state.

ContextMenuHighlightBorder

Gets or sets brush used to paint context menu border in highlighted state.

Image

Gets or sets Image associated with this control.

ImageHeight

Gets or sets Image height associated with this control.

ImageWidth

Gets or sets Image width associated with this control.

IsDropDown

Indicates if button's Menu is open.

Menu

Gets or sets a ContextMenuStrip associated with this control.

Provider

Represents the object that provides data for code completion. ICodeCompletionProvider

Methods

AddMenuItem(ItemCollection, ICodeCompletionProviderNamedItem)
DoItemClick(object, EventArgs)
DropDown()

Display drop down menu.

GetSelectedItem(bool)

Returns currently selected item.

MeasureOverride(Size)

Called to remeasure a control.

OnApplyTemplate()

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

ProviderChanged()
ResetContent()

Updates CompletionButton content from its Provider.

UpdatePlacement()