CustomTargetLabel Class
Represents a label that can designate another control as its access key target.
Namespace: Microsoft.WindowsServerSolutions.Controls
Assembly: AdminCommon (in AdminCommon.dll)
Inheritance Hierarchy
System.Object
System.MarshalByRefObject
System.ComponentModel.Component
System.Windows.Forms.Control
System.Windows.Forms.Label
Microsoft.WindowsServerSolutions.Controls.CustomTargetLabel
Syntax
public class CustomTargetLabel : Label
public ref class CustomTargetLabel : Label
Public Class CustomTargetLabel
Inherits Label
Constructors
Name | Description | |
---|---|---|
CustomTargetLabel() | Initializes a new instance of the CustomTargetLabel class without an associated access key target. |
|
CustomTargetLabel(Control) | Initializes a new instance of the CustomTargetLabel class with an associated access key target. |
Properties
Name | Description | |
---|---|---|
AccessibilityObject | (Inherited from Control.) |
|
AccessibleDefaultActionDescription | (Inherited from Control.) |
|
AccessibleDescription | (Inherited from Control.) |
|
AccessibleName | (Inherited from Control.) |
|
AccessibleRole | (Inherited from Control.) |
|
AccessKeyTarget | Gets or sets the control that is associated with this label through the access key. |
|
AllowDrop | (Inherited from Control.) |
|
Anchor | (Inherited from Control.) |
|
AutoEllipsis | (Inherited from Label.) |
|
AutoScrollOffset | (Inherited from Control.) |
|
AutoSize | (Inherited from Label.) |
|
BackColor | (Inherited from Control.) |
|
BackgroundImage | (Inherited from Control.) |
|
BackgroundImageLayout | (Inherited from Control.) |
|
BindingContext | (Inherited from Control.) |
|
BorderStyle | (Inherited from Label.) |
|
Bottom | (Inherited from Control.) |
|
Bounds | (Inherited from Control.) |
|
CanEnableIme | (Inherited from Control.) |
|
CanFocus | (Inherited from Control.) |
|
CanRaiseEvents | (Inherited from Control.) |
|
CanSelect | (Inherited from Control.) |
|
Capture | (Inherited from Control.) |
|
CausesValidation | (Inherited from Control.) |
|
ClientRectangle | (Inherited from Control.) |
|
ClientSize | (Inherited from Control.) |
|
CompanyName | (Inherited from Control.) |
|
Container | (Inherited from Component.) |
|
ContainsFocus | (Inherited from Control.) |
|
ContextMenu | (Inherited from Control.) |
|
ContextMenuStrip | (Inherited from Control.) |
|
Controls | (Inherited from Control.) |
|
Created | (Inherited from Control.) |
|
CreateParams | (Inherited from Label.) |
|
Cursor | (Inherited from Control.) |
|
DataBindings | (Inherited from Control.) |
|
DefaultCursor | (Inherited from Control.) |
|
DefaultImeMode | (Inherited from Label.) |
|
DefaultMargin | (Inherited from Label.) |
|
DefaultMaximumSize | (Inherited from Control.) |
|
DefaultMinimumSize | (Inherited from Control.) |
|
DefaultPadding | (Inherited from Control.) |
|
DefaultSize | (Inherited from Label.) |
|
DesignMode | (Inherited from Component.) |
|
DisplayRectangle | (Inherited from Control.) |
|
Disposing | (Inherited from Control.) |
|
Dock | (Inherited from Control.) |
|
DoubleBuffered | (Inherited from Control.) |
|
Enabled | (Inherited from Control.) |
|
Events | (Inherited from Component.) |
|
FlatStyle | (Inherited from Label.) |
|
Focused | (Inherited from Control.) |
|
Font | (Inherited from Control.) |
|
FontHeight | (Inherited from Control.) |
|
ForeColor | (Inherited from Control.) |
|
Handle | (Inherited from Control.) |
|
HasChildren | (Inherited from Control.) |
|
Height | (Inherited from Control.) |
|
Image | (Inherited from Label.) |
|
ImageAlign | (Inherited from Label.) |
|
ImageIndex | (Inherited from Label.) |
|
ImageKey | (Inherited from Label.) |
|
ImageList | (Inherited from Label.) |
|
ImeMode | (Inherited from Control.) |
|
ImeModeBase | (Inherited from Control.) |
|
InvokeRequired | (Inherited from Control.) |
|
IsAccessible | (Inherited from Control.) |
|
IsDisposed | (Inherited from Control.) |
|
IsHandleCreated | (Inherited from Control.) |
|
IsMirrored | (Inherited from Control.) |
|
LayoutEngine | (Inherited from Control.) |
|
Left | (Inherited from Control.) |
|
Location | (Inherited from Control.) |
|
Margin | (Inherited from Control.) |
|
MaximumSize | (Inherited from Control.) |
|
MinimumSize | (Inherited from Control.) |
|
Name | (Inherited from Control.) |
|
Padding | (Inherited from Control.) |
|
Parent | (Inherited from Control.) |
|
PreferredHeight | (Inherited from Label.) |
|
PreferredSize | (Inherited from Control.) |
|
PreferredWidth | (Inherited from Label.) |
|
ProductName | (Inherited from Control.) |
|
ProductVersion | (Inherited from Control.) |
|
RecreatingHandle | (Inherited from Control.) |
|
Region | (Inherited from Control.) |
|
RenderRightToLeft | (Inherited from Control.) |
|
RenderTransparent | (Inherited from Label.) |
|
ResizeRedraw | (Inherited from Control.) |
|
Right | (Inherited from Control.) |
|
RightToLeft | (Inherited from Control.) |
|
ScaleChildren | (Inherited from Control.) |
|
ShowFocusCues | (Inherited from Control.) |
|
ShowKeyboardCues | (Inherited from Control.) |
|
Site | (Inherited from Control.) |
|
Size | (Inherited from Control.) |
|
TabIndex | (Inherited from Control.) |
|
TabStop | (Inherited from Control.) |
|
Tag | (Inherited from Control.) |
|
Text | (Inherited from Label.) |
|
TextAlign | (Inherited from Label.) |
|
Top | (Inherited from Control.) |
|
TopLevelControl | (Inherited from Control.) |
|
UseCompatibleTextRendering | (Inherited from Label.) |
|
UseMnemonic | (Inherited from Label.) |
|
UseWaitCursor | (Inherited from Control.) |
|
Visible | (Inherited from Control.) |
|
Width | (Inherited from Control.) |
Methods
Events
Name | Description | |
---|---|---|
AutoSizeChanged | (Inherited from Label.) |
|
BackColorChanged | (Inherited from Control.) |
|
BackgroundImageChanged | (Inherited from Control.) |
|
BackgroundImageLayoutChanged | (Inherited from Control.) |
|
BindingContextChanged | (Inherited from Control.) |
|
CausesValidationChanged | (Inherited from Control.) |
|
ChangeUICues | (Inherited from Control.) |
|
Click | (Inherited from Control.) |
|
ClientSizeChanged | (Inherited from Control.) |
|
ContextMenuChanged | (Inherited from Control.) |
|
ContextMenuStripChanged | (Inherited from Control.) |
|
ControlAdded | (Inherited from Control.) |
|
ControlRemoved | (Inherited from Control.) |
|
CursorChanged | (Inherited from Control.) |
|
Disposed | (Inherited from Component.) |
|
DockChanged | (Inherited from Control.) |
|
DoubleClick | (Inherited from Control.) |
|
DragDrop | (Inherited from Control.) |
|
DragEnter | (Inherited from Control.) |
|
DragLeave | (Inherited from Control.) |
|
DragOver | (Inherited from Control.) |
|
EnabledChanged | (Inherited from Control.) |
|
Enter | (Inherited from Control.) |
|
FontChanged | (Inherited from Control.) |
|
ForeColorChanged | (Inherited from Control.) |
|
GiveFeedback | (Inherited from Control.) |
|
GotFocus | (Inherited from Control.) |
|
HandleCreated | (Inherited from Control.) |
|
HandleDestroyed | (Inherited from Control.) |
|
HelpRequested | (Inherited from Control.) |
|
ImeModeChanged | (Inherited from Control.) |
|
Invalidated | (Inherited from Control.) |
|
KeyDown | (Inherited from Control.) |
|
KeyPress | (Inherited from Control.) |
|
KeyUp | (Inherited from Control.) |
|
Layout | (Inherited from Control.) |
|
Leave | (Inherited from Control.) |
|
LocationChanged | (Inherited from Control.) |
|
LostFocus | (Inherited from Control.) |
|
MarginChanged | (Inherited from Control.) |
|
MouseCaptureChanged | (Inherited from Control.) |
|
MouseClick | (Inherited from Control.) |
|
MouseDoubleClick | (Inherited from Control.) |
|
MouseDown | (Inherited from Control.) |
|
MouseEnter | (Inherited from Control.) |
|
MouseHover | (Inherited from Control.) |
|
MouseLeave | (Inherited from Control.) |
|
MouseMove | (Inherited from Control.) |
|
MouseUp | (Inherited from Control.) |
|
MouseWheel | (Inherited from Control.) |
|
Move | (Inherited from Control.) |
|
PaddingChanged | (Inherited from Control.) |
|
Paint | (Inherited from Control.) |
|
ParentChanged | (Inherited from Control.) |
|
PreviewKeyDown | (Inherited from Control.) |
|
QueryAccessibilityHelp | (Inherited from Control.) |
|
QueryContinueDrag | (Inherited from Control.) |
|
RegionChanged | (Inherited from Control.) |
|
Resize | (Inherited from Control.) |
|
RightToLeftChanged | (Inherited from Control.) |
|
SizeChanged | (Inherited from Control.) |
|
StyleChanged | (Inherited from Control.) |
|
SystemColorsChanged | (Inherited from Control.) |
|
TabIndexChanged | (Inherited from Control.) |
|
TabStopChanged | (Inherited from Control.) |
|
TextAlignChanged | (Inherited from Label.) |
|
TextChanged | (Inherited from Control.) |
|
Validated | (Inherited from Control.) |
|
Validating | (Inherited from Control.) |
|
VisibleChanged | (Inherited from Control.) |
Explicit Interface Implementations
Name | Description | |
---|---|---|
IDropTarget.OnDragDrop(DragEventArgs) | (Inherited from Control.) |
|
IDropTarget.OnDragEnter(DragEventArgs) | (Inherited from Control.) |
|
IDropTarget.OnDragLeave(EventArgs) | (Inherited from Control.) |
|
IDropTarget.OnDragOver(DragEventArgs) | (Inherited from Control.) |
Remarks
When the user activates the label through a mnemonic key, the action also activates the control that is specified by the AccessKeyTarget property.
This class was ported over from a Windows Home Server library (HomeServerControls.dll), where it was known as WizardPageBoldLabel. CustomTargetLabel, however, does not include functionality that preconfigured colors and fonts, and only the ability to designated custom access target control was retained from WizardPageBoldLabel.
Thread Safety
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Microsoft.WindowsServerSolutions.Controls Namespace
Return to top