public class SomeObject |
{ |
public Field SelectedField { get; set; } public string SelectedString { get; set; } |
} |
public class Field |
{ |
public string[] ListOfAllowedItems; |
} |
public
object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
{
// If the Lastname field in my datarow begins with "A" - then display an A ICON......
if (((Telerik.Windows.Data.DataRecord)value).Data.ToString()=="A")
{
return "A.jpg";
}
return String.Format("{0}.jpg", ((Telerik.Windows.Data.DataRecord)value).Data);
}
<StackPanel Grid.Row="0" Orientation="Horizontal" VerticalAlignment="Center" >
<Label Content="{Binding Path=Data.FirstName}" Foreground="#ff8FB3FF" FontSize="12" />
<Label Content="{Binding Path=Data.LastName}" Foreground="#ff8FB3FF" FontSize="12" />
</StackPanel>
<
telerik:GridViewDataColumn Width="40" HeaderText="Level" UniqueName="Level" DataType="{x:Null}" />
When I change the HeaderText nothing happens in Designer View.