Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

HandwritingView.PlacementAlignment Property

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.

Gets or sets a value that specifies the anchor point used to place the handwriting view over the control.

public:
 property HandwritingPanelPlacementAlignment PlacementAlignment { HandwritingPanelPlacementAlignment get(); void set(HandwritingPanelPlacementAlignment value); };
HandwritingPanelPlacementAlignment PlacementAlignment();

void PlacementAlignment(HandwritingPanelPlacementAlignment value);
public HandwritingPanelPlacementAlignment PlacementAlignment { get; set; }
var handwritingPanelPlacementAlignment = handwritingView.placementAlignment;
handwritingView.placementAlignment = handwritingPanelPlacementAlignment;
Public Property PlacementAlignment As HandwritingPanelPlacementAlignment

Property Value

An enunmeration value that specifies the anchor point used to place the handwriting view. The default is Auto.

Examples

Here, we show how to use the PlacementAlignment​ property of a TextBox HandwritingView to specify which anchor on the underlying text control is used to align the handwriting view. ​

<TextBox Name="SampleTextBox"​
 Height="50" Width="500" ​
 FontSize="36" FontFamily="Segoe UI" ​
 PlaceholderText="Try taping with your pen">​
 <TextBox.HandwritingView>​
 <HandwritingView PlacementAlignment="TopLeft"/>​
 </TextBox.HandwritingView>​
</TextBox>​

Remarks

The enumeration has these values: Auto, TopLeft, TopRight, BottomLeft, and BottomRight.

Applies to

See also


Feedback

Was this page helpful?