
Is there a way to assign an Automation ID to the checkbox for the DateTimeEditBox?
Is there a way to assign an Automation ID to the checkbox for the DateTimeEditBox?
Hi Lindsey,
All PartEditBox-based controls have this in their Style:
<Setter Property="CheckBoxTemplate">
<Setter.Value>
<DataTemplate>
<CheckBox VerticalAlignment="Center" Margin="0,0,0,1" Padding="0" Style="{DynamicResource {x:Static themes:SharedResourceKeys.CheckBoxStyleKey}}"
IsChecked="{Binding IsChecked, RelativeSource={x:Static editors:PartEditBox.RelativeSource}}"
IsEnabled="{Binding IsReadOnly, RelativeSource={x:Static editors:PartEditBox.RelativeSource}, Converter={StaticResource BooleanNotConverter}}" />
</DataTemplate>
</Setter.Value>
</Setter>
You could update that and include an automation ID if you'd like.
Please log in to a validated account to post comments.