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
100
LabelPresenter Border
posted

Hi,

 Using the following Style:

<Style x:Key="lpr" TargetType="{x:Type igDP:LabelPresenter}" >

<Setter Property="BorderBrush" Value="Black"></Setter>

<Setter Property="BorderThickness" Value="1,3,0,5"></Setter>

</Style>

For this Field in a XamlDataGrid:

<igDP:Field Name="short_name" Label="Name" >

<igDP:Field.Settings>

<igDP:FieldSettings CellMinWidth="150" LabelMinWidth="150" LabelPresenterStyle="{StaticResource lpr}"

CellValuePresenterStyle="{StaticResource cvp}"/>

</igDP:Field.Settings>

</igDP:Field>

 

Does not give me a border. Please can you let me know what I am doing wrong. The style I created above works if I set it against for the CellValuePresenterStyle.


Thanks in advance.