InkCanvas.SetRight(UIElement, Double) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the value of the Right attached property for a given dependency object.
public:
static void SetRight(System::Windows::UIElement ^ element, double length);
public static void SetRight (System.Windows.UIElement element, double length);
static member SetRight : System.Windows.UIElement * double -> unit
Public Shared Sub SetRight (element As UIElement, length As Double)
Parameters
- element
- UIElement
The element on which to set the right property.
- length
- Double
The right coordinate of element
.
Examples
The following example demonstrates how to set the position of a Button.
InkCanvas.SetRight(button1, 100);
InkCanvas.SetRight(button1, 100)
Applies to
Werk met ons samen op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en bekijken. Raadpleeg onze gids voor inzenders voor meer informatie.