Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
15
XamComboEditor Validation.ErrorTemplate"
posted

Hi is it possible to provide an example of setting the Validation.ErrorTemplate" on the XamComboEditor.

I know you can do something like the following on the normal WPF controls


<Setter Property="Validation.ErrorTemplate">
<Setter.Value>
<ControlTemplate>
<DockPanel DockPanel.Dock="Right">
<AdornedElementPlaceholder>
<Border BorderBrush="Red" BorderThickness="2" />
</AdornedElementPlaceholder>
<TextBlock Margin="3" Text="*" Foreground="Red" ToolTip="{Binding Path=AdornedElement.ToolTip, RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type Adorner}}}" />
</DockPanel>
</ControlTemplate>
</Setter.Value>
</Setter>

But this does not work on the XamComboEditor

Parents Reply Children
No Data