Skip to content

ClickSelectTextBox

JaykeBird edited this page Feb 21, 2023 · 6 revisions

Back to home | Back to Reference | View raw text

ClickSelectTextBox class

Description

A TextBox where all the text is automatically selected when the text box gets focus (i.e. mouse click or keyboard focus).

Diagram

  flowchart LR
  classDef interfaceStyle stroke-dasharray: 5 5;
  classDef abstractStyle stroke-width:4px
  subgraph SolidShineUi
  SolidShineUi.ClickSelectTextBox[[ClickSelectTextBox]]
  end
  subgraph System.Windows.Controls
System.Windows.Controls.TextBox[[TextBox]]
  end
System.Windows.Controls.TextBox --> SolidShineUi.ClickSelectTextBox
Loading

Members

Properties

Public properties

Type Name Methods
bool SelectOnFocus
Get or set whether all text will be selected when the text box receives focus.
get, set

Details

Summary

A TextBox where all the text is automatically selected when the text box gets focus (i.e. mouse click or keyboard focus).

Inheritance

  • TextBox

Constructors

ClickSelectTextBox

public ClickSelectTextBox()
Summary

Creates a new ClickSelectTextBox and defines the default event handlers.

Properties

SelectOnFocus

public bool SelectOnFocus { get; set; }
Summary

Get or set whether all text will be selected when the text box receives focus.

Generated with ModularDoc

Clone this wiki locally