Volume Control
Application-specific hotkeys for Windows
|
Interaction logic for TextBoxWithCompletionOptions.xaml More...
Classes | |
class | CommittedTextEventArgs |
Event arguments for the CommittedTextEventHandler event type. More... | |
class | SuggestionClickedEventArgs |
Event arguments for the SuggestionClickedEventHandler event type. More... | |
Public Member Functions | |
TextBoxWithCompletionOptions () | |
Creates a new TextBoxWithCompletionOptions instance. More... | |
delegate void | SuggestionClickedEventHandler (object sender, SuggestionClickedEventArgs e) |
Represents the method that will handle SuggestionClicked events. More... | |
delegate void | CommittedTextEventHandler (object sender, CommittedTextEventArgs e) |
Represents the method that will handle CommittedText events. More... | |
Static Public Attributes | |
static readonly RoutedEvent | SuggestionClickedEvent |
RoutedEvent definition for SuggestionClicked. More... | |
static readonly RoutedEvent | CommittedTextEvent |
RoutedEvent definition for CommittedText. More... | |
static readonly RoutedEvent | BackPressedEvent |
RoutedEvent definition for BackPressed. More... | |
static readonly DependencyProperty | CompletionOptionsSourceProperty |
The DependencyProperty for CompletionOptionsSource. More... | |
static readonly DependencyProperty | TextProperty |
The DependencyProperty for Text. More... | |
static readonly DependencyProperty | DefaultTextProperty |
The DependencyProperty for DefaultText. More... | |
static readonly DependencyProperty | DefaultTextBlockForegroundProperty |
The DependencyProperty for TextBoxForeground. More... | |
static readonly DependencyProperty | StringComparisonProperty |
The DependencyProperty for StringComparison. More... | |
static readonly DependencyProperty | BackPressedRequiredModifierKeysProperty |
The DependencyProperty for BackPressedRequiredModifierKeys. More... | |
static readonly DependencyProperty | TextBoxSelectionBrushProperty |
The DependencyProperty for TextBoxSelectionBrush. More... | |
static readonly DependencyProperty | TextBoxPaddingProperty |
The DependencyProperty for TextBoxPadding. More... | |
static readonly DependencyProperty | TextBoxBorderThicknessProperty |
The DependencyProperty for TextBoxBorderThickness. More... | |
static readonly DependencyProperty | TextBoxBorderBrushProperty |
The DependencyProperty for TextBoxBorderBrush. More... | |
static readonly DependencyProperty | TextBoxForegroundProperty |
The DependencyProperty for TextBoxForeground. More... | |
static readonly DependencyProperty | TextBoxBackgroundProperty |
The DependencyProperty for TextBoxBackground. More... | |
Properties | |
SuggestionClickedEventHandler | SuggestionClicked |
Occurs when an item in the popup suggestion box is clicked. More... | |
CommittedTextEventHandler | CommittedText |
Occurs when the Enter key was pressed, indicating that the current text should be committed to whatever is consuming it. More... | |
RoutedEventHandler | BackPressed |
Occurs when the backspace key is pressed when the textbox is already empty. More... | |
FilteredTextItemsSource | FilteredItemsSource [get] |
Gets the FilteredTextItemsSource object that provides a searchable suggestions list. More... | |
IEnumerable< string > | CompletionOptionsSource [get, set] |
Gets or sets the items source that will be used for completion options. More... | |
string | Text [get, set] |
Gets or sets the text in the textbox. More... | |
string | DefaultText [get, set] |
Gets or sets the default text to show when the textbox is empty. More... | |
Brush | DefaultTextBlockForeground [get, set] |
StringComparison | StringComparison [get, set] |
Gets or sets the string comparison type to use when matching the FilterText to items. More... | |
ModifierKeys | BackPressedRequiredModifierKeys [get, set] |
Gets or sets the ModifierKeys that must be held when pressing Backspace in order for the BackPressed event to fire. More... | |
Brush | TextBoxSelectionBrush [get, set] |
Thickness | TextBoxPadding [get, set] |
Thickness | TextBoxBorderThickness [get, set] |
Brush | TextBoxBorderBrush [get, set] |
Brush | TextBoxForeground [get, set] |
Brush | TextBoxBackground [get, set] |
Interaction logic for TextBoxWithCompletionOptions.xaml
VolumeControl.WPF.Controls.TextBoxWithCompletionOptions.TextBoxWithCompletionOptions | ( | ) |
Creates a new TextBoxWithCompletionOptions instance.
References VolumeControl.WPF.Controls.TextBoxWithCompletionOptions.CompletionOptionsSource, VolumeControl.WPF.Controls.TextBoxWithCompletionOptions.FilteredItemsSource, VolumeControl.WPF.FilteredTextItemsSource.ItemsSourceProperty, VolumeControl.WPF.Controls.TextBoxWithCompletionOptions.StringComparison, and VolumeControl.WPF.FilteredTextItemsSource.StringComparisonProperty.
delegate void VolumeControl.WPF.Controls.TextBoxWithCompletionOptions.CommittedTextEventHandler | ( | object | sender, |
CommittedTextEventArgs | e | ||
) |
Represents the method that will handle CommittedText events.
sender | The TextBoxWithCompletionOptions instance that triggered the event. |
e |
delegate void VolumeControl.WPF.Controls.TextBoxWithCompletionOptions.SuggestionClickedEventHandler | ( | object | sender, |
SuggestionClickedEventArgs | e | ||
) |
Represents the method that will handle SuggestionClicked events.
sender | The TextBoxWithCompletionOptions instance that triggered the event. |
e |
|
static |
RoutedEvent definition for BackPressed.
|
static |
The DependencyProperty for BackPressedRequiredModifierKeys.
|
static |
RoutedEvent definition for CommittedText.
|
static |
The DependencyProperty for CompletionOptionsSource.
|
static |
The DependencyProperty for TextBoxForeground.
|
static |
The DependencyProperty for DefaultText.
|
static |
The DependencyProperty for StringComparison.
|
static |
RoutedEvent definition for SuggestionClicked.
|
static |
The DependencyProperty for TextBoxBackground.
|
static |
The DependencyProperty for TextBoxBorderBrush.
|
static |
The DependencyProperty for TextBoxBorderThickness.
|
static |
The DependencyProperty for TextBoxForeground.
|
static |
The DependencyProperty for TextBoxPadding.
|
static |
The DependencyProperty for TextBoxSelectionBrush.
|
static |
The DependencyProperty for Text.
|
addremove |
Occurs when the backspace key is pressed when the textbox is already empty.
|
getset |
Gets or sets the ModifierKeys that must be held when pressing Backspace in order for the BackPressed event to fire.
|
addremove |
Occurs when the Enter key was pressed, indicating that the current text should be committed to whatever is consuming it.
|
getset |
Gets or sets the items source that will be used for completion options.
Referenced by VolumeControl.WPF.Controls.TextBoxWithCompletionOptions.TextBoxWithCompletionOptions().
|
getset |
Gets or sets the default text to show when the textbox is empty.
|
getprotected |
Gets the FilteredTextItemsSource object that provides a searchable suggestions list.
Referenced by VolumeControl.WPF.Controls.TextBoxWithCompletionOptions.TextBoxWithCompletionOptions().
|
getset |
Gets or sets the string comparison type to use when matching the FilterText to items.
Referenced by VolumeControl.WPF.Controls.TextBoxWithCompletionOptions.TextBoxWithCompletionOptions().
|
addremove |
Occurs when an item in the popup suggestion box is clicked.
|
getset |
Gets or sets the text in the textbox.