Hi,
Does anyone know how I can set the text manually in a RadPropertyGrid and a ComboBox? Or also the selectedIndex?
I want to manually set ONLY this one element.
<telerik:RadPropertyGrid AutoGeneratePropertyDefinitions="False"
x:Name="PropertyBenutzer"
LabelColumnWidth="150"
MinHeight="50"
FontFamily="Tahoma"
FontWeight="Bold"
FontSize="12"
DescriptionPanelVisibility="Visible"
CanUserResizeDescriptionPanel="True"
telerik:StyleManager.Theme="Crystal"
NestedPropertiesVisibility="Visible"
RenderMode="Flat"
IsGrouped="True"
Item="{Binding ElementName=MyPropertyGrid1}"
Canvas.Left="568"
>
...
<telerik:PropertyDefinition DisplayName="Anrede" OrderIndex="1" GroupName="Benutzer">
<telerik:PropertyDefinition.EditorTemplate>
<DataTemplate>
<Border>
<telerik:RadComboBox x:Name="ComboBoxAnrede"
FontFamily="Tahoma"
Width="156"
HorizontalAlignment="Left"
HorizontalContentAlignment="Center"
SelectedItem="{Binding Anrede, Mode=TwoWay}"
ItemsSource="{Binding AnredeListe}"
DisplayMemberPath="Anrede"
IsEditable="False"
IsEnabled="true"
IsReadOnly="False"
MinWidth="30"
SelectedIndex="0"
CanAutocompleteSelectItems="True"
CanKeyboardNavigationSelectItems="True"
>
</telerik:RadComboBox>
</Border>
</DataTemplate>
</telerik:PropertyDefinition.EditorTemplate>
</telerik:PropertyDefinition>