or
<telerikInput:RadComboBox x:Name="comboTheme" ItemsSource="{Binding Source={StaticResource settings}, Path=Default.Theme}" |
SelectedItem="{Binding Default.Theme, Mode=TwoWay}"/> |
<userSettings> |
<EliteExtender.Shell.Properties.Settings> |
<setting name="MainWidth" serializeAs="String"> |
<value>800</value> |
</setting> |
<setting name="MainHeight" serializeAs="String"> |
<value>625</value> |
</setting> |
<setting name="MainState" serializeAs="String"> |
<value /> |
</setting> |
<setting name="Theme" serializeAs="Xml"> |
<value> |
<ArrayOfString xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
xmlns:xsd="http://www.w3.org/2001/XMLSchema"> |
<string>Office_Blue</string> |
<string>Office_Black</string> |
<string>Office_Silver</string> |
<string>Summer</string> |
<string>Vista</string> |
<string>Windows7</string> |
</ArrayOfString> |
</value> |
</setting> |
</EliteExtender.Shell.Properties.Settings> |
</userSettings> |
<ResourceDictionary |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
xmlns:settings="clr-namespace:EliteExtender.Shell.Properties"> |
<ResourceDictionary.MergedDictionaries> |
<ResourceDictionary> |
<settings:Settings x:Key="settings" /> |
</ResourceDictionary> |
</ResourceDictionary.MergedDictionaries> |
</ResourceDictionary> |
public class MainViewModel |
{ |
public ICollectionView ItemsView { /* ... */ } |
public ObservableCollection<EnumViewModel<EAgeGroup>> AvailableAgeGroups { /* ... */ } |
} |
public class PersonViewModel |
{ |
public EnumViewModel<EAgeGroup> AgeGroup |
{ |
get { /* ... */ } |
set { /* ... */ } |
} |
} |
public class EnumViewModel<TEnum> |
{ |
public object LocalizedValue { /* ... */ } |
} |
<telerik:GridViewComboBoxColumn |
UniqueName="AgeGroup" |
ItemsSource="{Binding AvailableAgeGroups}" |
DisplayMemberPath="LocalizedValue" |
SelectedValueMemberPath="AgeGroup" |
Header="Age Group" |
IsFilterable="True"/> |
<telerikNav:RadTabControl TabOrientation="Horizontal" TabStripPlacement="Left"> |
<telerikNav:RadTabItem Header="Tab1" /> |
<telerikNav:RadTabItem Header="Tab2" /> |
</telerikNav:RadTabControl> |
Hi.. again...
I have GridViewComboColumn in a GridView. How can I programatically set focus the combox in the current row and open it?
I have button on a form that addes a new row... so I want to set focus to the combobox so the user can begin entereing.... thanks again
<telerikPresentation:GridViewComboBoxColumn DisplayMemberPath="comm_name" SelectedValueMemberPath="comm_name" DataMemberBinding="{Binding comm_name}" Header="Commodity" Width="175" />
<Page x:Class="RadControlsWpfBrowserApp2.Page1" |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
Title="Page1" xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"> |
<Grid> |
<StackPanel Orientation="Horizontal"> |
<telerik:RadScheduler Name="radScheduler1" HorizontalAlignment="Stretch" /> |
<telerik:RadExpander ExpandDirection="Left" HorizontalAlignment="Right"> |
<telerik:RadExpander.Header> |
<Grid HorizontalAlignment="Stretch"> |
<Grid.ColumnDefinitions> |
<ColumnDefinition Width="Auto" /> |
<ColumnDefinition Width="*" /> |
</Grid.ColumnDefinitions> |
<TextBlock Text="Header" /> |
<Rectangle Grid.Column="1" Margin="5,0,0,0" VerticalAlignment="Center" Height="2" Fill="Gray" /> |
</Grid> |
</telerik:RadExpander.Header> |
<StackPanel Orientation="Vertical" > |
<Ellipse Width="33" Height="33" Margin="5" Fill="Yellow" /> |
<Ellipse Width="33" Height="33" Margin="5" Fill="Blue" /> |
<Ellipse Width="33" Height="33" Margin="5" Fill="Red" /> |
</StackPanel> |
</telerik:RadExpander> |
</StackPanel> |
</Grid> |
</Page> |