![Avatar](https://secure.gravatar.com/avatar/3e16a0ad81d2257aa8c75e1b56fdc94a.jpg?s=64&d=identicon&r=g)
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.