Skip to content

MarkupTextBlock Object Members

See Also

MarkupTextBlock Overview

See Also

Markup ActiveX Control v24.0

Public Methods

Method Description
Public MethodAddHandler Associates an event with an event handler at run time, or declares what code to execute when adding an event handler.
Public MethodCaptureMouse Attempts to force capture of the mouse to this element.
Public MethodFindName Finds an element that has the provided identifier name.
Public MethodGetBoundingRect
Public MethodReleaseMouseCapture Releases the mouse capture, if this element held the capture.

Public Properties

Property Description
Public PropertyActualHeight Gets or sets a value that indicates the suggested height of the element.
Public PropertyActualWidth Gets or sets a value that indicates the suggested width of the element.
Public PropertyBackground MarkupBrush used to fill the background of the content area.
Public PropertyClipToBounds
Public PropertyCursor Represents the image used for the mouse pointer.
Public PropertyFocusable
Public PropertyFontFamily Gets or sets the preferred top-level font family for the MarkupTextBlock.
Public PropertyFontQuality Specifies the level of font quality.
Public PropertyFontSize Gets or sets the top-level font size for the MarkupTextBlock.
Public PropertyFontStyle Gets or sets the top-level font style for the MarkupTextBlock.
Public PropertyFontWeight Gets or sets the top-level font weight for the MarkupTextBlock.
Public PropertyForeground MarkupBrush to apply to the text contents of the MarkupTextBlock.
Public PropertyHeight
Public PropertyHorizontalAlignment Gets or sets the horizontal alignment characteristics applied to this element when it is composed within a parent element, such as a panel or items control.
Public PropertyInlines Gets a MarkupInlineCollection containing the top-level MarkupInline elements that comprise the contents of the element.
Public PropertyIsEnabled Gets or sets a value indicating whether the element is enabled.
Public PropertyIsMouseOver Gets a value indicating whether the mouse pointer is located over this element (including child elements in the visual tree).
Public PropertyLostMouseCapture Occurs when this element loses mouse capture.
Public PropertyLostMouseCaptureEvent
Public PropertyMargin Gets or sets the outer margin of an element.
Public PropertyMaxHeight Gets or sets the maximum height constraint of the element.
Public PropertyMaxWidth Gets or sets the maximum width constraint of the element.
Public PropertyMinHeight Gets or sets the minimum height constraint of the element.
Public PropertyMinWidth Gets or sets the minimum width constraint of the element.
Public PropertyMouseEnter Occurs when the mouse pointer enters the bounds of this element.
Public PropertyMouseEnterEvent
Public PropertyMouseLeave Occurs when the mouse pointer leaves the bounds of this element.
Public PropertyMouseLeaveEvent
Public PropertyMouseLeftButtonDown Occurs when the left mouse button is pressed while the mouse pointer is over the element.
Public PropertyMouseLeftButtonDownEvent
Public PropertyMouseLeftButtonUp Occurs when the left mouse button is released while the mouse pointer is over the element.
Public PropertyMouseLeftButtonUpEvent
Public PropertyMouseMove Occurs when the mouse pointer moves while the mouse pointer is over the element.
Public PropertyMouseMoveEvent
Public PropertyMouseRightButtonDown Occurs when the right mouse button is pressed while the mouse pointer is over the element.
Public PropertyMouseRightButtonDownEvent
Public PropertyMouseRightButtonUp Occurs when the right mouse button is released while the mouse pointer is over the element.
Public PropertyMouseRightButtonUpEvent
Public PropertyName Gets or sets the identifying name of the element.
Public PropertyOpacity
Public PropertyPadding Gets or sets a value that indicates the thickness of padding space between the boundaries of the content area, and the content displayed by a MarkupTextBlock.
Public PropertyRenderTransform
Public PropertyTag Gets or sets an arbitrary object value that can be used to store custom information about this element.
Public PropertyText Gets or sets the text contents of a MarkupTextBlock.
Public PropertyTextAlignment Gets or sets a value that indicates the horizontal alignment of text content.
Public PropertyTextDecorations MarkupTextDecorations value that contains the effects to apply to the text of a MarkupTextBlock.
Public PropertyTextTrimming Gets or sets the text trimming behavior to employ when content overflows the content area.
Public PropertyTextWrapping Gets or sets how the MarkupTextBlock should wrap text.
Public PropertyToolTip Tooltip displayed for this object when the mouse cursor is positioned on top of it.
Public PropertyVerticalAlignment Gets or sets the vertical alignment characteristics applied to this element when it is composed within a parent element such as a panel or items control.
Public PropertyVisibility
Public PropertyVisualParent Gets the visual tree parent of the visual object.
Public PropertyWidth

See Also

MarkupTextBlock Overview


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.