BinaryRibbonSmartTextBox
A ribbon text box that adds a watermark shown while it is empty, a button that clears the text, and an image used to flag input the application considers wrong. It also takes part in the ribbon's key tip navigation.
public class BinaryRibbonSmartTextBox : TextBox, IBinaryRibbonKeyTipControl
Inherits from / implements: TextBox, IBinaryRibbonKeyTipControl
Members at a glance
BinaryRibbonSmartTextBox | Initializes a new instance of the BinaryRibbonSmartTextBox class. |
AlertClueImageSource | Gets or sets the alert clue image. |
AlertClueImageSourceOnError | Gets or sets the image that will be rendered when the control is in error mode (i.e. you could use this when the user has not set a mandatory data in the control, etc.) |
AlertFlagTooltipContent | Gets or sets the custom tooltip content for the alert flag visual. |
ClearTextVisualContent | Gets or sets the cntent for the clear data button located at the rigt hand side corner of the control. |
ClearTextVisualForegroundBrush | Gets or sets the forground brush for the clear text command visual that is rendered at the right hand side corner of the control. |
ClearTextVisualOnHoverForegroundBrush | Gets or sets the forground brush for the clear text command visual that is rendered at the right hand side corner of the control, when mouse hovers on it. |
ControlBorderBrush | Gets or sets the control border brush. |
DataEntryMode | What this box accepts: anything, letters and digits, or digits only. |
DisallowedInputRegularExpression | Gets or sets the custom regular expression string to be used, when deciding what text input is not allwoed. |
IsAlertClueImageRenderingEnabled | Gets or sets whether to render the alert clue image. |
IsClearTextVisualAlwaysVisible | Gets or sets whether the clear text visual is always shown in the control, irrespective of whether the user has any text typed into the control or not. |
IsClearTextVisualRenderingFeatureEnabled | Whether the button that clears the text is shown while the box has content. |
WatermarkContent | Gets or sets the watermark instance for the textbox. |
WatermarkContentTemplate | Gets or sets the watermark template to use, for rendering the watermark instance. |
OnApplyTemplate | Called once the control template has been applied, which is where the named parts of the template first become reachable. |
AlertClueImageSourceOnErrorProperty | Identifies the AlertClueImageSourceOnError dependency property. |
AlertClueImageSourceProperty | Identifies the AlertClueImageSource dependency property. |
AlertFlagTooltipContentProperty | Identifies the AlertFlagTooltipContent dependency property. |
ClearTextVisualContentProperty | Identifies the ClearTextVisualContent dependency property. |
ClearTextVisualForegroundBrushProperty | Identifies the ClearTextVisualForegroundBrush dependency property. |
ClearTextVisualOnHoverForegroundBrushProperty | Identifies the ClearTextVisualOnHoverForegroundBrush dependency property. |
ControlBorderBrushProperty | Identifies the ControlBorderBrush dependency property. |
DataEntryModeProperty | Identifies the DataEntryMode dependency property. |
DisallowedInputRegularExpressionProperty | Identifies the DisallowedInputRegularExpression dependency property. |
IsAlertClueImageRenderingEnabledProperty | Identifies the IsAlertClueImageRenderingEnabled dependency property. |
IsClearTextVisualAlwaysVisibleProperty | Identifies the IsClearTextVisualAlwaysVisible dependency property. |
IsClearTextVisualRenderingFeatureEnabledProperty | Identifies the IsClearTextVisualRenderingFeatureEnabled dependency property. |
WatermarkContentProperty | Identifies the WatermarkContent dependency property. |
WatermarkContentTemplateProperty | Identifies the WatermarkContentTemplate dependency property. |
Constructors
BinaryRibbonSmartTextBox
Initializes a new instance of the BinaryRibbonSmartTextBox class.
Properties
AlertClueImageSource
Gets or sets the alert clue image.
AlertClueImageSourceOnError
Gets or sets the image that will be rendered when the control is in error mode (i.e. you could use this when the user has not set a mandatory data in the control, etc.)
AlertFlagTooltipContent
Gets or sets the custom tooltip content for the alert flag visual.
ClearTextVisualContent
Gets or sets the cntent for the clear data button located at the rigt hand side corner of the control.
ClearTextVisualForegroundBrush
Gets or sets the forground brush for the clear text command visual that is rendered at the right hand side corner of the control.
ClearTextVisualOnHoverForegroundBrush
Gets or sets the forground brush for the clear text command visual that is rendered at the right hand side corner of the control, when mouse hovers on it.
ControlBorderBrush
Gets or sets the control border brush.
DataEntryMode
What this box accepts: anything, letters and digits, or digits only.
DisallowedInputRegularExpression
Gets or sets the custom regular expression string to be used, when deciding what text input is not allwoed.
IsAlertClueImageRenderingEnabled
Gets or sets whether to render the alert clue image.
IsClearTextVisualAlwaysVisible
Gets or sets whether the clear text visual is always shown in the control, irrespective of whether the user has any text typed into the control or not.
IsClearTextVisualRenderingFeatureEnabled
Whether the button that clears the text is shown while the box has content.
WatermarkContent
Gets or sets the watermark instance for the textbox.
WatermarkContentTemplate
Gets or sets the watermark template to use, for rendering the watermark instance.
Methods
OnApplyTemplate
Called once the control template has been applied, which is where the named parts of the template first become reachable.
Fields
AlertClueImageSourceOnErrorProperty
Identifies the AlertClueImageSourceOnError dependency property.
AlertClueImageSourceProperty
Identifies the AlertClueImageSource dependency property.
AlertFlagTooltipContentProperty
Identifies the AlertFlagTooltipContent dependency property.
ClearTextVisualContentProperty
Identifies the ClearTextVisualContent dependency property.
ClearTextVisualForegroundBrushProperty
Identifies the ClearTextVisualForegroundBrush dependency property.
ClearTextVisualOnHoverForegroundBrushProperty
Identifies the ClearTextVisualOnHoverForegroundBrush dependency property.
ControlBorderBrushProperty
Identifies the ControlBorderBrush dependency property.
DataEntryModeProperty
Identifies the DataEntryMode dependency property.
DisallowedInputRegularExpressionProperty
Identifies the DisallowedInputRegularExpression dependency property.
IsAlertClueImageRenderingEnabledProperty
Identifies the IsAlertClueImageRenderingEnabled dependency property.
IsClearTextVisualAlwaysVisibleProperty
Identifies the IsClearTextVisualAlwaysVisible dependency property.
IsClearTextVisualRenderingFeatureEnabledProperty
Identifies the IsClearTextVisualRenderingFeatureEnabled dependency property.
WatermarkContentProperty
Identifies the WatermarkContent dependency property.
WatermarkContentTemplateProperty
Identifies the WatermarkContentTemplate dependency property.