Input Controls
Input controls are used to input data to write to a server.
Input Controls Property Usage
The following table shows the properties used by each control:
Property | Data Text Box |
---|---|
AcceptsReturn | X |
AcceptsTab | X |
AllowDrop | X |
AutoWordSelection | X |
Background | X |
BorderBrush | X |
BorderThickness | X |
CaretBrush | X |
CharacterCasing | X |
ClipToBounds | X |
Column | X |
ColumnSpan | X |
Effect | X |
FlowDirection | X |
Focusable | X |
FocusVisualStyle | X |
FontFamily | X |
FontSize | X |
FontStretch | X |
FontStyle | X |
FontWeight | X |
ForceCursor | X |
Foreground | X |
Height | X |
HorizontalAlignment | X |
HorizontalContentAlignment | X |
HorizontalScrollBarVisibility | X |
IsEnabled | X |
IsHitTestVisible | X |
IsManipulationEnabled | X |
IsReadOnly | X |
IsReadOnlyCaretVisible | X |
IsSharedSizeScope | X |
IsTabStop | X |
IsUndoEnabled | X |
Localization | X |
Margin | X |
MaxHeight | X |
MaxLength | X |
MaxLines | X |
MaxWidth | X |
MinHeight | X |
MinLines | X |
MinWidth | X |
Name | X |
Opacity | X |
OpacityMask | X |
OverridesDefaultStyle | X |
Padding | X |
RenderTransformOrigin | X |
Row | X |
RowSpan | X |
SelectionBrush | X |
SelectionOpacity | X |
SnapsToDevicePixels | X |
Style | X |
TabIndex | X |
Tag | X |
Template | X |
Text | X |
TextAlignment | X |
TextWrapping | X |
ToolTip | X |
Uid | X |
UseLayoutRounding | X |
VerticalAlignment | X |
VerticalContentAlignment | X |
VerticalScrollBarVisibility | X |
Visibility | X |
Width | X |
Input Controls Property Descriptions
The following table shows the properties descriptions used by all control:
Property | Description |
---|---|
AcceptsReturn | Select this check box to indicate that pressing Enter in a multiline Text Box control creates a new line of text in the control or activates the default button. |
AcceptsTab | Select this check box to indicate that pressing the Tab key in a multiline text box control types a tab character in the control instead of moving the focus to the next control in the tab order. |
AllowDrop | Select this check box to indicate that the control can accept data that is dragged onto it. |
AutoWordSelection | Select this check box to indicate that when you select part of a word by dragging across it with the mouse, the rest of the word is selected. |
Background | Expand this field to select the background color of the selected control. |
BorderBrush | Expand this field to select the border color of the selected control. |
BorderThickness | Specifies the border thickness of a control, in pixels. |
CaretBrush | Expand this field to select the brush to use to render the vertical bar that indicates the insertion point. |
CharacterCasing | Specifies how characters are cased when they are manually entered into the text box. Selections are:
|
ClipToBounds | Select this check box to clip the content of this control (or content coming from the child elements of this control) to fit into the size of the containing control. |
Column | Specifies the column within the grid where the control is located. |
ColumnSpan | Specifies the total number of columns that child content spans within a grid. |
Effect | Click the arrow to expand the property, select the effect you want to apply to the control, and then configure the specific values for the effect. Valid values to select are:
|
FlowDirection | Specifies the direction that text and other user interface (UI) elements flow within any parent control. Selections are:
|
Focusable | Select this check box to indicate that the control can receive focus. |
FocusVisualStyle | Specifies a property that enables customization of appearance, effects, or other style characteristics that apply to this control when it has focus. |
FontFamily | Specifies the font family for the control. |
FontSize | Specifies the font size for the control. |
FontStretch | Specifies the degree to which a font is condensed or expanded on the screen. |
FontStyle | Specifies the font style for the control. |
FontWeight | Specifies the weight or thickness of the specified font. |
ForceCursor | Select this check box to indicate that the user interface (UI) renders the cursor as declared by the Cursor property. |
Foreground | Expand this field to select the foreground color. |
Height | Specifies the height of the control, in pixels. |
HorizontalAlignment | Specifies the horizontal alignment characteristics applied to this control. Selections are:
|
HorizontalContentAlignment | Specifies the horizontal alignment of the control's content. Selections are:
|
HorizontalScrollBarVisibility | Specifies whether a horizontal scroll bar is shown. Selections are:
|
ImageStretch | Specifies how the image should be stretched to fill the destination rectangle. Selections are:
|
IsEnabled | Select this check box to indicate that this control is enabled in the user interface (UI). |
IsHitTestVisible | Select this check box to indicate that the control can possibly be returned as a hit test result from some portion of its rendered content. |
IsManipulationEnabled | Select this check box to indicate that the manipulation events for the control are enabled. |
IsReadOnly | Select this check box to indicate that the text editing control is read-only to a user interacting with the control. |
IsReadOnlyCaretVisible | Specifies whether a read-only text box displays a caret. If the IsReadOnly check box is selected, you can still select and copy text. If the IsReadOnlyCaretVisible check box is also selected, a caret appears in the text box when the text box has keyboard focus. When the IsReadOnly check box is cleared, selecting the IsReadOnlyCaretVisible check box has no effect. |
IsSharedSizeScope | Select this check box to indicate that controls are sharing size information. |
IsTabStop | Select this check box to indicate that a control is included in tab navigation. |
IsUndoEnabled | Select this check box to indicate that undo support is enabled for the text-editing control. Clearing this check box clears the undo stack. Therefore, if you disable undo and then re-enable it, undo commands still do not work because the undo stack was emptied when you cleared the check box. |
Localization | Click the ellipsis button to open the Localization Configuration dialog box where you can configure the property to localize, the language to use for localization, and the text to localize. |
Margin | Specifies the outer margin of a control. |
MaxHeight | Specifies the maximum height of a control. |
MaxLength | Specifies the maximum length of text that can be entered in the control. When this property is set to 0, the maximum length of the text that can be entered in the control is limited only by available memory. |
MaxLines | Specifies the maximum number of visible lines. |
MaxWidth | Specifies the maximum width of a control. |
MinHeight | Specifies the minimum height of a control. |
MinLines | Specifies the minimum number of visible lines. |
MinWidth | Specifies the minimum width of a control. |
Name | Specifies the identifying name of the control. The name provides a reference so that code behind, such as event handler code, can refer to a markup element during processing by a XAML processor. |
Opacity | Specifies the opacity factor applied to the entire control. Valid values are 0 through 1, with up to 15 decimal places. |
OpacityMask | Expand this field to select a color for the opacity mask, which is applied to any alpha-channel masking for the rendered content of this control. |
OverridesDefaultStyle | Select this check box to indicate that this control incorporates style properties from theme styles. |
Padding | Specifies the amount of padding to apply to the inside edge of each side of a control. |
RenderTransformOrigin | Specifies the center point of any possible render transform, relative to the bounds of the element.
|
Row | RowBackground |
RowSpan | Specifies the total number of rows that child content spans within a grid. |
SelectionBrush | Expand this field to select the brush to use to highlight the selected text. |
SnapsToDevicePixels | Select this check box to indicate that rendering for this control uses device-specific pixel settings. |
Style | Specifies the style used by this control when it is rendered. |
TabIndex | Specifies the order in which controls receive focus when the Tab key is pressed. |
Tag | Specifies an arbitrary object value that can be used to store custom information about this control. |
Template | Click the ellipsis button to open the Open dialog box to select a template to use. |
Text | Specifies the text contents of a control. |
TextAlignment | Specifies the horizontal alignment of text content. Selections are:
|
TextWrapping | Specifies how the control wraps text. Selections are:
|
ToolTip | Specifies the tool-tip that displays for this control in the user interface (UI). |
Uid | Specifies the unique identifier (for localization) for this control. |
UseLayoutRounding | Specifies a value that determines whether rendering for the object and its visual subtree should use rounding behavior that aligns rendering to whole pixels. |
VerticalAlignment | Specifies the vertical alignment characteristics applied to this control. Selections are:
|
VerticalContentAlignment | Specifies the vertical alignment of the control's content. Selections are:
|
VerticalScrollBarVisibility | Specifies whether a vertical scroll bar is shown. Scroll bar selections are:
|
Visiblility | Specifies the visibility of this control. Selections are:
|
Width | Specifies the width of the control, in pixels. |