In This Article

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
Inheritance:
object Visual UIElement FrameworkElement Control ContentControl EditableContentControl object

Constructors

ShellEditableContentControl()

Initializes an instance of the class.

public ShellEditableContentControl()

Methods

SelectText(TextBox)

Selects the text in the specified TextBox when editing starts.

protected override void SelectText(TextBox textBox)
Parameter Type Description
textBox TextBox

The 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