Hi, We are developing tool's for Arcgis Pro, we are also using EmbeddableControlViewModel messages to inform users. But this messages is not in center. How can we center this message? Here is below our code and picture.
var vm = OverlayEmbeddableControl as EmbeddableControlViewModel;
vm.Text = " Seçme işleminiz bittiğinde SPACE tuşu ile sonlandırın.";
Thanks.
Hi
When you use the Pro SDK Embeddable Control item template to create the control, the text is centered in the xaml - Horizontal and vertical alignments are set as "Center". Code snippet created by the SDK Template give below. Can you please share your xaml snippet in your add-in to see why the text is not centered. Thanks!
Uma
XAML from the embeddable control item template:
<Grid>
<TextBlock Text="{Binding Text}" HorizontalAlignment="Center"
VerticalAlignment="Center" Margin="4"/>
</Grid>