Class CompletionButton
Interaction logic for CompletionButton.xaml
public class CompletionButton : Control, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, ICompletionButton- Inheritance
- 
      
      
      
      
      
      
      
      CompletionButton
- Implements
- Extension Methods
Constructors
- CompletionButton(ICodeCompletionButton)
- Initializes a new instance of the - CompletionButtonclass with a specified owner.
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
- Represents default value of the CompletionButtonArrow property. 
- DefaultBackgroundColor
- Represents default value of the CompletionButtonBackground property. 
- DefaultHighlightBackgroundColor
- Represents default value of the ContextMenuHighlightBackgound property. 
- DefaultHighlightBorderColor
- Represents default value of the ContextMenuHighlightBorder property. 
- Flags
- The metadata option flags that specify characteristics of the image-related dependency properties. 
- 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
- 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(). 
- ResetContent()
- Updates - CompletionButtoncontent from its- Provider.
- UpdatePlacement()
- Updates context menu placement.