|
{
companyComboBox.ItemsSource = value;
companyComboBox.SelectedValuePath = "CompanyId";
companyComboBox.DisplayMemberPath = "Name";
}
Language: C# LOC: 247 CodePlex1 : Simnova Collaborate - Social Project Managment (project search) : .../svn/Simnova.Collaborate/Simnova.Collaborate.WPFApplication/TimeLog.xaml.cs
|
cmbEncoding.SetBinding(ComboBox.ItemsSourceProperty, binding);
cmbEncoding.DisplayMemberPath = "DisplayName";
cmbEncoding.SelectedValuePath = "CodePage";
cmbEncoding.SelectedValue = encodingCodePage;
}
Language: C# LOC: 72 CodePlex_zeroloc : IntoSpaces (project search) : .../svn/IntoSpaces/IntoSpaces.WinApp/ConfigWindow.xaml.cs
|
/// <summary>
/// Gets the value of the SelectedItem property that is specified by
/// the SelectedValuePath property.
/// </summary>
/// <value>
Language: C# License: MSPL LOC: 672 CodePlex_zeroloc : Silverlight Toolkit (project search) : .../Silverlight2/Source/Controls.Toolkit/TreeView/TreeView.cs
|
cmbProvider.ItemsSource = DbProviderFactories.GetFactoryClasses().DefaultView;
cmbProvider.DisplayMemberPath = "Name";
cmbProvider.SelectedValuePath = "InvariantName";
cmbProvider.SelectedValue = "System.Data.SqlClient";
txtName.DataContext = this;
Language: C# LOC: 70 Spider_20090505_inc : CodeGene (project search) : .../CodeGene/CodeGene_Alpha1.rar/CodeGene/UI/ConnectionStrings_Edit.xaml.cs
|
#region public object SelectedValue
/// <summary>
/// Gets the object that is at the specified SelectedValuePath of the
/// SelectedItem.
/// </summary>
Language: C# License: MSPL LOC: 664 CodePlex_zeroloc : CThru and SilverUnit (project search) : .../svn/MSSilverlightTest/Controls/TreeView/TreeView.cs
|
#region public object SelectedValue
/// <summary>
/// Gets the object that is at the specified SelectedValuePath of the
/// SelectedItem.
/// </summary>
Language: C# License: MSPL LOC: 664 CodePlex_zeroloc : CThru and SilverUnit (project search) : .../SilverUnit/SilverUnit.ExampleTests/ControlsUnderTest/TreeView/TreeView.cs
|
#region public object SelectedValue
/// <summary>
/// Gets the object that is at the specified SelectedValuePath of the
/// SelectedItem.
/// </summary>
Language: C# License: MSPL LOC: 675 CodePlex_zeroloc : Silverlight Toolkit (project search) : .../Silverlight3/Source/Controls/TreeView/TreeView.cs
|
string sFieldName = (string)this.GetValue(FilterControl.FieldNameProperty);
Debug.Assert(sFieldName != null); // quen gan FieldName
string sValueMemberPath = SelectedValuePath;
//Test select items
if (SelectedItems == null || SelectedItems.Count == 0)
Language: C# LOC: 100 CodePlex1 : Core01 (project search) : .../svn/Utilities/Filter/Controls/MultiCategoryFilterControl.xaml.cs
|
protected DependencyPropertyTest<TreeView, object> SelectedValueProperty { get; private set; }
/// <summary>
/// Gets the SelectedValuePath dependency property test.
/// </summary>
protected DependencyPropertyTest<TreeView, string> SelectedValuePathProperty { get; private set; }
Language: C# License: MSPL LOC: 482 CodePlex_zeroloc : CThru and SilverUnit (project search) : .../svn/MSSilverlightTest/Controls.Testing/TreeView/TreeViewTest.cs
|
//Load dữ liệu cho Filter GroupItem và Unit
Filter_GroupItem.ItemsSource = GrpMenuItemInfoIdToName.GrpMenuItemInfos;
Filter_GroupItem.SelectedValuePath = "GrpMenuItemId";
Filter_GroupItem.DisplayMemberPath = "GrpMenuItemName";
Filter_Unit.ItemsSource = UnitConverterIdToName.unitinfo;
Language: C# LOC: 212 CodePlex1 : Res01 (project search) : .../svn/ResCategory/Views_1/View_MenuItem.xaml.cs
|
}
/// <summary>
/// The binding that will be applied to the SelectedValue property of the ComboBox. This works in conjunction ...
/// </summary>
/// <remarks>
Language: C# LOC: 450 Spider_20090505_inc : Windows Presentation Foundation (WPF) (project search) : .../DataGrid/Microsoft/Windows/Controls/DataGridComboBoxColumn.cs
|
protected DependencyPropertyTest<TreeView, object> SelectedValueProperty { get; private set; }
/// <summary>
/// Gets the SelectedValuePath dependency property test.
/// </summary>
protected DependencyPropertyTest<TreeView, string> SelectedValuePathProperty { get; private set; }
Language: C# License: MSPL LOC: 588 CodePlex_zeroloc : Silverlight Toolkit (project search) : .../Silverlight2/Source/Controls.Testing/TreeView/TreeViewTest.cs
|
protected DependencyPropertyTest<TreeView, object> SelectedValueProperty { get; private set; }
/// <summary>
/// Gets the SelectedValuePath dependency property test.
/// </summary>
protected DependencyPropertyTest<TreeView, string> SelectedValuePathProperty { get; private set; }
Language: C# License: MSPL LOC: 598 CodePlex_zeroloc : Silverlight Toolkit (project search) : .../Silverlight3/Source/Controls.Testing/TreeView/TreeViewTest.cs
|
Assert.IsNull(SelectedValue, "SelectedValue should be null when SelectedItem is null!");
}
if (string.IsNullOrEmpty(SelectedValuePath))
{
Assert.AreEqual(SelectedItem, SelectedValue, "SelectedValue should equal SelectedItem when there is no Sele...
Language: C# License: MSPL LOC: 193 CodePlex_zeroloc : CThru and SilverUnit (project search) : .../svn/MSSilverlightTest/Controls.Testing/TreeView/OverriddenTreeView.cs
|
Assert.IsNull(SelectedValue, "SelectedValue should be null when SelectedItem is null!");
}
if (string.IsNullOrEmpty(SelectedValuePath))
{
Assert.AreEqual(SelectedItem, SelectedValue, "SelectedValue should equal SelectedItem when there is no Sele...
Language: C# License: MSPL LOC: 193 CodePlex_zeroloc : Silverlight Toolkit (project search) : .../Silverlight2/Source/Controls.Testing/TreeView/OverriddenTreeView.cs
|
Assert.IsNull(SelectedValue, "SelectedValue should be null when SelectedItem is null!");
}
if (string.IsNullOrEmpty(SelectedValuePath))
{
Assert.AreEqual(SelectedItem, SelectedValue, "SelectedValue should equal SelectedItem when there is no Sele...
Language: C# License: MSPL LOC: 193 CodePlex_zeroloc : Silverlight Toolkit (project search) : .../Silverlight3/Source/Controls.Testing/TreeView/OverriddenTreeView.cs
|
comboBox1.DataContext = _currentState.SongDB.PresetSong;
comboBox1.DisplayMemberPath = "Name";
comboBox1.SelectedValuePath = "PresetSongID";
}
}
Language: C# LOC: 396 CodePlex1 : CrazyWorship (project search) : .../svn/CrazyWorship1/CrazyWorship1/Server/SongEditor.xaml.cs
|
" ItemsSource='{Binding Source={StaticResource " + id + "List}}'" +
" DisplayMemberPath='Value'" +
" SelectedValuePath='Value'" +
" SelectedValue='{Binding RootObjectElements[" + id + "].Value,Mode=TwoWay,Upd...
string compositeKey = tableNamespace + "." + tableID;
Language: C# LOC: 1302 CodePlex1 : Empower (project search) : .../svn/FA.E2/FA.E2.Wpf/Helpers/ObjectXamlProvider.cs
|
|