Shape Class |
Namespace: Windows.UI.Xaml.Shapes
public abstract class Shape : FrameworkElement
The Shape type exposes the following members.
Name | Description | |
---|---|---|
![]() | CapturePointer |
Sets pointer capture to a UIElement.
(Inherited from UIElement.) |
![]() | CreateDomChildWrapper |
When overriden, creates a dom wrapper for each child that is added to the UIElement.
(Inherited from UIElement.) |
![]() | CreateDomElement |
Provides a base implementation for creating the dom elements designed to represent an instance of a FrameworkElement and defines the place where its child(ren) will be added.
(Inherited from FrameworkElement.) |
![]() | Equals(Object) | (Inherited from Object.) |
![]() | FindName |
Retrieves an object that has the specified identifier name.
(Inherited from FrameworkElement.) |
![]() | GetChildsWrapper | (Inherited from UIElement.) |
![]() | GetDomElementWhereToPlaceChild | (Inherited from UIElement.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | GetValue |
Returns the current effective value of a dependency property from a DependencyObject.
(Inherited from DependencyObject.) |
![]() | GetVisualStateValue | (Inherited from DependencyObject.) |
![]() | ManageIsEnabled | (Inherited from FrameworkElement.) |
![]() | ManageStrokeChanged | |
![]() | ManageStrokeThicknessChanged | |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | OnAfterApplyHorizontalAlignmentAndWidth | (Inherited from FrameworkElement.) |
![]() | OnAfterApplyVerticalAlignmentAndWidth | (Inherited from FrameworkElement.) |
![]() | OnApplyTemplate |
Invoked whenever application code or internal processes (such as a rebuilding
layout pass) call ApplyTemplate. In simplest terms, this means the method
is called just before a UI element displays in your app. Override this method
to influence the default post-template logic of a class.
(Inherited from FrameworkElement.) |
![]() | OnGotFocus |
Raises the GotFocus event
(Inherited from UIElement.) |
![]() | OnKeyDown |
Raises the KeyDown event
(Inherited from UIElement.) |
![]() | OnKeyUp |
Raises the KeyUp event
(Inherited from UIElement.) |
![]() | OnLostFocus |
Raises the LostFocus event
(Inherited from UIElement.) |
![]() | OnPointerEntered |
Raises the PointerEntered event
(Inherited from UIElement.) |
![]() | OnPointerExited |
Raises the PointerExited event
(Inherited from UIElement.) |
![]() | OnPointerMoved | (Inherited from UIElement.) |
![]() | OnPointerPressed |
Raises the PointerPressed event
(Inherited from UIElement.) |
![]() | OnPointerReleased |
Raises the PointerReleased event
(Inherited from UIElement.) |
![]() | OnTapped |
Raises the Tapped event
(Inherited from UIElement.) |
![]() | ReadLocalValue |
Returns the local value of a dependency property, if a local value is set.
(Inherited from DependencyObject.) |
![]() | Redraw | |
![]() | Refresh | |
![]() | ReleasePointerCapture |
Releases pointer captures for capture of one specific pointer by this UIElement.
(Inherited from UIElement.) |
![]() | SetBinding |
Attaches a binding to a FrameworkElement, using the provided binding object.
(Inherited from DependencyObject.) |
![]() | SetInheritedValue |
Sets the inherited value of a dependency property on a DependencyObject. Do not use this method.
(Inherited from DependencyObject.) |
![]() | SetLocalValue |
Sets the local value of a dependency property on a DependencyObject while not overriding a hypothetical Binding (example: when the user writes in a TextBox with a two way Binding on its Text property).
(Inherited from DependencyObject.) |
![]() | SetValue |
Sets the local value of a dependency property on a DependencyObject.
(Inherited from DependencyObject.) |
![]() | SetVisualStateValue | (Inherited from DependencyObject.) |
![]() ![]() | Stretch_Changed | |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | TransformToVisual |
Returns a transform object that can be used to transform coordinates from
the UIElement to the specified object.
(Inherited from UIElement.) |
Name | Description | |
---|---|---|
![]() | _canvasDomElement | |
![]() ![]() | FillProperty |
Identifies the Fill dependency property.
|
![]() ![]() | StretchProperty |
Identifies the Stretch dependency property.
|
![]() ![]() | StrokeEndLineCapProperty |
Identifies the StrokeEndLineCap dependency property.
|
![]() ![]() | StrokeLineJoinProperty |
Identifies the StrokeLineJoin dependency property.
|
![]() ![]() | StrokeMiterLimitProperty |
Identifies the StrokeMiterLimit dependency property.
|
![]() ![]() | StrokeProperty |
Identifies the Stroke dependency property.
|
![]() ![]() | StrokeStartLineCapProperty |
Identifies the StrokeStartLineCap dependency property.
|
![]() ![]() | StrokeThicknessProperty |
Identifies the StrokeThickness dependency property.
|
Name | Description | |
---|---|---|
![]() | ActualHeight |
Gets the rendered height of a FrameworkElement. The FrameworkElement must be in the visual tree,
otherwise this property will return double.NaN.
(Inherited from FrameworkElement.) |
![]() | ActualWidth |
Gets the rendered width of a FrameworkElement. The FrameworkElement must be in the visual tree,
otherwise this property will return double.NaN.
(Inherited from FrameworkElement.) |
![]() | Cursor |
Gets or sets the cursor that displays when the mouse pointer is over this
element.
(Inherited from FrameworkElement.) |
![]() | DataContext |
Gets or sets the data context for a FrameworkElement when it participates
in data binding.
(Inherited from FrameworkElement.) |
![]() | Dispatcher |
Gets the CoreDispatcher that this object is associated with.
(Inherited from DependencyObject.) |
![]() | Effect | (Inherited from UIElement.) |
![]() | Fill |
Gets or sets the Brush that specifies how to paint the interior of the shape.
|
![]() | Height |
Gets or sets the suggested height of a FrameworkElement.
(Inherited from FrameworkElement.) |
![]() | HorizontalAlignment |
Gets or sets the horizontal alignment characteristics that are applied to
a FrameworkElement when it is composed in a layout parent, such as a panel
or items control.
(Inherited from FrameworkElement.) |
![]() | IsEnabled |
Gets or sets a value indicating whether the user can interact with the control.
(Inherited from FrameworkElement.) |
![]() | IsHitTestVisible |
Gets or sets whether the contained area of this UIElement can return true
values for hit testing.
(Inherited from FrameworkElement.) |
![]() | IsLoaded |
Gets a value that indicates whether this element is in the Visual Tree, that is, if it has been loaded for presentation.
(Inherited from FrameworkElement.) |
![]() | Margin |
Gets or sets the outer margin of a FrameworkElement.
(Inherited from FrameworkElement.) |
![]() | Name |
Gets or sets the identifying name of the object. When a XAML processor creates
the object tree from XAML markup, run-time code can refer to the XAML-declared
object by this name.
(Inherited from FrameworkElement.) |
![]() | Opacity |
Gets or sets the degree of the object's opacity.
A value between 0 and 1.0 that declares the opacity factor, with 1.0 meaning
full opacity and 0 meaning transparent. The default value is 1.0.
(Inherited from UIElement.) |
![]() | RenderTransform |
Gets or sets transform information that affects the rendering position of
a UIElement.
(Inherited from UIElement.) |
![]() | RenderTransformOrigin | (Inherited from UIElement.) |
![]() | Resources |
Gets the locally defined resource dictionary. In XAML, you can establish
resource items as child object elements of a frameworkElement.Resources property
element, through XAML implicit collection syntax.
(Inherited from FrameworkElement.) |
![]() | Stretch |
Gets or sets a Stretch enumeration value that describes how the shape fills
its allocated space.
|
![]() | Stroke |
Gets or sets the Brush that specifies how the Shape outline is painted.
|
![]() | StrokeEndLineCap |
Gets or sets a PenLineCap enumeration value that describes the Shape at the
end of a line. The default is Flat.
|
![]() | StrokeLineJoin |
Gets or sets a PenLineJoin enumeration value that specifies the type of join
that is used at the vertices of a Shape. The default value is Miter.
|
![]() | StrokeMiterLimit |
Gets or sets a limit on the ratio of the miter length to half the StrokeThickness
of a Shape element. This value is always a positive number that is greater than
or equal to 1.
|
![]() | StrokeStartLineCap |
Gets or sets a PenLineCap enumeration value that describes the Shape at the
start of a Stroke. The default is Flat.
|
![]() | StrokeThickness |
Gets or sets the width of the Shape stroke outline.
|
![]() | Style |
Gets or sets an instance Style that is applied for this object during rendering.
(Inherited from FrameworkElement.) |
![]() | Tag |
Gets or sets an arbitrary object value that can be used to store custom information
about this object.
(Inherited from FrameworkElement.) |
![]() | UseLayoutRounding |
Gets or sets a value that determines whether rendering for the object and
its visual subtree should use rounding behavior that aligns rendering to
whole pixels.
(Inherited from UIElement.) |
![]() | VerticalAlignment |
Gets or sets the vertical alignment characteristics that are applied to a
FrameworkElement when it is composed in a parent object such as a panel or
items control.
(Inherited from FrameworkElement.) |
![]() | Visibility |
Gets or sets the visibility of a UIElement. A UIElement that is not visible
is not rendered and does not communicate its desired size to layout.
(Inherited from UIElement.) |
![]() | Width |
Gets or sets the width of a FrameworkElement.
(Inherited from FrameworkElement.) |
Name | Description | |
---|---|---|
![]() | GotFocus |
Occurs when the pointer device that previously initiated a Press action is
pressed, while within this element.
Note that ONLY sender's informations are currently filled (not pointer's)
(Inherited from UIElement.) |
![]() | KeyDown |
Occurs when a keyboard key is pressed while the UIElement has focus.
(Inherited from UIElement.) |
![]() | KeyUp |
Occurs when a keyboard key is released while the UIElement has focus.
(Inherited from UIElement.) |
![]() | Loaded |
Occurs when a FrameworkElement has been constructed and added to the object tree.
(Inherited from FrameworkElement.) |
![]() | LostFocus |
Occurs when a UIElement loses focus.
(Inherited from UIElement.) |
![]() | PointerEntered |
Occurs when a pointer enters the hit test area of this element.
(Inherited from UIElement.) |
![]() | PointerExited |
Occurs when a pointer leaves the hit test area of this element.
(Inherited from UIElement.) |
![]() | PointerMoved |
Occurs when the pointer device that previously initiated a Press action is
moved, while within this element.
(Inherited from UIElement.) |
![]() | PointerPressed |
Occurs when the pointer device that previously initiated a Press action is
pressed, while within this element.
(Inherited from UIElement.) |
![]() | PointerReleased |
Occurs when the pointer device that previously initiated a Press action is
released, while within this element.
(Inherited from UIElement.) |
![]() | Tapped |
Occurs when an otherwise unhandled Tap interaction occurs over the hit test
area of this element.
(Inherited from UIElement.) |
![]() | Unloaded |
Occurs when this object is no longer connected to the main object tree.
(Inherited from FrameworkElement.) |