ShellEditableContentControl Class
Represents a control that displays shell name content by default but can toggle to an editable mode for editing the content.
public class ShellEditableContentControl : EditableContentControl, DUCE.IResource, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IHaveResources, IQueryAmbient, IAddChild
- Inheritance:
- System.Object System.Windows.Threading.DispatcherObject System.Windows.DependencyObject System.Windows.Media.Visual System.Windows.UIElement System.Windows.FrameworkElement System.Windows.Controls.Control System.Windows.Controls.ContentControl EditableContentControl Object
Constructors
ShellEditableContentControl()
public ShellEditableContentControl()
Methods
SelectText(TextBox)
Selects the text in the specified System.Windows.Controls.TextBox when editing starts.
protected override void SelectText(TextBox textBox)
Parameter | Type | Description |
---|---|---|
textBox | System.Windows.Controls.TextBox | The System.Windows.Controls.TextBox to update. |
Remarks
The default implementation of this method selects all text. Override it to select a range of text instead, such as a filename's actual name range before the extension.
Inherited Members
- EditableContentControl.EditableContentProperty
- EditableContentControl.IsEditingProperty
- EditableContentControl.OnKeyDown(KeyEventArgs)
- EditableContentControl.SetContentAfterEditing(Object)
- EditableContentControl.OnIsKeyboardFocusWithinChanged(DependencyPropertyChangedEventArgs)
- EditableContentControl.EditableContent
- EditableContentControl.IsEditing
- 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
- FrameworkElementExtensions.AnimateDoubleProperty(String, Double, Double, Double, Nullable<Double>, Nullable<Double>)
- FrameworkElementExtensions.BindToProperty(DependencyProperty, Object, String, BindingMode, IValueConverter, Object)
- FrameworkElementExtensions.BindToProperty(DependencyProperty, Object, DependencyProperty, BindingMode, IValueConverter, Object)
- FrameworkElementExtensions.GetCurrentSize()