HandwritingView.PlacementAlignment HandwritingView.PlacementAlignment HandwritingView.PlacementAlignment HandwritingView.PlacementAlignment Property

Definition

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

public : HandwritingPanelPlacementAlignment PlacementAlignment { get; set; }
HandwritingPanelPlacementAlignment PlacementAlignment();

void PlacementAlignment(HandwritingPanelPlacementAlignment placementalignment);
public HandwritingPanelPlacementAlignment PlacementAlignment { get; set; }
Public ReadWrite 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.

See also