BarTextBoxLink Class
Represents a bar textbox command link.
public class BarTextBoxLink : BarCustomControlLink, IInputElement, IUIElement, ILogicalTreeNode, IDisposable, IImageListProvider
- Inheritance:
- Object MarshalByRefObject DisposableObject LogicalTreeNodeBase UIElement BarCommandLink BarCustomControlLink Object
Constructors
BarTextBoxLink(BarTextBoxCommand)
Initializes a new instance of the BarTextBoxLink
class.
public BarTextBoxLink(BarTextBoxCommand command)
Parameter | Type | Description |
---|---|---|
command | BarTextBoxCommand | The BarCommand upon which the link is based. |
Properties
Command
Gets the BarTextBoxCommand to link to.
public BarTextBoxCommand Command { get; }
Property Value
- BarTextBoxCommand:
The BarTextBoxCommand to link to.
InvalidateOnMouseEvents
Gets whether to invalidate the element when mouse events occur.
protected override bool InvalidateOnMouseEvents { get; }
Property Value
- Boolean:
true
if the element should be invalidated when mouse events occur.
Methods
ArrangeOverride(Size)
Positions child elements and determines an arrange size.
protected override Size ArrangeOverride(Size finalSize)
Parameter | Type | Description |
---|---|---|
finalSize | Size | The final area within the parent that this element should use to arrange itself and its children. |
Returns
- Size:
The actual size used.
Remarks
Element authors should override this method, call Arrange
on each visible child element and position each child element.
It is required that a parent element calls Arrange
on each child or they won't be rendered.
Dispose(Boolean)
Disposes any resources used by the object.
protected override void Dispose(bool disposing)
Parameter | Type | Description |
---|---|---|
disposing | Boolean | Whether the object is being disposed. |
Focus()
Sets focus to the control.
public override void Focus()
GetCursor(Point)
public override Cursor GetCursor(Point point)
Parameter | Type | Description |
---|---|---|
point | Point | The Point to examine. |
Returns
GetDrawState()
Gets the UIElementDrawState for the element.
public UIElementDrawState GetDrawState()
Returns
- UIElementDrawState:
The UIElementDrawState for the element.
Remarks
The default implementation of this method returns UIElementDrawState.None
.
OnLostFocus(EventArgs)
Occurs when the command link control loses focus.
protected override void OnLostFocus(EventArgs e)
Parameter | Type | Description |
---|---|---|
e | EventArgs | An |
OnMouseDown(MouseEventArgs)
Raises the MouseDown event.
protected override void OnMouseDown(MouseEventArgs e)
Parameter | Type | Description |
---|---|---|
e | MouseEventArgs | A |
OnRender(PaintEventArgs)
Renders the element.
protected override void OnRender(PaintEventArgs e)
Parameter | Type | Description |
---|---|---|
e | PaintEventArgs | A PaintEventArgs that contains the event data. |
ProcessKeyDown(Keys)
Process a key that is pressed down.
protected override DefaultableBoolean ProcessKeyDown(Keys key)
Parameter | Type | Description |
---|---|---|
key | Keys | A Keys indicating the key that was pressed. |
Returns
- DefaultableBoolean:
DefaultableBoolean.True
if the key was handled.DefaultableBoolean.Default
if the key was not handled but should be allowed to process to the appropriate control.DefaultableBoolean.False
if the key was not handled and the BarManager should process the key.
Inherited Members
- BarCustomControlLink.Blur()
- BarCustomControlLink.Blur(Boolean)
- BarCustomControlLink.OnEnabledChanged(EventArgs)
- BarCustomControlLink.OnGotFocus(EventArgs)
- BarCustomControlLink.OnParentChanged()
- BarCustomControlLink.Control
- BarCustomControlLink.ControlVisible
- BarCustomControlLink.VisibleCore
- BarCommandLink.IImageListProvider.GetImageList(Object, Object)
- BarCommandLink.ResetBeginAGroup()
- BarCommandLink.ShouldSerializeBeginAGroup()
- BarCommandLink.Clone()
- BarCommandLink.ResetDefaultImage()
- BarCommandLink.ShouldSerializeDefaultImage()
- BarCommandLink.ResetDefaultText()
- BarCommandLink.ShouldSerializeDefaultText()
- BarCommandLink.ResetDisplayStyle()
- BarCommandLink.ShouldSerializeDisplayStyle()
- BarCommandLink.ResetEnabled()
- BarCommandLink.ShouldSerializeEnabled()
- BarCommandLink.GetEnabled()
- BarCommandLink.GetImage()
- BarCommandLink.GetImageSize()
- BarCommandLink.GetMnemonic()
- BarCommandLink.GetText()
- BarCommandLink.GetToolTipText()
- BarCommandLink.ResetImage()
- BarCommandLink.ShouldSerializeImage()
- BarCommandLink.ResetImageIndex()
- BarCommandLink.ShouldSerializeImageIndex()
- BarCommandLink.IsDifferentFromDefault(BarCommandLink)
- BarCommandLink.MeasureOverride(Graphics, Size)
- BarCommandLink.ResetMergeAction()
- BarCommandLink.ShouldSerializeMergeAction()
- BarCommandLink.ResetMergeKey()
- BarCommandLink.ShouldSerializeMergeKey()
- BarCommandLink.OnMouseEnter(MouseEventArgs)
- BarCommandLink.OnMouseLeave(MouseEventArgs)
- BarCommandLink.OnIsSelectedChanged(EventArgs)
- BarCommandLink.Process(BarProcessEventArgs)
- BarCommandLink.ReadAttributesFromXml(BarLayoutXmlSerializer)
- BarCommandLink.ReadElementFromXml(BarLayoutXmlSerializer)
- BarCommandLink.ShouldDisplayImage()
- BarCommandLink.ShouldDisplayText()
- BarCommandLink.ResetText()
- BarCommandLink.ShouldSerializeText()
- BarCommandLink.ResetVisible()
- BarCommandLink.ShouldSerializeVisible()
- BarCommandLink.WriteAttributesToXml(BarLayoutXmlSerializer, BarCommandLink)
- BarCommandLink.WriteElementsToXml(BarLayoutXmlSerializer, BarCommandLink)
- BarCommandLink.BarControl
- BarCommandLink.BeginAGroup
- BarCommandLink.CommandCore
- BarCommandLink.DefaultImage
- BarCommandLink.DefaultText
- BarCommandLink.DisplayStyle
- BarCommandLink.Enabled
- BarCommandLink.HasImage
- BarCommandLink.Image
- BarCommandLink.ImageIndex
- BarCommandLink.IsClickableInCustomizeMode
- BarCommandLink.IsMergeModified
- BarCommandLink.IsSelected
- BarCommandLink.MergeAction
- BarCommandLink.MergeKey
- BarCommandLink.Mnemonic
- BarCommandLink.ScreenBounds
- BarCommandLink.Tag
- BarCommandLink.Text
- BarCommandLink.Visible
- UIElement.IInputElement.RaiseClickEvent(MouseEventArgs)
- UIElement.IInputElement.RaiseDoubleClickEvent(MouseEventArgs)
- UIElement.IInputElement.RaiseMouseDownEvent(MouseEventArgs)
- UIElement.IInputElement.RaiseMouseEnterEvent(MouseEventArgs)
- UIElement.IInputElement.RaiseMouseHoverEvent(MouseEventArgs)
- UIElement.IInputElement.RaiseMouseLeaveEvent(MouseEventArgs)
- UIElement.IInputElement.RaiseMouseMoveEvent(MouseEventArgs)
- UIElement.IInputElement.RaiseMouseUpEvent(MouseEventArgs)
- UIElement.IInputElement.RaiseMouseWheelEvent(MouseEventArgs)
- UIElement.IUIElement.GetDrawState()
- UIElement.IUIElement.HitTest(PointHitTestParameters)
- UIElement.IUIElement.HitTest(PointHitTestParameters, Func<IUIElement, PointHitTestParameters, Boolean>)
- UIElement.IUIElement.HitTestRecursive(PointHitTestParameters)
- UIElement.IUIElement.HitTestRecursive(PointHitTestParameters, Func<IUIElement, PointHitTestParameters, Boolean>)
- UIElement.IUIElement.NotifyChildDesiredSizeChanged()
- UIElement.IUIElement.NotifyMouseLeaveEvent()
- UIElement.AddPendingGraphicsInversion(Rectangle)
- UIElement.AddPendingScrollOperation(Rectangle, Orientation, Int32)
- UIElement.AddPendingScrollOperation(Rectangle, Int32, Int32)
- UIElement.Arrange(Rectangle)
- UIElement.CaptureMouse()
- UIElement.ContainsLocation(Point)
- UIElement.CreateGraphics()
- UIElement.Invalidate()
- UIElement.Invalidate(Rectangle)
- UIElement.Invalidate(InvalidationLevels, InvalidationTypes)
- UIElement.InvalidateArrange()
- UIElement.InvalidateMeasure()
- UIElement.Measure(Graphics, Size)
- UIElement.OnClick(MouseEventArgs)
- UIElement.OnDoubleClick(MouseEventArgs)
- UIElement.OnMouseHover(MouseEventArgs)
- UIElement.OnMouseMove(MouseEventArgs)
- UIElement.OnMouseUp(MouseEventArgs)
- UIElement.OnMouseWheel(MouseEventArgs)
- UIElement.OnRenderChildElements(PaintEventArgs)
- UIElement.OnResize(EventArgs)
- UIElement.PostArrangeOverride()
- UIElement.ReleaseMouseCapture()
- UIElement.Render(PaintEventArgs)
- UIElement.TransformToAncestor(IUIElement)
- UIElement.TransformToDescendant(IUIElement)
- UIElement.UpdateLayout()
- UIElement.IInputElement.IsMouseDirectlyOver
- UIElement.IUIElement.Visibility
- UIElement.ActualHeight
- UIElement.ActualWidth
- UIElement.Bounds
- UIElement.CaptureMouseWhenPressed
- UIElement.ClipBounds
- UIElement.DesiredSize
- UIElement.IsArrangeValid
- UIElement.IsMeasureValid
- UIElement.IsMouseCaptured
- UIElement.IsRightToLeft
- UIElement.Size
- UIElement.VisualOffset
- UIElement.Click
- UIElement.DoubleClick
- UIElement.MouseDown
- UIElement.MouseEnter
- UIElement.MouseHover
- UIElement.MouseLeave
- UIElement.MouseMove
- UIElement.MouseUp
- UIElement.MouseWheel
- UIElement.Resize
- LogicalTreeNodeBase.ILogicalTreeNode.FindAncestor(Type)
- LogicalTreeNodeBase.ILogicalTreeNode.GetCommonAncestor(ILogicalTreeNode)
- LogicalTreeNodeBase.ILogicalTreeNode.IsAncestorOf(ILogicalTreeNode)
- LogicalTreeNodeBase.ILogicalTreeNode.IsDescendantOf(ILogicalTreeNode)
- LogicalTreeNodeBase.CreateChildren()
- LogicalTreeNodeBase.ILogicalTreeNode.Children
- LogicalTreeNodeBase.ILogicalTreeNode.Parent
- DisposableObject.Dispose()
- DisposableObject.VerifyNotDisposed()
- DisposableObject.IsDisposed
- DisposableObject.Disposed
- MarshalByRefObject.MemberwiseClone(Boolean)
- MarshalByRefObject.GetLifetimeService()
- MarshalByRefObject.InitializeLifetimeService()
- MarshalByRefObject.CreateObjRef(Type)
- Object.ToString()
- Object.Equals(Object)
- Object.Equals(Object, Object)
- Object.ReferenceEquals(Object, Object)
- Object.GetHashCode()
- Object.GetType()
- Object.MemberwiseClone()