Skip to content

MarkupPage Object Members

See also: MarkupPage Overview

Public Methods

Member Description
AddHandler Associates an event with an event handler at run time, or declares what code to execute when adding an event handler.
CaptureMouse Attempts to force capture of the mouse to this element.
FindName Finds an element that has the provided identifier name.
GetBoundingRect Gets the bounding rectangle that represents the rendered size and position of the element.
ReleaseMouseCapture Releases the mouse capture, if this element held the capture.

Public Properties

Property / Event Description
ActualHeight Gets the rendered height of the element.
ActualWidth Gets the rendered width of the element.
ClipToBounds Gets or sets a value that indicates whether the content of the element is clipped to the element's bounds.
Content Gets or sets the content of a MarkupPage.
Cursor Represents the image used for the mouse pointer.
Focusable Gets or sets a value that indicates whether the element can receive focus.
Height Gets or sets the suggested height of the element.
HorizontalAlignment 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.
IsEnabled Gets or sets a value indicating whether the element is enabled (can respond to user interaction).
IsMouseOver Gets a value indicating whether the mouse pointer is located over this element (including child elements in the visual tree).
LostMouseCapture Occurs when this element loses mouse capture.
LostMouseCaptureEvent Event associated with when the element loses mouse capture.
Margin Gets or sets the outer margin of an element.
MaxHeight Gets or sets the maximum height constraint of the element.
MaxWidth Gets or sets the maximum width constraint of the element.
MinHeight Gets or sets the minimum height constraint of the element.
MinWidth Gets or sets the minimum width constraint of the element.
MouseEnter Occurs when the mouse pointer enters the bounds of this element.
MouseEnterEvent Event associated with when the mouse pointer enters this element.
MouseLeave Occurs when the mouse pointer leaves the bounds of this element.
MouseLeaveEvent Event associated with when the mouse pointer leaves this element.
MouseLeftButtonDown Occurs when the left mouse button is pressed while the mouse pointer is over the element.
MouseLeftButtonDownEvent Event associated with left mouse button pressed over the element.
MouseLeftButtonUp Occurs when the left mouse button is released while the mouse pointer is over the element.
MouseLeftButtonUpEvent Event associated with left mouse button released over the element.
MouseMove Occurs when the mouse pointer moves while the mouse pointer is over the element.
MouseMoveEvent Event associated with mouse movement over the element.
MouseRightButtonDown Occurs when the right mouse button is pressed while the mouse pointer is over the element.
MouseRightButtonDownEvent Event associated with right mouse button pressed over the element.
MouseRightButtonUp Occurs when the right mouse button is released while the mouse pointer is over the element.
MouseRightButtonUpEvent Event associated with right mouse button released over the element.
Name Gets or sets the identifying name of the element.
Opacity Gets or sets the opacity of the element.
RenderTransform Gets or sets the transform applied to the rendering of the element.
Tag Gets or sets an arbitrary object value that can be used to store custom information about this element.
ToolTip Tooltip displayed for this object when the mouse cursor is positioned over it.
VerticalAlignment 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.
Visibility Gets or sets the visibility of the element.
VisualParent Gets the visual tree parent of the visual object.
Width Gets or sets the suggested width of the element.

See also: MarkupPage Overview


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