Shell |
The ShellComboBox type exposes the following members.
Name | Description | |
---|---|---|
![]() | AddDesktopContent | Adds the Desktop content if ShowDesktopContent is true |
![]() | AddIdListToCombo(ItemIdList) | Adds the folders of the given ItemIdList as non-persistent items to the combobox. |
![]() | AddIdListToCombo(ItemIdList, Boolean) | Adds the folders of the given ItemIdList as (non)persistent items to the combobox. |
![]() | AddPersistentRootItemDesktop | This adds the persistent root item for the virtual folder "Desktop" |
![]() | AddShellFolder | This method adds a list of persistent objects from a folder to the CustomFolderBox. |
![]() | AdjustTextBoxSize |
Adjusts the size of the edit field so that it is inside the combo box.
(Inherited from CustomEditComboBox) |
![]() | BeginInit | Signals the object that initialization is starting. (Overrides CustomEditComboBoxBeginInit) |
![]() | CustomFolderComboDrawItemHandler |
This is the event handler registered to DrawItem(Control, DrawItemEventArgs, Boolean) it displays the items
as files or folders
(Inherited from CustomFolderComboBox) |
![]() | CustomFolderComboSelectedIndexChanged | The event handler for the SelectedIndexChanged event. it notifies the ShellControlConnector about the selection change if it has been registered. |
![]() | EnableSystemStyles |
Sets system specific behaviour,
i.e. FullRowSelect in Vista and upwards.
(Inherited from CustomEditComboBox) |
![]() | EndInit | Signals the object that initialization is complete. (Overrides CustomEditComboBoxEndInit) |
![]() | FolderChanged | Change the current folder to the one given in parameter throws ArgumentNullException if the argument was null |
![]() | FullRefresh | Rescans the folders and refreshes the components' entire display |
![]() | GetPersistentItems | This method is extended by RefreshPersistent to support more Special Folders to be displayed. |
![]() | GoUp | Go up one level in the tree, does nothing if the SelectedNode is null of if the SelectedNode has no Parent (is root) |
![]() | OnCreateControl |
Recalculates the ItemHeight.
Raises the CreateControl method.
(Inherited from CustomEditComboBox) |
![]() | OnDropDown |
Refreshes the non-persistent items in the control (ie. if changes on the desktop occurred)
(Overrides ComboBoxOnDropDown(EventArgs)) |
![]() | OnHandleCreated |
This event is triggered after the handle of the control was created.
(Inherited from CustomEditComboBox) |
![]() | OnOverlayResize | This method is called from the OverlayTextBox.Resize Event. It calls the
AdjusTextBoxSize method. (Inherited from CustomEditComboBox) |
![]() | OnShowOptionChanged |
This method needs to be called if a a ShowOption changed.
(Inherited from CustomFolderComboBox) |
![]() | OnSizeChanged |
This event is triggered after the size of the combobox changed. Fixes bug #4397.
(Inherited from CustomEditComboBox) |
![]() | OverlayTextBoxClicked | If the OverlayTextBox is clicked, it's text is selected. |
![]() | OverlayTextBoxEntered | If the OverlayTextBox is clicked, it's text is selected. |
![]() | Refresh(RefreshLevel) | This method indicates that the control should perform a refresh of its contents. |
![]() | Refresh(RefreshLevel, ItemIdList) | This method indicates that the control should perform a refresh of its contents. |
![]() | RefreshPersistent | This method also refreshes the persistent items - it is used if properties that are normally set at designtime are modified at runtime, e.g. IncludeRemoveableDrives is switched on, since those Items are persistent items, they are not refreshed by default |
![]() | RemoveNonPersistentItems | Removes Items from the ShellComboItems list that are not persistent. |
![]() | SelectedFileChange | This method does nothing because ShellCombo does not display files. |
![]() | SetFont |
Sets the font without adjusting other properties.
(Inherited from CustomEditComboBox) |
![]() | SmartRefresh | The SmartRefresh only refreshes the non persistent items but its functionality equals a FullRefresh for the ShellCombo. |
![]() | UpdateOverlayTextBox |
Updates the Text of the OverlayTextBox by either setting the items caption
or the items path depending on the ShowFullPath property
(Inherited from CustomFolderComboBox) |
Name | Description | |
---|---|---|
![]() | GetSelfAndDescendants |
Returns a flattened collection of a control and all of its descendant controls.
(Defined by ExtensionMethods) |
![]() | HandleNeeded | A Control extension method that ensures that the handle for a control is created. (Defined by ExtensionMethods) |
![]() | ScaledPixels | An extension method for controls: It scales the passed pixels according to the current dpi the control is displayed with. (Defined by ExtensionMethods) |
![]() | ScaleFont | A Control extension method that scales font according to the passed factor. (Defined by ExtensionMethods) |