Provides a Markup
- Inheritance:
-
object
Marshal
By DisposableRef Object Object LogicalTree UIElement MarkupNode Base Label objectUIElement
Constructors
MarkupLabelImageUIElement(MarkupLabelElement, Image)
Initializes a new instance of the MarkupLabelImageUIElement
class.
Parameter | Type | Description |
---|---|---|
element | Markup |
The Markup |
image | Image | The image of the element. |
Properties
Descent
Gets the descent from the baseline that the element has.
Property Value
- int:
The descent from the baseline that the element has.
Image
Gets the Image represented by this element.
Methods
DpiScaleChanged(SizeF)
Called when the DPI-based scale factor of the element changes.
Parameter | Type | Description |
---|---|---|
scaleFactor | Size |
The new scale factor where Width is applied to the x-axis, and Height is applied to the y-axis. |
See Also
MeasureOverride(Graphics, Size)
Measures the size in layout required for child elements and determines a size for the element itself.
Parameter | Type | Description |
---|---|---|
g | Graphics | The Graphics object to use for measurement. |
availableSize | Size | The available size that this element can give to child elements. Infinity can be specified as a value to indicate that the element will size to whatever content is available. |
Returns
- Size:
The size that this element determines it needs during layout, based on its calculations of child element sizes.
OnRender(PaintEventArgs)
Renders the element.
Parameter | Type | Description |
---|---|---|
e | Paint |
A Paint |
Inherited Members
-
Markup
Label UIElement. Get Cursor(Point) -
Markup
Label UIElement. Get Draw State() -
Markup
Label UIElement. On Mouse Up(Mouse Event Args) -
Markup
Label UIElement. Capture Mouse When Pressed -
Markup
Label UIElement. Element -
Markup
Label UIElement. Invalidate On Mouse Events -
Markup
Label UIElement. Hard Line Break Before -
UIElement.
logger -
UIElement.
Dispose(bool) -
UIElement.
Add Pending Graphics Inversion(Rectangle) -
UIElement.
Add Pending Scroll Operation(Rectangle, Orientation, int) -
UIElement.
Add Pending Scroll Operation(Rectangle, int, int) -
UIElement.
Arrange(Rectangle) -
UIElement.
Arrange Override(Size) -
UIElement.
Capture Mouse() -
UIElement.
Contains Location(Point) -
UIElement.
Create Graphics() -
UIElement.
Invalidate() -
UIElement.
Invalidate(Rectangle) -
UIElement.
Invalidate(Invalidation Levels, Invalidation Types) -
UIElement.
Invalidate Arrange() -
UIElement.
Invalidate Measure() -
UIElement.
Measure(Graphics, Size) -
UIElement.
On Click(Mouse Event Args) -
UIElement.
On Double Click(Mouse Event Args) -
UIElement.
On Mouse Capture Lost(Event Args) -
UIElement.
On Mouse Down(Mouse Event Args) -
UIElement.
On Mouse Enter(Mouse Event Args) -
UIElement.
On Mouse Hover(Mouse Event Args) -
UIElement.
On Mouse Leave(Mouse Event Args) -
UIElement.
On Mouse Move(Mouse Event Args) -
UIElement.
On Mouse Wheel(Mouse Event Args) -
UIElement.
On Parent Changed() -
UIElement.
On Render Child Elements(Paint Event Args) -
UIElement.
On Resize(Event Args) -
UIElement.
Post Arrange Override() -
UIElement.
Release Mouse Capture() -
UIElement.
Render(Paint Event Args) -
UIElement.
Transform To Ancestor(IUIElement) -
UIElement.
Transform To Descendant(IUIElement) -
UIElement.
Update Layout() -
UIElement.
Actual Height -
UIElement.
Actual Width -
UIElement.
Bounds -
UIElement.
Clip Bounds -
UIElement.
Desired Size -
UIElement.
Dpi Scale Factor -
UIElement.
Is Arrange Valid -
UIElement.
Is Measure Valid -
UIElement.
Is Mouse Captured -
UIElement.
Is Right To Left -
UIElement.
Size -
UIElement.
Visual Offset -
UIElement.
Click -
UIElement.
Double Click -
UIElement.
Mouse Capture Lost -
UIElement.
Mouse Down -
UIElement.
Mouse Enter -
UIElement.
Mouse Hover -
UIElement.
Mouse Leave -
UIElement.
Mouse Move -
UIElement.
Mouse Up -
UIElement.
Mouse Wheel -
UIElement.
Resize -
Logical
Tree Node Base. Create Children() -
Disposable
Object. Dispose() -
Disposable
Object. Verify Not Disposed() -
Disposable
Object. Is Disposed -
Disposable
Object. Disposed -
Marshal
By Ref Object. Get Lifetime Service() -
Marshal
By Ref Object. Initialize Lifetime Service() -
Marshal
By Ref Object. Memberwise Clone(bool) -
object.
Get Type() -
object.
Memberwise Clone() -
object.
To String() -
object.
Equals(object) -
object.
Equals(object, object) -
object.
Reference Equals(object, object) -
object.
Get Hash Code()
Extension Methods
-
Dpi
Aware Element Extensions. Auto Scale Font(IDpi Aware Element, Font) -
Dpi
Aware Element Extensions. Auto Scale Font Size(IDpi Aware Element, float) -
Dpi
Aware Element Extensions. Scale Logical Value(IDpi Aware Element, Padding) -
Dpi
Aware Element Extensions. Scale Logical Value(IDpi Aware Element, Point) -
Dpi
Aware Element Extensions. Scale Logical Value(IDpi Aware Element, Rectangle) -
Dpi
Aware Element Extensions. Scale Logical Value(IDpi Aware Element, Size) -
Dpi
Aware Element Extensions. Scale Logical Value(IDpi Aware Element, Size F) -
Dpi
Aware Element Extensions. Scale Logical Value(IDpi Aware Element, int) -
Dpi
Aware Element Extensions. Scale Logical Value(IDpi Aware Element, float) -
Dpi
Aware Element Extensions. Scale Logical Value(IDpi Aware Element, Padding) -
Dpi
Aware Element Extensions. Synchronize Scale Factor With Children(IDpi Aware Element)