TextBlockValidation Class

Represents the display element used in cells of columns of type GridTextBoxValidactionColumn.

Definition

Namespace: Aliquo.Windows.Controls
Assembly: Aliquo.Windows.Controls (in Aliquo.Windows.Controls.dll) Version: 5.0.9179.22656
C#
public class TextBlockValidation : Control
Inheritance
Object    DispatcherObject    DependencyObject    Visual    UIElement    FrameworkElement    Control    TextBlockValidation

Remarks

Avoid using this control outside of a column template for the SfDataGrid control. Instead, use a lighter control such as the TextBlock to render text.

Constructors

TextBlockValidation Constructor class.

Properties

GridColumn Gets or sets the reference of the column associated with the control.
InfoColor Gets or sets the color of the information to display.
InfoText Gets or sets an information text to display.
LinkButtonImage Gets or sets the image for the link button.
LinkButtonVisibility Gets or sets the visibility of the link button.
LinkButtonVisible Gets or sets a value indicating whether the link button is visible.
Text Gets or sets the text of the TextBlockValidation control.
TextAlignment Gets or sets a value that specifies the horizontal alignment of the control's contents.
TextDecorations Gets or sets a value that specifies decorations that are added to the text of an element.
TextTrimming Gets or sets a value that specifies the clipping behavior in case of clipping some text content caused by overflowing the line box.
TextWrapping Gets or sets a value that controls whether or not text wraps when it reaches the flow edge of its containing block box.

Methods

OnApplyTemplate OnApplyTemplate method.
(Overrides FrameworkElementOnApplyTemplate)
ToString Gets a string representing the current object.
(Overrides ControlToString)

Events

LinkButtonClick Occurs when the link button is clicked.
TextChanged Occurs when the control text changes.

Fields

InfoColorProperty Identifies the dependency property InfoColor.
InfoTextProperty Identifies the dependency property InfoText.
LinkButtonImageProperty Identify the dependency property LinkButtonImage.
LinkButtonVisibilityProperty Identifica la propiedad de dependencia LinkButtonVisibility.
LinkButtonVisibleProperty Identifies the dependency property LinkButtonVisible.
TextAlignmentProperty Identifies the dependency property TextAlignment.
TextChangedEvent Identifies the TextChanged routed event.
TextDecorationsProperty Identifies the dependency property TextDecorations.
TextProperty Identifies the dependency property Text. >
TextTrimmingProperty Identifies the dependency property TextTrimming.
TextWrappingProperty Identifies the dependency property TextWrapping.

Extension Methods

GetAttributeFromT Get attribute from a class.
(Defined by ObjectExtensions)
ValidateDataAnnotations Validate class with validator of DataAnnotations.
(Defined by ObjectExtensions)

See Also