ShellComboBox Class |
Namespace: Jam.Shell.WPF.Controls
The ShellComboBox type exposes the following members.
Name | Description | |
---|---|---|
ShellComboBox | Default constructor. |
Name | Description | |
---|---|---|
AdditionalValues | Access to a dictionary of additional values. | |
AutomaticRefresh |
Receives notifications about changes in the shell and performs refreshes automatically.
| |
HighlightColor | Gets or sets the highlight color in the drop down part. This is a dependency property. | |
Location | The location of the folder to be displayed. | |
Path | Gets or sets the full pathname of the file/shell item to be displayed. | |
ShellControlConnector | Gets or sets a ShellControlConnector. | |
ShowOptions | Items to include in the drop down list unless an own ItemsSource is specified. | |
SpecialFolder | Gets or sets the special folder to be displayed. | |
Version |
The current version of ShellBrowser Components WPF.
|
Name | Description | |
---|---|---|
Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. | |
FolderChanged | For compatibility with Winforms' ShellControlConnector: Selects the ItemIdList that is passed. | |
FullRefresh | Completely reloads the list. | |
OnApplyTemplate |
Attaches some eventhandlers on sub-controls used in the control template.
(Overrides ComboBoxOnApplyTemplate.) | |
SelectedFileChange | For compatibility with Winforms' ShellControlConnector. File selection is not supported by this control. |
Name | Description | |
---|---|---|
BeforePathChange | Event is triggered before a new path is set. The new path can be rejected using the PathChangeCancelEventArgs. |
Name | Description | |
---|---|---|
AutomaticRefreshProperty |
Identifies the AutomaticRefresh dependency property.
| |
HighlightColorProperty | Identifies the HighlightColor dependency property. | |
LocationProperty |
The DependencyProperty for Location.
|
//all subdirectories of "c:\windows". m_ItemsSource = new ObservableCollection<IJamItemIdList>(new JamItemIdListCollection(new ItemIdList(@"c:\windows"), null, false, (sb) => { return sb.IsFolder; }));
//removes "Recycle Bin" from the dropdown elements. ShellCombo.ShowOptions ^= ShellComboBox.ShowOption.RecycleBin; //includes all drives and the special folder "Documents" in the dropdown list. ShellCombo.ShowOptions = ShellComboBox.ShowOption.Drives | ShellComboBox.ShowOption.Documents;