Click or drag to resize

Default DomScript Template

The DomScriptBase class implements the ITemplate interface and supports Xaml templates so that user can edit the properties from the supported views.

Common namespaces
xmlns:bControls="clr-namespace:SharpCharts.Base.Controls;assembly=SharpCharts.Base"
xmlns:bCommon="clr-namespace:SharpCharts.Base.Common;assembly=SharpCharts.Base"
xmlns:bOrder="clr-namespace:SharpCharts.Base.Order;assembly=SharpCharts.Base"
xmlns:bData="clr-namespace:SharpCharts.Base.Data;assembly=SharpCharts.Base"
Default DomScript template
<DataTemplate x:Key="{x:Static bCommon:ResourceKey.DefaultScannerTemplate}">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width=".5*" />
            <ColumnDefinition />
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition />
        </Grid.RowDefinitions>
        <TextBlock Text="{Loc LblStringFormat}" FlowDirection="RightToLeft" FontWeight="SemiBold" Margin="3" />
        <TextBox Grid.Column="1" Text="{Binding StringFormat, UpdateSourceTrigger=PropertyChanged}" Margin="3" />
    </Grid>
</DataTemplate>