[]
Represents a Windows read-only data bound control displaying formatted data.
[ToolboxBitmap(typeof(C1Label), "C1Label.png")]
public class C1Label : Label, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IAutomationLiveRegion, ICustomTypeDescriptor, ISupportInitialize
Name | Description |
---|---|
C1Label() | Initializes a new instance of the C1Label class. |
Name | Description |
---|---|
BorderColor | Gets or sets the border color of the control. |
BorderStyle | |
CaseSensitive | True if string comparisons are case-sensitive; otherwise, False. |
Culture | The culture ID. |
CultureInfo | The current CultureInfo object (available at runtime). |
CultureName | The name selected for the Culture property in the Properties grid. |
CurrentTimeZone | If True, the control�s stored Value is in current time zone; otherwise, the Value is adjusted to the time zone defined by the GMTOffset property. |
CustomFormat | Custom format specifier used if FormatType = FormatTypeEnum.CustomFormat. |
DataField | The field of the data source object to which the control is bound. |
DataSource | The data source object to which the control is bound. |
DataType | Type of the Value property. |
DaylightTimeAdjustment | The value specified in the GMTOffset property can be advanced or set back due to daylight-saving time changes (used only if CurrentTimeZone = False). |
DefaultThemeRootPath | Default path for the control in xml theme file. |
EmptyAsNull | If True, empty strings are interpreted as null values (DbNull). |
ErrorProvider | Gets or sets an ErrorProvider object used to indicate error state of the control. |
FormatInfo | Format used to display the value. |
FormatType | Enumeration value determining the formatting metod, including standard .NET format specifiers, custom and programmatic formatting. |
GMTOffset | The time zone of the Value property used if CurrentTimeZone = False. |
MaskInfo | Edit mask settings. |
NullText | String representing a DbNull value. |
Padding | Gets or sets the padding within the control. |
Tag | Gets or sets the object that contains data about the control. |
Text | The current text in the control. |
TextDetached | Specifies whether the Value and Text properties can be set independently. |
TrimEnd | If True, trailing spaces are removed. |
TrimStart | If True, leading spaces are removed. |
UseFieldStyle | Indicates whether to honor the ColumnStyle properties defined on the C1ViewColumn object that this control is bound to. |
UserCultureOverride | If True, current user regional settings override the selected culture. |
Value | Gets or sets the current DataType representation of the visual information contained in the control. |
ValueIsDbNull | Gets or sets a value indicating whether the Value is DbNull. |
VisualStyle | Gets or sets the visual style of the control. |
Name | Description |
---|---|
BeginInit() | |
Dispose(bool) | Releases the resources used by the C1Label. |
EndInit() | |
GetPreferredSize(Size) | Retrieves the size of a rectangular area into which a control can be fitted. |
OnBackColorChanged(EventArgs) | |
OnBindingFormatting(ConvertEventArgs) | Invokes the BindingFormatting event. |
OnBorderColorChanged(EventArgs) | Raises the BorderColorChanged event. |
OnCultureInfoSetup(CultureInfoSetupEventArgs) | Invokes the CultureInfoSetup event. |
OnDataTypeChanged(EventArgs) | Invokes the DataTypeChanged event. |
OnForeColorChanged(EventArgs) | |
OnFormatError(FormatErrorEventArgs) | Invokes the FormatError event. |
OnFormatted(FormatEventArgs) | Invokes the Formatted event. |
OnFormatting(FormatEventArgs) | Invokes the Formatting event. |
OnPaint(PaintEventArgs) | |
OnValueChanged(EventArgs) | Invokes the ValueChanged event. |
OnVisualStyleChanged(EventArgs) | Invokes the VisualStyleChanged event. |
ResetText() | |
WndProc(ref Message) |
Name | Description |
---|---|
BindingFormatting | Occurs when Value is retrieved from the data source. |
BorderColorChanged | Occurs when the BorderColor property has changed. |
CultureInfoSetup | CultureInfo can be set up (on startup) or has been changed. |
DataTypeChanged | Occurs when the DataType property changes. |
FormatError | Error occured while formatting the stored value. |
Formatted | Occurs after the value has been formatted. |
Formatting | Formatting the value programmatically. |
ValueChanged | Occurs when the Value changes. |
VisualStyleChanged | Occurs when the VisualStyle property has changed. |