Microsoft.PowerShell.GraphicalHost
A strongly-typed resource class, for looking up localized strings, etc.
Returns the cached ResourceManager instance used by this class.
Overrides the current thread's CurrentUICulture property for all
resource lookups using this strongly typed resource class.
Looks up a localized string similar to OutGridViewWindow Object.
A strongly-typed resource class, for looking up localized strings, etc.
Returns the cached ResourceManager instance used by this class.
Overrides the current thread's CurrentUICulture property for all
resource lookups using this strongly typed resource class.
Looks up a localized string similar to {0} cannot be modified directly, use {1} instead..
Looks up a localized string similar to Columns.
Looks up a localized string similar to {0:G}.
Looks up a localized string similar to {0}.
Looks up a localized string similar to {0:N}.
Looks up a localized string similar to {0:N0}.
Looks up a localized string similar to {0} does not support adding to the Items collection, use {1} instead..
Looks up a localized string similar to If View is set to a {0}, it should have the type {1}..
A strongly-typed resource class, for looking up localized strings, etc.
Returns the cached ResourceManager instance used by this class.
Overrides the current thread's CurrentUICulture property for all
resource lookups using this strongly typed resource class.
Looks up a localized string similar to Back.
Looks up a localized string similar to Forward.
Looks up a localized string similar to Select Columns....
Looks up a localized string similar to ….
Looks up a localized string similar to The value must be a valid date in the following format: {0}..
Looks up a localized string similar to The value must be a valid number..
Looks up a localized string similar to Value should be of Type {0}..
Looks up a localized string similar to contains.
Looks up a localized string similar to does not contain.
Looks up a localized string similar to does not equal.
Looks up a localized string similar to equals.
Looks up a localized string similar to is greater than or equal to.
Looks up a localized string similar to is between.
Looks up a localized string similar to is empty.
Looks up a localized string similar to is not empty.
Looks up a localized string similar to is less than or equal to.
Looks up a localized string similar to ends with.
Looks up a localized string similar to starts with.
Looks up a localized string similar to LeftToRight.
Looks up a localized string similar to (none).
Looks up a localized string similar to Search.
Looks up a localized string similar to The current selection is empty..
A strongly-typed resource class, for looking up localized strings, etc.
Returns the cached ResourceManager instance used by this class.
Overrides the current thread's CurrentUICulture property for all
resource lookups using this strongly typed resource class.
Looks up a localized string similar to Shortcut Rules.
Looks up a localized string similar to Columns Rules.
Looks up a localized string similar to Add Filter Criteria.
Looks up a localized string similar to Add.
Looks up a localized string similar to Cancel.
Looks up a localized string similar to Back.
Looks up a localized string similar to Forward.
Looks up a localized string similar to Filter.
Looks up a localized string similar to Find in this column.
Looks up a localized string similar to Selected Columns.
Looks up a localized string similar to Available Columns.
Looks up a localized string similar to Add.
Looks up a localized string similar to Remove.
Looks up a localized string similar to Move up.
Looks up a localized string similar to Move down.
Looks up a localized string similar to OK.
Looks up a localized string similar to Cancel.
Looks up a localized string similar to Available columns.
Looks up a localized string similar to Select columns.
Looks up a localized string similar to >>.
Looks up a localized string similar to <<.
Looks up a localized string similar to Selected columns.
Looks up a localized string similar to This column may not be removed..
Looks up a localized string similar to The list must always display at least one column..
Looks up a localized string similar to Move selected column to list of visible columns.
Looks up a localized string similar to Move selected column to list of hidden columns.
Looks up a localized string similar to Collapse.
Looks up a localized string similar to Expand.
Looks up a localized string similar to Collapse.
Looks up a localized string similar to Expand.
Looks up a localized string similar to Value.
Looks up a localized string similar to Rules.
Looks up a localized string similar to <Empty>.
Looks up a localized string similar to Delete.
Looks up a localized string similar to Rename.
Looks up a localized string similar to Name.
Looks up a localized string similar to Delete.
Looks up a localized string similar to Clear All.
Looks up a localized string similar to Filter applied..
Looks up a localized string similar to New Query.
Looks up a localized string similar to Cancel.
Looks up a localized string similar to Clear All.
Looks up a localized string similar to Search.
Looks up a localized string similar to Click to display saved search queries..
Looks up a localized string similar to Click to save a search query.
Looks up a localized string similar to Queries.
Looks up a localized string similar to Ok.
Looks up a localized string similar to Query.
Looks up a localized string similar to Cancel.
Looks up a localized string similar to Queries.
Looks up a localized string similar to There are currently no saved queries..
Looks up a localized string similar to Add criteria.
Looks up a localized string similar to Overwrite the existing query or type a different name to save a new query. Each query consists of criteria, sorting, and column customizations..
Looks up a localized string similar to Click to clear all filter criteria..
Looks up a localized string similar to Click to add search criteria..
Looks up a localized string similar to Click to expand search criteria..
Looks up a localized string similar to Search.
Looks up a localized string similar to Clear Search Text.
Looks up a localized string similar to Tasks.
Looks up a localized string similar to Tasks.
Looks up a localized string similar to Tasks.
Looks up a localized string similar to Indeterminate Progress Icon.
Looks up a localized string similar to Expand.
Looks up a localized string similar to Collapse.
Looks up a localized string similar to Collapse.
Looks up a localized string similar to Expand.
Looks up a localized string similar to Filter.
Looks up a localized string similar to Find in this column.
Looks up a localized string similar to {0} rule.
Looks up a localized string similar to and.
Looks up a localized string similar to and.
Looks up a localized string similar to or.
Looks up a localized string similar to Sorted ascending.
Looks up a localized string similar to Sorted descending.
Looks up a localized string similar to No matches found..
Looks up a localized string similar to Filter.
Looks up a localized string similar to Sort Glyph.
Looks up a localized string similar to Sort Glyph.
Looks up a localized string similar to Search.
Looks up a localized string similar to Cancel.
Looks up a localized string similar to Expand or Collapse Filter Panel.
Looks up a localized string similar to ({0} of {1}).
Looks up a localized string similar to Searching....
Looks up a localized string similar to ({0}).
Looks up a localized string similar to {0}: {1}.
Looks up a localized string similar to Show Children.
Looks up a localized string similar to Show Children.
Looks up a localized string similar to Cancel.
Looks up a localized string similar to OK.
A strongly-typed resource class, for looking up localized strings, etc.
Returns the cached ResourceManager instance used by this class.
Overrides the current thread's CurrentUICulture property for all
resource lookups using this strongly typed resource class.
Looks up a localized string similar to Cancel.
Looks up a localized string similar to Match Case.
Looks up a localized string similar to CommonParameters.
Looks up a localized string similar to Description.
Looks up a localized string similar to Examples.
Looks up a localized string similar to _Find:.
Looks up a localized string similar to Help Sections.
Looks up a localized string similar to {0} Help.
Looks up a localized string similar to Inputs.
Looks up a localized string similar to {0} {1}.
Looks up a localized string similar to _Next.
Looks up a localized string similar to No matches found.
Looks up a localized string similar to Notes.
Looks up a localized string similar to OK.
Looks up a localized string similar to 1 match.
Looks up a localized string similar to Outputs.
Looks up a localized string similar to Accept wildcard characters?.
Looks up a localized string similar to Default value.
Looks up a localized string similar to Accept pipeline input?.
Looks up a localized string similar to Position?.
Looks up a localized string similar to Required?.
Looks up a localized string similar to Parameters.
Looks up a localized string similar to _Previous.
Looks up a localized string similar to RelatedLinks.
Looks up a localized string similar to Remarks.
Looks up a localized string similar to Search Options.
Looks up a localized string similar to Settings.
Looks up a localized string similar to {0} matches.
Looks up a localized string similar to Synopsis.
Looks up a localized string similar to Syntax.
Looks up a localized string similar to Help for {0}.
Looks up a localized string similar to Whole Word.
Looks up a localized string similar to {0}%.
Looks up a localized string similar to Zoom.
A strongly-typed resource class, for looking up localized strings, etc.
Returns the cached ResourceManager instance used by this class.
Overrides the current thread's CurrentUICulture property for all
resource lookups using this strongly typed resource class.
Looks up a localized string similar to Cancel.
Looks up a localized string similar to Co_py.
Looks up a localized string similar to OK.
Looks up a localized string similar to _Run.
Looks up a localized string similar to All.
Looks up a localized string similar to Modules:.
Looks up a localized string similar to Can receive value from pipeline.
Looks up a localized string similar to ? .
Looks up a localized string similar to Help.
Looks up a localized string similar to Common Parameters.
Looks up a localized string similar to Errors.
Looks up a localized string similar to Name: {0}
Module: {1} ({2}).
Looks up a localized string similar to Command Name.
Looks up a localized string similar to Common to all parameter sets.
Looks up a localized string similar to Parameters for "{0}":.
Looks up a localized string similar to The following errors occurred running the command:
{0}.
Looks up a localized string similar to Imported.
Looks up a localized string similar to Show Details.
Looks up a localized string similar to Failed to import the module required by command "{0}". Module name: "{1}". Error message: "{2}"..
Looks up a localized string similar to Mandatory.
Looks up a localized string similar to *.
Looks up a localized string similar to {0}:{1}.
Looks up a localized string similar to Modules.
Looks up a localized string similar to ....
Looks up a localized string similar to {0}:.
Looks up a localized string similar to <No module name>.
Looks up a localized string similar to There are no parameters..
Looks up a localized string similar to Not Imported.
Looks up a localized string similar to To import the "{0}" module and its cmdlets, including "{1}", click {2}..
Looks up a localized string similar to Optional.
Looks up a localized string similar to Please Wait....
Looks up a localized string similar to Position: {0}.
Looks up a localized string similar to Click after using "{0}" to see the new commands.
Looks up a localized string similar to Select multiple values for "{0}".
Looks up a localized string similar to Show Command - Error.
Looks up a localized string similar to Name:.
Looks up a localized string similar to Refresh.
Looks up a localized string similar to Type: {0}.
Provides a control that is always visible in the automation tree.
Initializes a new instance of the class.
Returns the implementations for this control.
The implementations for this control.
Provides an automation peer for AutomationTextBlock.
Initializes a new instance of the class.
The owner of the automation peer.
Gets a value that indicates whether the element is understood by the user as interactive or as contributing to the logical structure of the control in the GUI. Called by IsControlElement().
This method always returns true.
Gets the class name.
The class name.
A class which returns the same boxed bool values.
The CustomTypeComparer is responsible for holding custom comparers
for different types, which are in turn used to perform comparison
operations instead of the default IComparable comparison.
with a custom comparer
The static constructor.
Compares two objects and returns a value indicating
whether one is less than, equal to, or greater than the other.
The first object to compare.
The second object to compare.
A type implementing IComparable.
If value1 is less than value2, then a value less than zero is returned.
If value1 equals value2, than zero is returned.
If value1 is greater than value2, then a value greater than zero is returned.
Routed event args which provide the ability to attach an
arbitrary peice of data.
There are no restrictions on type T.
Constructs a new instance of the DataRoutedEventArgs class.
The data payload to be stored.
The routed event.
Gets a value containing the data being stored.
The DateTimeApproximationComparer is responsible for comparing two
DateTime objects at a level of precision determined by
the first object. The comparison either compares at the
date level or the date and time (down to Seconds precision).
Compares two objects and returns a value indicating
whether one is less than, equal to, or greater than the other.
The first object to compare.
The second object to compare.
If value1 is less than value2, then a value less than zero is returned.
If value1 equals value2, than zero is returned.
If value1 is greater than value2, then a value greater than zero is returned.
Partial class implementation for DismissiblePopup control.
A popup which child controls can signal to be dimissed.
If a control wants to dismiss the popup then they should execute the DismissPopupCommand on a target in the popup window.
Constructs an instance of DismissablePopup.
Responds to the condition in which the value of the IsOpen property changes from false to true.
The event arguments.
Responds when the value of the IsOpen property changes from to true to false.
The event arguments.
Provides class handling for the KeyDown routed event that occurs when the user presses a key while this control has focus.
The event data.
A command which child controls can use to tell the popup to close.
Called when DismissPopup executes.
A command which child controls can use to tell the popup to close.
Identifies the CloseOnEscape dependency property.
Called when CloseOnEscape property changes.
Identifies the FocusChildOnOpen dependency property.
Called when FocusChildOnOpen property changes.
Identifies the SetFocusOnClose dependency property.
Called when SetFocusOnClose property changes.
Identifies the SetFocusOnCloseElement dependency property.
Called when SetFocusOnCloseElement property changes.
Called when a property changes.
Called when the type is initialized.
Gets or sets a value indicating whether the popup closes when ESC is pressed.
Occurs when CloseOnEscape property changes.
Gets or sets a value indicating whether focus should be set on the child when the popup opens.
Occurs when FocusChildOnOpen property changes.
Indicates whether the focus returns to either a defined by the FocusOnCloseTarget dependency property UIElement or PlacementTarget or not.
Occurs when SetFocusOnClose property changes.
If the SetFocusOnClose property is set True and this property is set to a valid UIElement, focus returns to this UIElement after the DismissiblePopup is closed.
Occurs when SetFocusOnCloseElement property changes.
Provides a base automation peer for FrameworkElement controls.
Gets or sets the control type of the element that is associated with this automation peer.
Gets or sets a value that indicates whether the control should show in the logical tree.
Initializes a new instance of the class.
The owner of the automation peer.
Initializes a new instance of the class.
The owner of the automation peer.
The control type of the element that is associated with the automation peer.
Initializes a new instance of the class.
The owner of the automation peer.
The control type of the element that is associated with the automation peer.
Whether the element should show in the logical tree.
Gets the class name.
The class name.
Gets the control type of the element that is associated with the automation peer.
Returns the control type of the element that is associated with the automation peer.
Gets a value that indicates whether the element is understood by the user as interactive or as contributing to the logical structure of the control in the GUI. Called by IsControlElement().
This method always returns true.
An interface designed to provide updates about an asynchronous operation.
If the UI is data bound to the properties in this interface then INotifyPropertyChanged should
be implemented by the type implementing IAsyncProgress so the UI can get notification of the properties
being changed.
Gets a value indicating whether the async operation is currently running.
Gets a the error for the async operation. This field is only valid if
OperationInProgress is false. null indicates there was no error.
Takes a value and returns the largest value which is a integral amount of the second value.
Takes a value and returns the largest value which is a integral amount of the second value.
The first value is the source. The second is the factor.
The parameter is not used.
The padding to subtract from the first value.
The parameter is not used.
The integral value.
This method is not used.
The parameter is not used.
The parameter is not used.
The parameter is not used.
The parameter is not used.
The parameter is not used.
Takes a bool value and returns the inverse.
Converts a boolean value to be it's inverse.
The source value.
The parameter is not used.
The parameter is not used.
The parameter is not used.
The inverted boolean value.
This method is not used.
The parameter is not used.
The parameter is not used.
The parameter is not used.
The parameter is not used.
The parameter is not used.
Takes two objects and determines whether they are equal.
Takes two items and determines whether they are equal.
Two objects of any type.
The parameter is not used.
The parameter is not used.
The parameter is not used.
True if-and-only-if the two objects are equal per Object.Equals().
Null is equal only to null.
This method is not used.
The parameter is not used.
The parameter is not used.
The parameter is not used.
The parameter is not used.
The parameter is not used.
The IsNotNullConverter is responsible for converting a value into
a boolean indicting whether the value is not null.
Determines if value is not null.
The object to check.
The parameter is not used.
The parameter is not used.
The parameter is not used.
Returns true if value is not null, false otherwise.
This method is not used.
The parameter is not used.
The parameter is not used.
The parameter is not used.
The parameter is not used.
The parameter is not used.
Defines an interface for a factory that creates
StateDescriptors.
The type T used by the StateDescriptor.
Creates a new StateDescriptor based upon custom
logic.
A new StateDescriptor.
Gets the logical direction for a key, taking into account RTL settings.
The element to get FlowDirection from.
The key pressed.
The logical direction.
Gets the focus direction for a key, taking into account RTL settings.
The element to get FlowDirection from.
The key pressed.
The focus direction.
Determines if the control key is pressed.
True if a control is is pressed.
Determines if the key is a navigation key.
The key pressed.
True if the key is a navigation key.
Picker control that displays a list with basic editing functionality.
This control presents a dropdown listbox with associated organizing actions that can be performed on it.
If a custom template is provided for this control, then the template MUST provide the following template parts:
PART_Picker - A required template part which must be of type PickerBase. This control provides basic functionality for Picker-like controls.
Creates a new instance of the ListOrganizer class.
Prevents keyboard focus from leaving the dropdown.
The event args.
Identifies the ItemDeleted RoutedEvent.
Identifies the ItemSelected RoutedEvent.
Informs the ListOrganizer that it should delete the item passed.
Called when DeleteItem executes.
Informs the ListOrganizer that it should delete the item passed.
Informs the ListOrganizer that it should select the item passed.
Called when SelectItem executes.
Informs the ListOrganizer that it should select the item passed.
Identifies the DropDownButtonTemplate dependency property.
Called when DropDownButtonTemplate property changes.
Identifies the DropDownStyle dependency property.
Called when DropDownStyle property changes.
Identifies the HighlightedItem dependency property.
Called when HighlightedItem property changes.
Identifies the ItemsSource dependency property.
Called when ItemsSource property changes.
Identifies the NoItemsText dependency property.
Called when NoItemsText property changes.
Identifies the TextContentPropertyName dependency property.
Called when TextContentPropertyName property changes.
Called when a property changes.
Called when ApplyTemplate is called.
Called when the type is initialized.
Occurs when an item is deleted from the list.
Occurs when an item is selected in the list.
Gets or sets a value that controls the visual tree of the DropDown button.
Occurs when DropDownButtonTemplate property changes.
Gets or sets the style of the drop-down.
Occurs when DropDownStyle property changes.
Gets or sets a value that controls the highlighted item in the list.
Occurs when HighlightedItem property changes.
Gets or sets a value that controls the items in the list.
Occurs when ItemsSource property changes.
Gets or sets a value that appears to inform the user that there are no items in the list.
Occurs when NoItemsText property changes.
Gets or sets a value which dictates what binding is used to provide content for the items in the list.
Occurs when TextContentPropertyName property changes.
Partial class implementation for ListOrganizerItem control.
This control is the row in the ListOrganizer and offers editing functionality.
If a custom template is provided for this control, then the template MUST provide the following template parts:
PART_DeleteButton - A required template part which must be of type Button. Button which keeps track of whether the row should be deleted.
PART_EditBox - A required template part which must be of type TextBox. Displays the text content in an editable manner.
PART_LinkButton - A required template part which must be of type Button. Displays the text content in a read-only manner and allows single click selection.
PART_RenameButton - A required template part which must be of type ToggleButton. Button which allows for editing the name of the item.
Creates a new instance of the ListOrganizerItem class.
Selects the current item.
Allows modification of the item.
Deletes the item.
Provides class handling for the KeyDown routed event that
occurs when the user presses a key while this control has focus.
The event data.
Identifies the TextContentPropertyName dependency property.
Called when TextContentPropertyName property changes.
Called when a property changes.
Called when ApplyTemplate is called.
Called when the type is initialized.
Gets a value indicating whether the item is in edit mode.
Gets or sets a value which dictates what binding is used to provide content for the items in the list.
Occurs when TextContentPropertyName property changes.
Partial class implementation for MessageTextBox control.
A TextBox which shows a user provided text when its empty.
Identifies the BackgroundText dependency property.
Called when BackgroundText property changes.
Identifies the IsBackgroundTextShown dependency property key.
Identifies the IsBackgroundTextShown dependency property.
Called when IsBackgroundTextShown property changes.
Called when a property changes.
Called when the type is initialized.
Gets or sets a value for text presented to user when TextBox is empty.
Occurs when BackgroundText property changes.
Gets a value indicating if the background text is being shown.
Occurs when IsBackgroundTextShown property changes.
Implements a re-usable base component useful for showing
Picker-like controls.
This control provides basic functionality for Picker-like controls.
If a custom template is provided for this control, then the template MUST provide the following template parts:
PART_DropDown - A required template part which must be of type DismissiblePopup. The dropdown which hosts the picker.
PART_DropDownButton - A required template part which must be of type ToggleButton. The ToggleButton which controls whether the dropdown is open.
Creates a new instance of the PickerBase class.
Informs the PickerBase that it should close the dropdown.
Called when CloseDropDown executes.
Informs the PickerBase that it should close the dropdown.
Identifies the DropDownButtonTemplate dependency property.
Called when DropDownButtonTemplate property changes.
Identifies the DropDownStyle dependency property.
Called when DropDownStyle property changes.
Identifies the IsOpen dependency property.
Called when IsOpen property changes.
Called when a property changes.
Called when ApplyTemplate is called.
Called when the type is initialized.
Gets or sets a value that controls the visual tree of the DropDown button.
Occurs when DropDownButtonTemplate property changes.
Gets or sets the style of the drop-down.
Occurs when DropDownStyle property changes.
Gets or sets a value indicating whether the Popup is visible.
Occurs when IsOpen property changes.
Partial class implementation for PopupControlButton control.
A toggle button which controls is a popup is open or not.
Represents a toggle button used to expand or collapse elements.
Represents a toggle button used to expand or collapse elements.
Initializes a new instance of the class.
Invoked whenever the effective value of any dependency property on this has been updated. The specific dependency property that changed is reported in the arguments parameter. Overrides .
The event data that describes the property that changed, as well as old and new values.
Called when the property changes.
The event data that describes the property that changed, as well as old and new values.
Create an instance of the AutomationPeer.
An instance of the AutomationPeer.
Constructs an instance of PopupControlButton.
Called when the IsChecked property becomes true.
The event data for the Checked event.
Called when the IsChecked property becomes false.
The event data for the Unchecked event.
Invoked when an unhandled PreviewMouseLeftButtonUp routed event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
The MouseButtonEventArgs that contains the event data. The event data reports that the left mouse button was released.
Identifies the IsPopupOpen dependency property.
Called when IsPopupOpen property changes.
Called when a property changes.
Gets or sets a value indicating whether the popup is open or not.
The Popup.IsOpen property should be two-way bound to this property.
Occurs when IsPopupOpen property changes.
An EventArgs which holds the old and new values for a property change.
The property type.
Creates an instance of PropertyChangedEventArgs.
The old value.
The new, current, value.
Gets the previous value for the property.
Gets the new value for the property.
Represents a read-only ObservableCollection which also implement IAsyncProgress.
The type held by the collection.
The constructor.
The collection with which to create this instance of the ReadOnlyObservableAsyncCollection class.
The object must also implement IAsyncProgress, INotifyCollectionChanged and INotifyPropertyChanged.
Occurs when the collection changes, either by adding or removing an item.
see
Occurs when a property changes.
see
Gets a value indicating whether the async operation is currently running.
Gets the error for the async operation. This field is only valid if
OperationInProgress is false. null indicates there was no error.
Partial class implementation for ScalableImage control.
Represents an image that can render as a vector or as a bitmap.
Initializes a new instance of the class.
Called when the control is asked to render itself in a given area.
Sets the render size to use all available area when is provided.
The final area within the parent that this element should use to arrange itself and its children.
The actual size used to render the control.
Called when the control is being rendered.
Renders the contents of the image as a vector or a bitmap, depending on which is provided.
An instance of used to render the control.
Override of .
Make this control to respect the ClipToBounds attribute value.
An instance of used for calculating an additional clip.
Geometry to use as an additional clip in case when element is larger than available space
Identifies the Source dependency property.
Called when Source property changes.
Called when a property changes.
Create an instance of the AutomationPeer.
An instance of the AutomationPeer.
Gets or sets the ScalableImageSource used to render the image. This is a dependency property.
Occurs when Source property changes.
Partial class implementation for SeparatedList control.
Represents the source of an image that can render as a vector or as a bitmap.
Initializes a new instance of the class.
Creates a new instance of the Freezable derived class.
The new instance of the Freezable derived class.
Identifies the AccessibleName dependency property.
Called when AccessibleName property changes.
Identifies the Brush dependency property.
Called when Brush property changes.
Identifies the Image dependency property.
Called when Image property changes.
Identifies the Size dependency property.
Called when Size property changes.
Called when a property changes.
Gets or sets the accessible name of the image. This is used by accessibility clients to describe the image, and must be localized.
Occurs when AccessibleName property changes.
Gets or sets the source used to render the image as a vector.If this is set, the Image property will be ignored.
Occurs when Brush property changes.
Gets or sets the source used to render the image as a bitmap. If the Brush property is set, this will be ignored.
Occurs when Image property changes.
Gets or sets the suggested size of the image.
Occurs when Size property changes.
Base proxy class for other classes which wish to have save and restore functionality.
There are no restrictions on T.
Creates a new instances of the StateDescriptor class and creates a new GUID.
Constructor overload to provide name.
The friendly name for the StateDescriptor.
Saves a snapshot of the subject's current state.
The object whose state will be saved.
Restores the state of subject to the saved state.
The object whose state will be restored.
Gets the global unique identification number.
Gets or sets the friendly display name.
Formatting string with a given format.
Formatting string with a given format.
The value produced by the binding source.
The type of the binding target property. This is not used.
The converter parameter to use. It should be a formatting string.
The culture to use in the converter.
The formatted string.
Converts a value.
This method is not implemented.
The value that is produced by the binding target.
The type to convert to.
The converter parameter to use.
The culture to use in the converter.
A converted value.
Attached property provider to control.
Provides attached properties for TextBlock control.
Identifies the IsTextTrimmed dependency property key.
Identifies the IsTextTrimmed dependency property.
Gets the value for IsTextTrimmedProperty that is attached to the element.
The dependency object that the property is attached to.
The value of IsTextTrimmed that is attached to element.
Sets the value for IsTextTrimmedProperty that is attached to the element.
The dependency object that the property will be attached to.
The new value.
Identifies the IsTextTrimmedExternally dependency property.
Gets a value indicating that the Text has been trimmed external to the element.
The dependency object that the property is attached to.
The value of IsTextTrimmedExternally that is attached to element.
Sets a value indicating that the Text has been trimmed external to the element.
The dependency object that the property will be attached to.
The new value.
Identifies the IsTextTrimmedMonitoringEnabled dependency property.
Gets the value for IsTextTrimMonitoringEnabled that is attached to the element.
The dependency object that the property is attached to.
The value of IsTextTrimmedMonitoringEnabled that is attached to element.
Sets the value for IsTextTrimMonitoringEnabled that is attached to the element.
The dependency object that the property will be attached to.
The new value.
Identifies the UntrimmedText dependency property.
Gets the untrimmed text.
The dependency object that the property is attached to.
The value of UntrimmedText that is attached to element.
Sets the untrimmed text.
The dependency object that the property will be attached to.
The new value.
Removes whitespace at beginning and end of a string.
Creates a new TextTrimConverter. By default, both conversion directions are trimmed.
Trims excess whitespace from the given string.
original string
The parameter is not used.
The parameter is not used.
The parameter is not used.
The trimmed string.
Trims extra whitespace from the given string during backward conversion.
original string
The parameter is not used.
The parameter is not used.
The parameter is not used.
The trimmed string.
Represents the availability of an action to a user.
Indicates that the action is enabled and allowed.
Indicates that the action is disabled.
Indicates that the action is not visible.
Represents the ready-state of a control.
Indicates that the control is ready.
Indicates that the control has an error.
Indicates that the control is refreshing its data.
Provides common methods for use in the library.
Gets whether all of the items in are of type T.
The type to verify.
The items to check.
Whether all of the items in are of type T.
The specified value is a null reference.
Searches for an element that matches the specified type, and returns the first occurrence in the entire .
The type of the item to find.
The to search.
The first element that matches the specified type, if found; otherwise, the default value for type .
The specified value is a null reference.
Method to trim the non null strings.
String to Trim.
Trimmed string.
Restore the original order as far as possible.
Columns not in the original set will appear at the end.
Type of .
ObservableCollection to resort to order of
.
Order to which should be resorted.
All enumerated objects must be of type T.
Parameter is not generic to type T
since it may be a collection of a subclass of type T,
and IEnumerable'subclass is not compatible with
IEnumerable'baseclass.
Provides a way to get the of a visual ancestor.
Searches ancestors for data of the specified class type.
The visual whose ancestors are searched.
The parameter is not used.
The type of the data to find. The type must be a class.
The parameter is not used.
The data of the specified type; or if not found, null.
The specified value is not a class type.
The specified value is a null reference.
This method is not used.
The parameter is not used.
The parameter is not used.
The parameter is not used.
The parameter is not used.
The parameter is not used.
A common weak event listener which can be used for different kinds of events.
The EventArgs type for the event.
Constructs an instance of WeakEventListener.
The handler for the event.
Receives events from the centralized event manager.
The type of the WeakEventManager calling this method.
Object that originated the event.
Event data.
true if the listener handled the event. It is considered an error by the WeakEventManager handling in WPF to register a listener for an event that the listener does not handle. Regardless, the method should return false if it receives an event that it does not recognize or handle.
Defines a method which will be called when
a condition is met.
The type of the item.
The parameter to pass to the method.
Provides common WPF methods for use in the library.
Calls a method when the Loaded event is fired on a FrameworkElement.
The type of the parameter to pass to the callback method.
The element whose Loaded state we are interested in.
The method we will call if element.IsLoaded is false.
The parameter to pass to the callback method.
Returns true if the element is not loaded and the callback will be called
when the element is loaded, false otherwise.
Removes the specified element from its parent.
The element to remove.
The specified value is a null reference.
The specified value does not have a parent that supports removal.
Removes the specified element from its parent.
The parent element.
The element to add.
The specified value does not have a parent that supports removal.
Returns the first visual child that matches the type T.
Performs a breadth-first search.
The type of the child to find.
The object with a visual tree.
Returns an object of type T if found, otherwise null.
Finds all children of type within the specified object's visual tree.
The type of the child to find.
The object with a visual tree.
All children of the specified object matching the specified type.
The specified value is a null reference.
Searches ancestors for data of the specified type.
The type of the data to find.
The visual whose ancestors are searched.
The data of the specified type; or if not found, null.
The specified value is a null reference.
Walks up the visual tree looking for an ancestor of a given type.
The type to look for.
The object to start from.
The parent of the right type, or null.
The specified value is a null reference.
Executes the on the current command target if it is allowed.
The routed command.
A user defined data type.
The command target.
true if the command could execute; otherwise, false.
The specified value is a null reference.
Gets the named child of an item from a templated control.
The type of the child.
The parent of the control.
The name of the child.
The reference to the child, or null if the template part wasn't found.
Gets the named child of an item from a templated control.
The type of the child.
The parent of the control.
The name of the child.
The reference to the child.
Throws an exception with information about the template part with the wrong type.
The type of the expected template part.
The name of the expected template part.
Throws an exception with information about the missing template part.
The type of the expected template part.
The name of the expected template part.
Sets Style for control given a component resource key.
Type in which Component Resource Style is Defined.
Element whose style need to be set.
Component Resource Key for Style.
Helper function to create a RoutedPropertyChangedEventArgs from a DependencyPropertyChangedEventArgs.
The type for the RoutedPropertyChangedEventArgs.
The DependencyPropertyChangedEventArgs data source.
The created event args, configured from the parameter.
Helper function to create a RoutedPropertyChangedEventArgs from a DependencyPropertyChangedEventArgs.
The type for the RoutedPropertyChangedEventArgs.
The DependencyPropertyChangedEventArgs data source.
The routed event the property change is associated with.
The created event args, configured from the parameter.
Moves the item in the specified collection to the specified index.
The collection to move the item in.
The item to move.
The new index of the item.
The specified item is not in the specified collection.
The specified value is a null reference.
The specified index is not valid for the specified collection.
Adds a callback with its associated parameter to the collection.
The callback to invoke.
The parameter to pass to the callback.
Removes a callback with its associated parameter from the head of
the collection.
The callback to invoke.
The parameter to pass to the callback.
Gets whether there is any callback data available.
Represents a decorator that is always visible in the automation tree, indicating that its descendents belong to a logical group.
Returns the implementations for this control.
The implementations for this control.
Provides an automation peer for .
Initializes a new instance of the class.
The owner of the automation peer.
Gets the class name.
The class name.
Gets the control pattern for the that is associated with this .
Specifies the control pattern that is returned.
The control pattern for the that is associated with this .
Expands this instance of .
Collapses this instance of .
Gets the expand/collapse state of this instance.
The resize grip possibilities.
One grip is shown, on the right side.
One grip is shown, on the left side.
Partial class implementation for Resizer control.
Resizer adds a resizing grip and behavior to any control.
If a custom template is provided for this control, then the template MUST provide the following template parts:
PART_LeftGrip - A required template part which must be of type Thumb. The grip on the left.
PART_RightGrip - A required template part which must be of type Thumb. The grip on the right.
Creates an instance of Resizer.
Identifies the DraggingTemplate dependency property.
Called when DraggingTemplate property changes.
Identifies the GripBrush dependency property.
Called when GripBrush property changes.
Identifies the GripLocation dependency property.
Called when GripLocation property changes.
Identifies the GripWidth dependency property.
Called when GripWidth property changes.
Identifies the ResizeWhileDragging dependency property.
Called when ResizeWhileDragging property changes.
Identifies the ThumbGripLocation dependency property.
Gets the location for a grip.
The dependency object that the property is attached to.
The value of ThumbGripLocation that is attached to element.
Sets the location for a grip.
The dependency object that the property will be attached to.
The new value.
Identifies the VisibleGripWidth dependency property.
Called when VisibleGripWidth property changes.
Called when a property changes.
Called when ApplyTemplate is called.
Called when the type is initialized.
Gets or sets the template used for the dragging indicator when ResizeWhileDragging is false.
Occurs when DraggingTemplate property changes.
Gets or sets the color of the resize grips.
Occurs when GripBrush property changes.
Gets or sets a value of what grips.
Occurs when GripLocation property changes.
Gets or sets the width of the grips.
Occurs when GripWidth property changes.
Gets or sets a value indicating if resizing occurs while dragging.
Occurs when ResizeWhileDragging property changes.
Gets or sets the visible width of the grips.
Occurs when VisibleGripWidth property changes.
A converter which creates the proper thickness for the content of the Resizer, depending on the grip visual size
and grip position.
The first value needs to be a double which is the visible grip size.
The second value needs to the be ResizeGripLocation value used.
Creates an instance of ResizerGripThicknessConverter.
Converts a value.
The value produced by the binding source.
The type of the binding target property.
The converter parameter to use.
The culture to use in the converter.
A converted value. If the method returns nullNothingnullptra null reference (Nothing in Visual Basic), the valid null value is used.
Converts a value.
The value that is produced by the binding target.
The type to convert to.
The converter parameter to use.
The culture to use in the converter.
A converted values. If the method returns nullNothingnullptra null reference (Nothing in Visual Basic), the valid null value is used.
Partial class implementation for UIElementAdorner.
An Adorner which displays a given UIElement.
Constructs an instance of UIElementAdorner.
The adorned element.
Overrides Visual.GetVisualChild, and returns a child at the specified index from a collection of child elements.
The zero-based index of the requested child element in the collection.
The requested child element. This should not return null; if the provided index is out of range, an exception is thrown.
Implements any custom measuring behavior for the popupAdorner.
A size to constrain the popupAdorner to.
A Size object representing the amount of layout space needed by the popupAdorner.
When overridden in a derived class, positions child elements and determines a size for a FrameworkElement derived class.
The final area within the parent that this element should use to arrange itself and its children.
The actual size used.
Identifies the Child dependency property.
Called when Child property changes.
Called when Child property changes.
Gets the number of visual child elements within this element.
Gets or sets the child element.
Occurs when Child property changes.
The FilterExpressionAndOperatorNode class is responsible for containing children
FilterExpressionNodes which will be AND'ed together during evaluation.
The FilterExpressionNode class is the base class for derived
FilterExpressionNodes. FilterExpressionNodes are used to
construct a logical evaluation tree which holds FilterRules as
its operands.
The IEvaluate interface provides the most basic
support for the evaluation of an item against
criteria defined in a derived class.
Gets a values indicating whether the supplied item has meet the
criteria rule specificed by the rule.
The item to evaluate.
Returns true if the item meets the criteria. False otherwise.
In derived classes, this evaluation will return a true or
false result based upon some criteria.
The item to evaluate against.
True if the criteria is met, false otherwise.
Retrieves all elements of the specified type within the entire expression tree.
The type of the items to find.
All elements of the specified type within the entire expression tree.
Initializes a new instance of the FilterExpressionAndOperatorNode
class.
Initializes a new instance of the FilterExpressionAndOperatorNode
class.
A collection of children which will be added to the
FilterExpressionAndOperatorNode's Children collection.
Evaluates the children FilterExpressionNodes and returns
the AND'ed result of their results.
The item to evaluate against.
True if all FilterExpressionNode children evaluate to true,
false otherwise.
Gets a collection FilterExpressionNode children used during evaluation.
The FilterExpressionOperandNode class is responsible for holding a
FilterRule within the FilterExpression tree.
Initializes a new instance of the FilterExpressionOperandNode
class.
The FilterRule to hold for evaluation.
Evaluates the item against the contained FilterRule.
The item to pass to the contained FilterRule.
Returns true if the contained FilterRule evaluates to
true, false otherwise.
The FilterRule to evaluate.
The FilterExpressionOrOperatorNode class is responsible for containing children
FilterExpressionNodes which will be OR'ed together during evaluation.
Initializes a new instance of the FilterExpressionOrOperatorNode
class.
Initializes a new instance of the FilterExpressionOrOperatorNode
class.
A collection of children which will be added to the
FilterExpressionOrOperatorNode's Children collection.
Evaluates the children FilterExpressionNodes and returns
the OR'ed result of their results.
The item to evaluate against.
True if any FilterExpressionNode child evaluates to true,
false otherwise.
Gets a collection FilterExpressionNode children used during evaluation.
The ComparableValueFilterRule provides support for derived classes
that evaluate against IComparable values.
The generic parameter.
The base class for all filtering rules.
Initializes a new instance of the FilterRule class.
Gets a value indicating whether the supplied item meets the
criteria specified by this rule.
The item to evaluate.
Returns true if the item meets the criteria. False otherwise.
Fires .
Gets a value indicating whether the FilterRule can be
evaluated in its current state.
Gets a display friendly name for the FilterRule.
Occurs when the values of this rule changes.
Determines if item matches a derived classes criteria.
The item to match evaluate.
Returns true if the item matches, false otherwise.
Determines if item matches a derived classes criteria.
The item to match evaluate.
Returns true if the item matches, false otherwise.
Gets or sets a value indicating whether null objects passed to Evaluate will
evaluate to true or false.
The DoesNotEqualFilterRule class evaluates an IComparable item to
check if it is not equal to the rule's value.
The generic parameter.
The EqualsFilterRule class evaluates an IComparable item to
check if it is equal to the rule's value.
The generic parameter.
The SingleValueComparableValueFilterRule provides support for derived classes
that take a single input and evaluate against IComparable values.
The generic parameter.
Initializes a new instance of the SingleValueComparableValueFilterRule class.
Gets a value that holds user input.
Gets a value indicating whether the FilterRule can be
evaluated in its current state.
Initializes a new instance of the EqualsFilterRule class.
Determines if item is equal to Value.
The data to compare against.
Returns true if data is equal to Value.
Initializes a new instance of the DoesNotEqualFilterRule class.
Determines if item is not equal to Value.
The data to compare against.
Returns true if data is not equal to Value, false otherwise.
The FilterRuleExtensions class provides extension methods
for FilterRule classes.
Creates a deep copy of a FilterRule.
The FilterRule to clone.
Returns a deep copy of the passed in rule.
The IsBetweenFilterRule class evaluates an item to see if it is between
the StartValue and EndValue of the rule.
The generic parameter.
Initializes a new instance of the IsBetweenFilterRule class.
Evaluates data and determines if it is between
StartValue and EndValue.
The data to evaluate.
Returns true if data is between StartValue and EndValue,
false otherwise.
Gets a value indicating whether the FilterRule can be
evaluated in its current state.
Gets the start value for the range.
Gets the end value for the range.
The IsEmptyFilterRule evaluates an item to determine whether it
is empty or not.
Initializes a new instance of the IsEmptyFilterRule class.
Gets a values indicating whether the supplied item is empty.
The item to evaluate.
Returns true if the item is null or if the item is a string
composed of whitespace. False otherwise.
The IsGreaterThanFilterRule class evaluates an IComparable item to
check if it is greater than its value.
The generic parameter.
Initializes a new instance of the IsGreaterThanFilterRule class.
Determines if item is greater than Value.
The data to compare against.
Returns true if data is greater than Value.
The IsLessThanFilterRule class evaluates an IComparable item to
check if it is less than the rule's value.
The generic parameter.
Initializes a new instance of the IsLessThanFilterRule class.
Determines if item is less than Value.
The data to compare against.
Returns true if data is less than Value.
The IsNotEmptyFilterRule evaluates an item to determine whether it
is empty or not.
Initializes a new instance of the IsNotEmptyFilterRule class.
Gets a values indicating whether the supplied item is not empty.
The item to evaluate.
Returns false if the item is null or if the item is a string
composed of whitespace. True otherwise.
The IsNotEmptyValidationRule checks a value to see if a value is not empty.
Provides a way to create a custom rule in order to check the validity of user input.
When overridden in a derived class, performs validation checks on a value.
The value to check.
The culture to use in this rule.
A DataErrorInfoValidationResult object.
Determines if value is not empty.
The value to validate.
The culture info to use while validating.
Returns true if the value is not empty, false otherwise.
Represents a filter rule that searches for text within properties on an object.
The TextFilterRule class supports derived rules by offering services for
evaluating string operations.
Gets a regex pattern that describes a word boundary that can include symbols.
Initializes a new instance of the TextFilterRule class.
Gets the current value and determines whether it should be evaluated as an exact match.
Whether the current value should be evaluated as an exact match.
The current value.
Gets a regular expression pattern based on the current value and the specified patterns.
If the current value is an exact-match string, will be used; otherwise, will be used.
The pattern to use if the current value is not an exact-match string. The pattern must contain a {0} token.
The pattern to use if the current value is an exact-match string. The pattern must contain a {0} token.
A regular expression pattern based on the current value and the specified patterns.
The specified value is a null reference.
Gets a object that matches the values of and .
A object that matches the values of and .
Gets a value indicating whether the specified data matches one of the specified patterns.
If the current value is an exact-match string, will be used; otherwise, will be used.
The data to evaluate.
The pattern to use if the current value is not an exact-match string. The pattern must contain a {0} token.
The pattern to use if the current value is an exact-match string. The pattern must contain a {0} token.
true if the specified data matches one of the specified patterns; otherwise, false.
Gets or sets whether to ignore case when evaluating.
Gets or sets whether culture differences in language are ignored when evaluating.
Initializes a new instance of the class.
Evaluates whether the specified properties on contain the current value.
The item to evaluate.
true if is not null, the current value is valid, and the specified properties on contain the current value; otherwise, false.
Evaluates whether the specified data contains the current value.
The data to evaluate.
true if contains the current value; otherwise, false.
Called when the evaluation result is invalidated.
Updates the cached Regex pattern.
Updates the cached Regex with the current value.
If the current value is invalid, the Regex will not be updated because it will not be evaluated.
Gets a collection of the names of properties to search in.
The PropertyValueSelectorFilterRule class supports filtering against a
property of an object. Based on the type of the property a collection of
filter rules are available to be used.
The generic parameter.
The SelectorFilterRule represents a rule composed of other rules.
Creates a new SelectorFilterRule instance.
Evaluates whether the item is inclusive.
The item to evaluate.
Returns true if the item matches the filtering criteria, false otherwise.
Called when the SelectedValue within AvailableRules changes.
The old FilterRule.
The new FilterRule.
Gets a value indicating whether the rule can be evaluated.
Gets the collection of available rules.
Creates a new PropertyValueSelectorFilterRule instance.
Gets the name of the property on the item to evaluate which holds
the real value which should be evaluated.
The display friendly representation of the property name.
Creates a new PropertyValueSelectorFilterRule instance.
The propertyName on the item to evaluate which holds the real
value which should be evaluated.
The display friendly representation of the propertyName.
The collection of available rules.
Evaluates whether the item is inclusive.
The item to evaluate.
Returns true if the item matches the filtering criteria, false otherwise.
Gets the name of the property on the item to evaluate which holds
the real value which should be evaluated.
The TextContainsFilterRule class evaluates a string item to
check if it is contains the rule's value within it.
Initializes a new instance of the TextContainsFilterRule class.
Determines if Value is contained within data.
The data to compare with.
Returns true if data contains Value, false otherwise.
The TextDoesNotContainFilterRule class evaluates a string item to
check if it is does not contain the rule's value within it.
Initializes a new instance of the TextDoesNotContainFilterRule class.
Determines if Value is not contained within data.
The data to compare with.
Returns true if data does not contain Value, false otherwise.
The TextDoesNotEqualFilterRule class evaluates a string item to
check if it is not equal to the rule's value.
The TextEqualsFilterRule class evaluates a string item to
check if it is equal to the rule's value.
Initializes a new instance of the TextEqualsFilterRule class.
Determines if data is equal to Value.
The value to compare against.
Returns true is data equals Value, false otherwise.
Initializes a new instance of the TextDoesNotEqualFilterRule class.
Determines if data is not equal to Value.
The value to compare against.
Returns true is data does not equal Value, false otherwise.
The TextEndsWithFilterRule class evaluates a string item to
check if it ends with the rule's value.
Initializes a new instance of the TextEndsWithFilterRule class.
Determines if data ends with Value.
The value to compare with.
Returns true is data ends with Value, false otherwise.
The TextStartsWithFilterRule class evaluates a string item to
check if it starts with the rule's value.
Initializes a new instance of the TextStartsWithFilterRule class.
Determines if data starts with Value.
The value to compare with.
Returns true is data starts with Value, false otherwise.
The DataErrorInfoValidationResult supports reporting validation result
data needed for the IDataErrorInfo interface.
Initializes a new instance of the DataErrorInfoValidationResult class.
Indicates whether the value checked against the
DataErrorInfoValidationResult is valid
Information about the invalidity.
The error message to display to the user. If the result is invalid
and the error message is empty (""), the result will be treated as
invalid but no error will be presented to the user.
Gets a value indicating whether the error should
be presented to the user.
Gets a value used to communicate what the error is.
Geta an instance of DataErrorInfoValidationResult that corresponds
to a valid result.
The BuiltinDataErrorInfoValidationRuleFactory creates default settings for the
builtin FilterRules.
The FilterRuleCustomizationFactory class provides a central location
a return an abstract factory which creates the standard settings and rules
used by the builtin FilterRules.
Initializes the static state of the DataErrorInfoValidationRuleFactory class.
Returns a collection containing the default rules used by a PropertyValueSelectorFilterRule
for type T.
The type used to determine what rules to include.
Returns a collection of FilterRules.
Transfers the values from the old rule into the new rule.
The old filter rule.
The new filter rule.
Clears the values from the filter rule.
The rule to clear.
Get an error message to display to a user when they
provide a string value that cannot be parsed to type
typeToParseTo.
The value entered by the user.
The desired type to parse value to.
An error message to a user to explain how they can
enter a valid value.
Gets or sets a factory instance which is used by builtin
filter rules.
Gets or sets a that can retrieve the values of properties on a given object.
Returns a collection containing the default rules used by a PropertyValueSelectorFilterRule
for type t.
The type used to determine what rules to include.
Returns a collection of FilterRules.
Transfers the values from the old rule into the new rule.
The old filter rule.
The new filter rule.
Clears the values from the filter rule.
The rule to clear.
Get an error message to display to a user when they
provide a string value that cannot be parsed to type
typeToParseTo.
The value entered by the user.
The desired type to parse value to.
An error message to a user to explain how they can
enter a valid value.
Gets or sets a that can retrieve the values of properties on a given object.
The FilterEvaluator class is responsible for allowing the registeration of
the FilterExpressionProviders and producing a FilterExpression composed of
the FilterExpression returned from the providers.
The IFilterExpressionProvider interface defines the contract between
providers of FilterExpressions and consumers thereof.
Gets a FilterExpression representing the current
relational organization of FilterRules for this provider.
Gets a value indicating whether this provider currently has a non-empty filter expression.
Raised when the FilterExpression of this provider
has changed.
Applies the filter.
Stops the filter.
Adds a FilterExpressionProvider to the FilterEvaluator.
The provider to add.
Removes a FilterExpressionProvider from the FilterEvaluator.
The provider to remove.
Notifies listeners that a property has changed.
The propertyName which has changed.
Notifies any listeners that the filter expression has changed.
Gets a readonly collection of the registered FilterExpressionProviders.
Gets a value indicating the status of the filter evaluation.
Gets a value indicating the status of the filter evaluation.
Gets a value indicating whether this provider currently has a non-empty filter expression.
TODO TODO.
Returns a FilterExpression composed of FilterExpressions returned from the
registered providers.
The FilterExpression composed of FilterExpressions returned from the
registered providers.
Occurs when the filter expression has changed.
The EventArgs detailing the exception raised while
evaluating the filter.
Initializes a new instance of the FilterExceptionEventArgs
class.
The Exception that was raised when filtering was evaluated.
Gets the Exception that was raised when filtering was
evaluated.
TODO TODO.
TODO TODO.
TODO TODO.
TODO TODO.
Provides common utilities for filtering.
The ItemsControlFilterEvaluator class provides functionality to
apply a filter against an ItemsControl.
Applies the filter.
Stops the filter.
Gets or sets an ItemsControl which is
the target for filtering.
Used to notify listeners that an unhandled exception has occurred while
evaluating the filter.
The ValidatingSelectorValue class provides support for selecting
a value from a collection of available values.
The generic parameter.
The ValidatingValueBase class provides basic services for base
classes to support validation via the IDataErrorInfo interface.
Adds a validation rule to the ValidationRules collection.
The validation rule to add.
Removes a validation rule from the ValidationRules collection.
The rule to remove.
Clears the ValidationRules collection.
Called to validate the entire object.
Returns a DataErrorInfoValidationResult which indicates the validation state
of the object.
Called to validate the property with the given name.
The name of the property whose error message will be checked.
Returns a DataErrorInfoValidationResult which indicates the validation state
of the property.
Calling InvalidateValidationResult causes the
Validation to be reevaluated.
Notifies listeners that a property has changed.
The propertyName which has changed.
Gets the collection of validation rules used to validate the value.
Gets a value indicating whether the value is valid.
Gets the error message for the property with the given name.
The name of the property whose error message will be checked.
The error message for the property, or an empty string ("") if
the property is valid.
is invalid.
Gets an error message indicating what is wrong with this object.
Occurs when a property value changes.
The listeners attached to this event are not serialized.
Called to validate the entire object.
Returns a DataErrorInfoValidationResult which indicates the validation state
of the object.
Called to validate the property with the given name.
The name of the property whose error message will be checked.
Returns a DataErrorInfoValidationResult which indicates
the validation state of the property.
may only be
.
Notifies listeners that the selected value with the available
values has changed.
The previous selected value.
The current selected value.
Gets the collection of values available for selection.
Gets or sets the index of the currently selected item or
returns negative one (-1) if the selection is empty.
If you set SelectedIndex to a value less that -1, an
ArgumentException is thrown. If you set SelectedIndex to a
value equal or greater than the number of child elements,
the value is ignored.
Gets the item within AvailableValues at the offset indicated
by SelectedIndex or returns default(T) if the selection is empty.
Gets or sets the converter used to display a friendly
value to the user.
Notifies listeners that the selected value has changed.
The ValidatingValue class supports setting a value and validating the
value.
The generic parameter.
Gets the raw value cast/transformed into
type T.
The cast value.
Forces a validation update to occur.
The validation update occurs via signaling that
the Value property has changed.
Called to validate the entire object.
Returns a DataErrorInfoValidationResult which indicates the validation state
of the object.
Called to validate the property with the given name.
The name of the property whose error message will be checked.
Returns a DataErrorInfoValidationResult which indicates
the validation state of the property.
may only be
.
Gets or sets a value.
The AddFilterRulePicker class is responsible for allowing users to
add rules to an FilterRulePanel.
TODO.
TODO.
Called when CancelAddFilterRules executes.
TODO.
TODO.
Called to determine if OkAddFilterRules can execute.
Called when OkAddFilterRules executes.
TODO.
Identifies the AddFilterRulesCommand dependency property.
Called when AddFilterRulesCommand property changes.
Identifies the AddFilterRulesCommandTarget dependency property.
Called when AddFilterRulesCommandTarget property changes.
Identifies the IsOpen dependency property.
Called when IsOpen property changes.
Called when a property changes.
Called when the type is initialized.
Gets the collection of shortcut rules available for addition to the FilterRulePanel.
Gets the collection of column rules available for addition to the FilterRulePanel.
Gets or sets the command used to communicate that the action has occurred.
Occurs when AddFilterRulesCommand property changes.
Gets or sets a target of the Command.
Occurs when AddFilterRulesCommandTarget property changes.
Gets or sets a value indicating whether the Popup is visible.
Occurs when IsOpen property changes.
The AddFilterRulePicker class is responsible for holding state
information needed by the AddFilterRulePicker class.
Initializes a new instance of the FilterRulePanelItem class.
The FilterRulePanelItem that will be added to the FilterRulePanel.
Notifies listeners that a property has changed.
The propertyName which has changed.
Gets or sets a value indicating whether this item should
be added to the FilterRulePanel.
Gets the FilterRulePanelItem that will be added to the FilterRulePanel.
Notifies listeners that a property has changed.
The InputFieldBackgroundTextConverter is responsible for determing the
correct background text to display for a particular type of data.
Converts a value of type ValidatingValue of T into a background string
which provides a hint to the end user (e.g. Empty, M/d/yy).
A value of type ValidatingValue.
The parameter is not used.
The parameter is not used.
The parameter is not used.
Returns a background string for value.
This method is not used.
The parameter is not used.
The parameter is not used.
The parameter is not used.
The parameter is not used.
The parameter is not used.
The IsValidatingValueValidConverter is responsible for determining if
a ValidatingValueBase object is valid.
Determines if ValidatingValueBase.Error indicates
if the object is valid.
The Error string to check.
The parameter is not used.
The parameter is not used.
The parameter is not used.
Returns true if value is null or empty, false otherwise.
This method is not used.
The parameter is not used.
The parameter is not used.
The parameter is not used.
The parameter is not used.
The parameter is not used.
TODO TODO.
TODO.
Initializes a new instance of the FilterRulePanel class.
Associates a DataTemplate with a Type so that objects of that Type
that are displayed in FilterRulePanel use the specified DataTemplate.
The type to associate the DataTemplate with.
The DataTemplate to associate the type with.
Removes the Type and associated DataTemplate from usage when displaying objects
of that type in the FilterRulePanel.
The type to remove.
Gets a DataTemplate associated with a type.
A Type whose DataTemplate will be returned.
A DataTemplate registered for type.
Returns true if there is a DataTemplate registered for type, false otherwise.
Removes all the registered content templates.
TODO TODO.
TODO.
Called when AddRules executes.
TODO.
TODO.
Called when RemoveRule executes.
TODO.
Called when the type is initialized.
Create an instance of the AutomationPeer.
An instance of the AutomationPeer.
Gets the collection of FilterRulePanelItems that are currently
displayed in the panel.
Gets a FilterExpression representing the current
relational organization of FilterRules for this provider.
Gets the FilterRulePanelController associated with this FilterRulePanel.
Gets a FilterRuleTemplateSelector that stores
the templates used for items in the panel.
Gets a value indicating whether this provider currently has a non-empty filter expression.
Raised when a FilterRulePanelItem has been added or removed.
TODO TODO.
Initializes a new instance of the FilterRulePanelContentPresenter class.
TODO TODO.
TODO TODO TODO.
Gets or sets an IValueConverter used to convert the Content
value.
TODO TODO.
Initializes a new instance of the FilterRulePanelController class.
TODO TODO.
TODO TODO TODO.
TODO TODO.
TODO TODO TODO.
TODO TODO.
TODO TODO.
Gets the collection of FilterRulePanelItems that are currently
displayed in the panel.
Gets a FilterExpression representing the current
relational organization of FilterRules for this provider.
Gets a value indicating whether this provider currently has a non-empty filter expression.
Raised when a FilterRulePanelItem has been added or removed.
TODO TODO.
Initializes a new instance of the FilterRulePanelItem class.
The FilterRule to store in this FilterRulePanelItem.
TODO TODO.
TODO TODO.
TODO TODO TODO.
Gets a FilterRule that is stored in this FilterRulePanelItem.
Gets a string that indentifies which group this
item belongs to.
Gets the type of FilterRulePanelItemType.
TODO TODO.
TODO TODO.
TODO TODO.
TODO TODO.
TODO TODO.
TODO TODO.
TODO TODO.
TODO TODO TODO.
TODO TODO TODO TODO.
Returns a DataTemplate for item.
Gets the dictionary containing the type-template values.
The FilterRuleToDisplayNameConverter is responsible for converting
a FilterRule value to its DisplayName.
Converts a FilterRule value to its DisplayName.
A FilterRule.
Type of String.
The parameter is not used.
The parameter is not used.
The display name of the FilterRule.
The method is not used.
The parameter is not used.
The parameter is not used.
The parameter is not used.
The parameter is not used.
The method does not return a value.
Partial class implementation for SearchBox control.
Represents a control that parses search text to return a filter expression.
Initializes a new instance of the class.
Notifies any listeners that the filter expression has changed.
Converts the specified collection of searchbox items to a filter expression.
A collection of searchbox items to convert.
A filter expression.
The specified value is a null reference.
Clears the search text.
Called to determine if ClearText can execute.
Called when ClearText executes.
Clears the search text.
Identifies the BackgroundText dependency property.
Called when BackgroundText property changes.
Identifies the Text dependency property.
Called when Text property changes.
Called when a property changes.
Called when the type is initialized.
Gets the filter expression representing the current search text.
Gets a value indicating whether this provider currently has a non-empty filter expression.
Occurs when the filter expression has changed.
Gets or sets the parser used to parse the search text.
Gets or sets the background text of the search box.
Occurs when BackgroundText property changes.
Gets or sets the text contents of the search box.
Occurs when Text property changes.
Provides functionality for parsing search text.
Initializes a new instance of .
Allows the specified rule to be included in the search expression.
The rule must have an available rule of type that will be set with the search value.
The type of the text rule within the specified selector rule.
The rule to include in the search expression.
true if a rule of type was added; otherwise, false.
The specified value is a null reference.
Removes the searchable rules, including the full-text rule.
Parses the specified text and returns a read-only collection of results.
The text to parse.
A read-only collection of results.
Gets the group name of the full-text search pattern.
Gets the group name of the value search pattern.
Gets the search pattern used for values.
Gets a regular expression pattern used to parse the search text.
A regular expression pattern used to parse the search text.
Gets or sets the full-text rule for searching.
Gets a list of the searchable rules.
Provides functionality for getting a FilterRule from search text.
Initializes a new instance of with the specified unique ID, selector rule, and child rule.
A unique ID for this instance.
A selector rule that contains .
A text rule within .
The specified value is a null reference.
Gets a rule with the specified search value set.
The search value.
A rule with the specified search value set.
The specified value is a null reference.
Gest the unique ID for this instance.
Gets the regular expression pattern for this instance.
Represents the result of search text parsing.
Initializes a new instance of with the specified .
The rule that resulted from parsing the search text.
The specified value is a null reference.
Gets the rule that resulted from parsing the search text.
The ValidatingSelectorValueToDisplayNameConverterTakes class is responsible for returning a display
friendly name for the ValidatingSelectorValue class.
Takes in a value and a converter and runs the converter on the value returning
a display friendly name.
The first parameter is the value to get the display name for.
The second parameter is the converter.
Type of string.
The parameter is not used.
The parameter is not used.
Returns a display friendly name for the first value.
The method is not used.
The parameter is not used.
The parameter is not used.
The parameter is not used.
The parameter is not used.
The method does not return a value.
TODO TODO.
TODO TODO.
TODO TODO TODO.
The parameter is not used.
The parameter is not used.
The parameter is not used.
The type of value.
This method is not used.
The parameter is not used.
The parameter is not used.
The parameter is not used.
The parameter is not used.
The parameter is not used.
Gets an instance of the ValidatingValueToGenericParameterTypeConverter class.
Interaction logic for ColumnPicker.xaml.
The logic for manipulating the column lists is in
.
ColumnPicker
Default Constructor.
Constructor which initializes lists.
Initially selected columns.
All initial columns, if these include any which are selected
these are excluded.
It is not sufficient to just get
, since this does not
communicate the current ordering of visible columns.
OK button was clicked.
OK button.
The RoutedEventArgs.
Move Up button was clicked.
Move Up button.
The RoutedEventArgs.
Moving the selected item in the bound collection does not
trigger the SelectionChanged event in the listbox.
Move Down button was clicked.
Move Down button.
The RoutedEventArgs.
Add button was clicked.
Add button.
The RoutedEventArgs.
Remove button was clicked.
Remove button.
The RoutedEventArgs.
Note that we do not attempt to maintain the ordering of items
in the NotSelected list when they are removed and then added back.
In the current implementation, the View of the NotSelected list is
sorted by name through the CollectionViewSource.
Creates AutomationPeer ().
New AutomationPeer.
The selection changed in either the Selected or NotSelected list.
The sender.
The eventargs.
Update which buttons are enabled based on current selection,
also whether RequiredColumnText or LastColumnText
should be visible.
Handles mouse double-click of items in
.
The sender.
The eventargs.
Handles mouse double-click of items in
.
The sender.
The eventargs.
InitializeComponent
Gets the columns in "Selected columns" list.
Gets the columns in "Available columns" list.
Converts the value of the single in a
to a string,
and returns that string if not null/empty,
otherwise returns DefaultValue.
The must have exactly one
.
The problem solved by this
is that for an ordinary which is bound to
"Path=PropertyA.PropertyB", the Converter is not called if the value
of PropertyA was null (and therefore PropertyB could not be accessed).
By contrast, the converter for an
will be called even if any or all of the bindings fail to evaluate
down to the last property.
Note that the which uses this
must have exactly one
.
Converts the value of the single in the
to a string,
and returns that string if not null/empty,
otherwise returns DefaultValue.
Must contain exactly one value, of any type.
The parameter is not used.
The parameter is not used.
The parameter is not used.
A string, either the value of the first
converted to string, or DefaultValue.
Note that the which uses this
must have exactly one
.
Skip ConvertBack binding.
The parameter is not used.
The parameter is not used.
The parameter is not used.
The parameter is not used.
Binding.DoNothing blocks ConvertBack binding.
Gets or sets default string returned by the converter
if the value is null/empty.
Partial class implementation for InnerList control.
List control for Inner Applications. This Control supports grouping, sorting, filtering and GUI Virtualization through DataBinding.
The current ICollectionView being displayed
The current GridView.
ContextMenu for InnerList columns.
Private setter for .
Gets or sets whether the current items source is non-null and has items.
Initializes a new instance of this control.
Causes the object to scroll into view.
Object to scroll.
This method overrides ListBox.ScrollIntoView(), which throws NullReferenceException when VirtualizationMode is set to Recycling.
This implementation uses a workaround recommended by the WPF team.
Causes the object to scroll into view from the top, so that it tends to appear at the bottom of the scroll area.
Object to scroll.
Updates the InnerGrid based upon the columns collection.
Sorts the list by the specified column. This has no effect if the list does not have a data source.
The column to sort
Indicates whether the SelectedItem should be scrolled into view.
The specified value is a null reference.
Gets a list of data descriptions for the columns that are not the primary sort column.
A list of data descriptions for the columns that are not the primary sort column.
Clears the sort order from the list.
Called when the ItemsSource changes to set internal fields, subscribe to the view change
and possibly autopopulate columns.
Previous ItemsSource.
Current ItemsSource.
Called when ItemsChange to throw an exception indicating we don't support
changing Items directly.
Event parameters.
Called when a key is pressed while within the InnerList scope.
The event args.
Called when the View property is changed.
InnerList whose property is being changed.
Event arguments.
Gets the exception to be thrown when using Items.
The exception to be thrown when using Items.
Called from OnItemsSourceChanged to set the collectionView field and
subscribe to the collectionView changed event.
ITemsSource passed to OnItemsSourceChanged.
Update View And CollectionView.
InnerList object.
Releases all references to the current inner grid, if one exists.
Called when the ItemsSource changes, after SetGridview to add event handlers
to the column header.
Gets a tab-delimited string representing the data of the selected rows.
A tab-delimited string representing the data of the selected rows.
Called to implement sorting functionality on column header pressed by space or enter key.
Typically a GridViewColumnHeader.
The event information.
Called to implement sorting functionality on column header click.
Typically a GridViewColumnHeader.
The event information.
Called to implement sorting functionality.
Typically a GridViewColumnHeader.
Create default Context Menu.
ContextMenu of List Columns.
Set up context menu item for Column Picker feature.
True if it is successfully set up.
Called to determine if Copy can execute.
Called when Copy executes.
When executed, the currently selected items are copied to the clipboard.
Identifies the AutoGenerateColumns dependency property.
Called when AutoGenerateColumns property changes.
Identifies the IsGroupsExpanded dependency property.
Called when IsGroupsExpanded property changes.
Identifies the IsPrimarySortColumn dependency property key.
Identifies the IsPrimarySortColumn dependency property.
Gets whether a column is the primary sort in a list.
The dependency object that the property is attached to.
The value of IsPrimarySortColumn that is attached to element.
Sets whether a column is the primary sort in a list.
The dependency object that the property will be attached to.
The new value.
Called when a property changes.
Called when the type is initialized.
Register PropertyChangedEventHandler ItemSourcesPropertyChanged .
Gets ItemsSource instead.
Does not support adding to Items.
Gets the column that is sorted, or null if no column is sorted.
Gets InnerListGridView.
Gets the collection of columns that this list should display.
Gets or sets a value indicating whether this list's columns should be automatically generated based on its data.
Occurs when AutoGenerateColumns property changes.
Gets or sets a value indicating whether is groups expanded or not.
Occurs when IsGroupsExpanded property changes.
InnerList Columns class.
Derives and extends GridViewColumn to add concepts such as column visibility.
Derives and extends GridViewColumn to add concepts such as column visibility..
Static Constructor.
Constructor for .
Initializes a new instance of class with the specified data description, and creates a simple binding to its property.
The column will be initially visible by default.
The property description for this column's data.
Initializes a new instance of class with the specified data description and visibility, and creates a simple binding to its property.
The property description for this column's data.
Whether the column is initially visible.
Initializes a new instance of class with the specified data description and visibility.
The description of the data this column is bound to.
Whether the column is initially visible.
Whether the column should create a default binding using the specified data's property.
Gets a default string format for the specified type.
The type to get a string format for.
A default string format for the specified type.
Displayable string identifying this class instance.
A string to represent the instance of this class.
Identifies the DataDescription dependency property.
Called when DataDescription property changes.
Identifies the MinWidth dependency property.
Called when MinWidth property changes.
Identifies the Required dependency property.
Called when Required property changes.
Identifies the Visible dependency property.
Called when Visible property changes.
Gets or sets the data description.
Gets or sets a value that dictates the minimum allowable width of the column.
Gets or sets a value indicating whether the column may not be removed.
Gets or sets a value indicating whether the columns we want to have available in the list.
Modifying the Visible property does not in itself make the column visible or not visible. This should always be kept in sync with the Columns property.
Extends the basic GrdView class to introduce the Visible concept to the
Columns collection.
Set to true when we want to change the Columns collection.
Instanctiates a new object of this class.
Initializes a new instance of the class with the specified columns.
The columns this grid should display.
The specified value is a null reference.
Releases this instance's references to its controls.
This API supports the framework infrastructure and is not intended to be used directly from your code.
Called when the ItemsSource changes to auto populate the GridView columns
with reflection information on the first element of the ItemsSource.
The new ItemsSource.
This is used just to fetch .the first collection element.
Callback for displaying the Column Picker.
The send object.
The Event RoutedEventArgs.
Called when Columns changes so we can check we are the ones changing it.
The collection changing.
The event parameters.
Called when the AvailableColumns changes to pass through the VisibleColumns to Columns.
The collection changing.
The event parameters.
Called from availableColumns_CollectionChanged to add or remove the notifications
used to track the Visible property.
The parameter passed to availableColumns_CollectionChanged.
Syncronizes AvailableColumns and Columns preserving the order from Columns that
comes from the user moving Columns around.
Called when the Visible property of a column changes.
The column whose property changed.
The event parameters.
Gets a collection of all columns which can be
added to the ManagementList, for example through ColumnPicker.
Columns is the collection of the columns which are currently
displayed (in the order in which they are displayed).
Provides methods for retrieving the property values of objects.
Gets the value of the specified property on the specified object.
The name of the property to get the value for.
The object to get value from.
The value of the property.
true if the property value could be retrieved; otherwise, false.
Gets the value of the specified property on the specified object.
The type of the property value.
The name of the property to get the value for.
The object to get value from.
The value of the property if it exists; otherwise, default(T).
true if the property value of the specified type could be retrieved; otherwise, false.
TODO TODO.
Interaction logic for ManagementList.
If a custom template is provided for this control, then the template MUST provide the following template parts:
PART_ViewManager - A required template part which must be of type ListOrganizer. TODO.
PART_ViewSaver - A required template part which must be of type PickerBase. TODO.
Initializes a new instance of the ManagementList class.
Moves focus to the SearchBox when Ctrl+E is pressed.
The event data.
Adds the specified column.
Default filter rules for the column will be added if the filter is shown.
A default search rule will be added if the search box is shown and the column's data type is searchable.
The column to add.
The specified value is a null reference.
Adds the specified columns, and optionally default filter and search rules.
The column to add.
Whether to add default filter rules for the specified column.
The specified value is a null reference.
Adds the specified rule, using the rule's display name as its group name.
The rule to add.
The specified value is a null reference.
Clears all of the current columns, searchable rules and filter rules.
Identifies the ViewsChanged RoutedEvent.
Informs the ManagementList that it should clear the filter that is applied.
Called to determine if ClearFilter can execute.
Called when ClearFilter executes.
Informs the ManagementList that it should clear the filter that is applied.
Informs the PickerBase that it should close the dropdown.
Called to determine if SaveView can execute.
Called when SaveView executes.
Informs the PickerBase that it should close the dropdown.
Informs the ManagementList that it should apply the filter.
Called to determine if StartFilter can execute.
Called when StartFilter executes.
Informs the ManagementList that it should apply the filter.
Informs the ManagementList that it should stop filtering that is in progress.
Called to determine if StopFilter can execute.
Called when StopFilter executes.
Informs the ManagementList that it should stop filtering that is in progress.
Identifies the AddFilterRulePicker dependency property key.
Identifies the AddFilterRulePicker dependency property.
Called when AddFilterRulePicker property changes.
Identifies the CurrentView dependency property key.
Identifies the CurrentView dependency property.
Called when CurrentView property changes.
Identifies the Evaluator dependency property.
Called when Evaluator property changes.
Identifies the FilterRulePanel dependency property key.
Identifies the FilterRulePanel dependency property.
Called when FilterRulePanel property changes.
Identifies the IsFilterShown dependency property.
Called when IsFilterShown property changes.
Identifies the IsLoadingItems dependency property.
Called when IsLoadingItems property changes.
Identifies the IsSearchShown dependency property.
Called when IsSearchShown property changes.
Identifies the List dependency property key.
Identifies the List dependency property.
Called when List property changes.
Identifies the SearchBox dependency property key.
Identifies the SearchBox dependency property.
Called when SearchBox property changes.
Identifies the ViewManagerUserActionState dependency property.
Called when ViewManagerUserActionState property changes.
Identifies the ViewSaverUserActionState dependency property.
Called when ViewSaverUserActionState property changes.
Called when a property changes.
Called when ApplyTemplate is called.
Called when the type is initialized.
Create an instance of the AutomationPeer.
An instance of the AutomationPeer.
Gets the collection of saved views.
Gets or sets a factory used to create new views.
Gets an enumerator for logical child elements of this element.
TODO.
Gets the filter rule picker.
Occurs when AddFilterRulePicker property changes.
Gets or sets current view.
Occurs when CurrentView property changes.
Gets or sets the FilterEvaluator.
Occurs when Evaluator property changes.
Gets the filter rule panel.
Occurs when FilterRulePanel property changes.
Gets or sets a value indicating whether the filter is shown.
Occurs when IsFilterShown property changes.
Gets or sets a value indicating whether items are loading.
Occurs when IsLoadingItems property changes.
Gets or sets a value indicating whether the search box is shown.
Occurs when IsSearchShown property changes.
Gets the list.
Occurs when List property changes.
Gets the search box.
Occurs when SearchBox property changes.
Gets or sets the user interaction state of the view manager.
Occurs when ViewManagerUserActionState property changes.
Gets or sets the user interaction state of the view saver.
Occurs when ViewSaverUserActionState property changes.
Allows the state of the ManagementList to be saved and restored.
Constructs a new instance of the ManagementListStateDescriptor class.
Constructs a new instance of the ManagementListStateDescriptor class.
The name that will be displayed to users.
Saves a snapshot of the ManagementList state.
The ManagementList instance whose state should be preserved.
Columns will not be saved if not supported per
.
ManagementList.AutoGenerateColumns not supported.
Restores the state of the passed in ManagementList and applies the restored filter.
The ManagementList instance whose state should be restored.
Restores the state of the passed in ManagementList.
The ManagementList instance whose state should be restored.
Whether the restored filter should be automatically applied.
Columns will not be restored if not supported per
.
ManagementList.AutoGenerateColumns not supported.
Checks whether columns can be restored.
Target ManagementList.
RetryActionAfterLoaded callback method.
true iff columns restorable
ManagementList.AutoGenerateColumns not supported.
Set column state for target to
previously persisted state.
Target whose column state
is to be restored.
Required columns are always visible regardless of persisted state.
Displayable string identifying this class instance.
A string to represent the instance of this class.
Gets or sets the location of the column.
Gets or sets a value indicating whether the column should be shown.
Gets or sets the sort direction of the column.
Gets or sets a value indicating the width of a column.
Gets or sets the UniqueName associated with the rule.
Gets the FilterRule associated with the rule.
Constructor that takes a lookup dictionary of column information.
The lookup dictionary.
Compares two InnerListColumn objects and determines their relative
ordering.
The first object.
The second object.
Returns 1 if x should ordered after y in the list, returns -1 if
x should be order before y, and returns 0 if the ordering should not
be changed.
Defines a factory which returns ManagementListStateDescriptors.
Factory method that creates a ManagementListStateDescriptor.
A new ManagementListStateDescriptor.
Partial class implementation for ManagementListTitle control.
Provides a common control for displaying header information about a list.
Initializes a new instance of the class.
Identifies the List dependency property.
Called when List property changes.
Identifies the ListStatus dependency property.
Called when ListStatus property changes.
Identifies the Title dependency property.
Called when Title property changes.
Identifies the TotalItemCount dependency property.
Called when TotalItemCount property changes.
Called when a property changes.
Called when the type is initialized.
Create an instance of the AutomationPeer.
An instance of the AutomationPeer.
Gets or sets the list this title is for. This is a dependency property.
Occurs when List property changes.
Gets the status of the list. This is a dependency property.
Occurs when ListStatus property changes.
Gets or sets the title. This is a dependency property.
Occurs when Title property changes.
Gets or sets the number of items in the list before filtering is applied. This is a dependency property.
Occurs when TotalItemCount property changes.
Provides a mechanism for comparing objects based on specific properties.
Initializes a new instance of .
The data descriptions containing sort information for all columns.
Whether sorting should compare additional columns when equal values are found.
The used to retrieve property values.
Compares properties of the specified objects and returns a value indicating whether one is less than, equal to or greater than the other.
The first object to compare.
The second object to compare.
Less than zero if is less than ;
greater than zero if is greater than ;
otherwise, zero.
Provides methods for retrieving the property values of objects.
Initializes a new instance of the class.
Gets the value of the specified property on the specified object.
The name of the property to get the value for.
The object to get value from.
The value of the property.
true if the property value could be retrieved; otherwise, false.
Gets the value of the specified property on the specified object.
The type of the property value.
The name of the property to get the value for.
The object to get value from.
The value of the property if it exists; otherwise, default(T).
true if the property value of the specified type could be retrieved; otherwise, false.
Describes a property that has visual representation and can be sorted and grouped.
Initializes a new instance of the class with the specified property name and display name.
This constructor assumes that the type of data is .
The name of the property that this instance describes.
The name displayed to users for this data.
Initializes a new instance of the class with the specified property name, display name and data type.
The name of the property that this instance describes.
The name displayed to users for this data.
The type of the data that this instance describes.
Reverses the current sort direction.
The new sort direction.
Displayable string identifying this class instance.
A string to represent the instance of this class.
Gets or sets the localizable display name representing the associated property.
Gets or sets the display content representing the associated property.
Gets or sets which direction the associated property should be sorted.
Gets or sets the type of the associated property.
Converter from ViewGroup to group title string.
Convert each ViewGroup into its name and its count.
Value to be converted.
Type to convert the value to.
The conversion parameter.
Conversion culture.
The converted string.
ConvertBack is not supported.
Value to be converted.
Type to convert the value to.
The conversion parameter.
Conversion culture.
This method is not supported.
when calling the method.
Waiting Ring class.
Static constructor for WaitRing.
Builds a help paragraph for a cmdlet
Builds a paragraph based on Text + Bold + Highlight information.
Bold are the segments of thexct that should be bold, and Highlight are
the segments of thext that should be highlighted (like search results).
The text spans that should be bold
The text spans that should be highlighted
The text displayed
Paragraph built in BuildParagraph
Initializes a new instance of the ParagraphBuilder class
paragraph we will be adding lines to in BuildParagraph
Called after all the AddText calls have been made to build the paragraph
based on the current text.
This method goes over 3 collections simultaneouslly:
1) characters in this.textBuilder
2) spans in this.boldSpans
3) spans in this.highlightedSpans
And adds the minimal number of Inlines to the paragraph so that all
characters that should be bold and/or highlighed are.
Highlights all ocurrences of .
This is called after all calls to AddText have been made
search string
true if search should be case sensitive
true if we should search whole word only
Adds text to the paragraph later build with BuildParagraph
text to be added
true if the text should be bold
Called before a derived class starts adding text
to reset the current content
Adds an inline to based on the remaining parameters.
paragraph to add Inline to
true if text should be added in bold
true if the text should be added with highlight
the text to add and clear
This is an auxiliar method in BuildParagraph to move the current bold or highlighed spans
according to the
The current bold and higlighed span should be ending ahead of the current position.
Moves and to the
propper span in according to the
This is an auxiliar method in BuildParagraph.
current index within
current span within
caracter position. This comes from a position within this.textBuilder
the collection of spans. This is either this.boldSpans or this.highlightedSpans
Adds one individual text highlight
This is called after all calls to AddText have been made
highlight start
highlight length
Called internally to notify when a proiperty changed
property name
Used to notify of property changes
Gets the number of highlights.
Gets the paragraph built in BuildParagraph
A text span used to mark bold and highlighed segments
Index of the first character in the span
Index of the last character in the span
Initializes a new instance of the TextSpan struct
Index of the first character in the span
Index of the last character in the span
Returns true if the is between start and end (inclusive)
position to verify if is in the span
true if the is between start and end (inclusive)
Gets the index of the first character in the span
Gets the index of the first character in the span
Indentation size
new line separators
Object with the cmdelt
Initializes a new instance of the HelpParagraphBuilder class
paragraph being built
object with help information
Gets the string value of a property or null if it could not be retrieved
object with the property
property name
the string value of a property or null if it could not be retrieved
Adds the help text to the paragraph
Gets the object property or null if it could not be retrieved
object with the property
property name
the object property or null if it could not be retrieved
Gets a PSObject and then a value from it or null if the value could not be retrieved
PSObject that contains another PSObject as a property
property name that contains the PSObject
property name in thye inner PSObject
the string from the inner psObject property or null if it could not be retrieved
Gets the value of a property or null if the value could not be retrieved
object with the property
property name
the value of a property or null if the value could not be retrieved
Gets the text from a property of type PSObject[] where the first object has a text property
objhect to get text from
property with PSObject[] containing text
the text from a property of type PSObject[] where the first object has a text property
Returns the largest size of a group of strings
strings to evaluate the largest size from
the largest size of a group of strings
Splits the string adding indentation before each line
string to add indentation to
the string indented
Splits the string adding indentation before each line
string to add indentation to
number of indentations
the string indented
Splits the string adding indentation before each line
string to add indentation to
indentation string
the string indented
Get the object array value of a property
object containing the property
property with the array value
the object array value of a property
Adds a section that contains only a string
true if it should add the segment
name of the section to add
title of the section
Adds the help syntax segment
true if it should add the segment
title of the section
Adds the help description segment
true if it should add the segment
title of the section
Adds the help examples segment
true if it should add the segment
title of the section
Adds the help parameters segment
true if it should add the segment
title of the section
Adds the help navigation links segment
true if it should add the segment
title of the section
Adds the help input or output segment
true if it should add the segment
title of the section
property with the outter object
property with the inner object
Adds the help notes segment
true if it should add the segment
title of the section
ViewModel for the Help Dialog used to:
build the help document
search the help document
offer text for labels
The builder for the help FlowDocument Paragraph used in a RichEditText control
Searcher for selecting current matches in paragraph text
Title of the help window
the zoom bound to the zoom slider value
Text to be found. This is bound to the find TextBox
text for the number of matches found
Initializes a new instance of the HelpViewModel class
object containing help
paragraph in which help text is built/searched
Highlights all matches to this.findText
Called when findText changes or whenever the search has to be refreshed
Increases Zoom if not above maximum
Decreases Zoom if not below minimum
Called to update the matches label
event sender
event arguments
Sets the current matches label
Called internally to notify when a proiperty changed
property name
Used to notify of property changes
Gets or sets the Zoom bound to the zoom slider value
Gets the value bound to the RichTextEdit zoom, which is calculated based on the zoom
Gets the label to be displayed for the zoom
Gets or sets the text to be found
Gets the title of the window
Gets or sets the label for current matches
Gets a value indicating whether there are matches to go to
Gets the searcher for selecting current matches in paragraph text
Gets the paragraph builder used to write help content
A window displaying help content and allowing search
HelpWindow
Minimum zoom in the slider
Maximum zoom in the slider
Zoom interval
The ViewModel for the dialog
Initializes a new instance of the HelpWindow class
the object with help information
Handles the mouse wheel to zoom in/out
event arguments
Handles key down to fix the Page/Douwn going to end of help issue
And to implement some additional shortcuts like Ctrl+F and ZoomIn/ZoomOut
event arguments
Reads the zoom part of the user settings
Handles Zoom in and Zoom out keys
event arguments
Listens to changes in the zoom in order to update the user settings
event sender
event arguments
Saves the user settings
event sender
event arguments
Updates the user setting with window state
event sender
event arguments
Sets the positions from user settings and start monitoring position changes
event sender
event arguments
Saves size changes in user settings
event sender
event arguments
Saves position changes in user settings
event sender
event arguments
Called when the settings button is clicked
event sender
event arguments
Called when the Previous button is clicked
event sender
event arguments
Called when the Next button is clicked
event sender
event arguments
Moves to the previous or next match
true for forward false for backwards
Moves to the caret and brings the view to the
run to move to
InitializeComponent
Moves through search highlights built in a ParagraphBuilder
changing the color of the current highlight
Highlight for all matches except the current
Highlight for the current match
Current match being highlighted in search
Initializes a new instance of the ParagraphSearcher class
Move to the next highlight starting at the
true for next false for previous
caret position
the next highlight starting at the
Resets the search for fresh calls to MoveAndHighlightNextNextMatch
Returns true if is highlighted
run to check if is highlighted
true if is highlighted
Get the next or previous run according to
the current run
true for next false for previous
the next or previous run according to
Gets the run of an inline. Inlines in a ParagrahBuilder are either a Run or a Bold
which contains a Run
inline to get the run from
the run of the inline
Gets the next highlighted run starting and including
according to the direction specified in
the current run
true for next false for previous
the next highlighted run starting and including
according to the direction specified in
Gets the run's paragraph
run to get the paragraph from
the run's paragraph
Returns true if the run is the fiorst run of the paragraph
run to check
true if the run is the fiorst run of the paragraph
Gets the first or lasr run in the paragraph containing
run containing the caret
true for first false for last
the first or last run in the paragraph containing
Dialog with settings for the help dialog
SettingsDialog
Initializes a new instance of the SettingsDialog class
Called when the OK button has been clicked
event sender
event arguments
InitializeComponent
OutGridViewWindow definition for PowerShell command out-gridview.
Window for gridView.
Local ManagementList.
A collection of PSObjects to be data bound to the local Management List.
Event used for the thread gridViewWindows signaling main thread after Windows loaded
Is used to store any Management list calls exceptions.
Is used to block thread of the pipeline.
OK Button's content.
Cancel Button's content.
Used to store selected items in the ok processing
The GUI thread of Out-GridView
Constructor for OutGridView.
Start a new thread as STA for gridView Window.
commands of the PowerShell.
selection mode of the list
closedEvent
Creates a new ManagementList.
Output mode of the out-gridview
A new ManagementList
Creates a new main grid for window.
Output mode of the out-gridview
A new mainGrid
Creates a OK button.
A new buttonGrid
Creates a OK button.
A new OK button
Creates a Cancel button.
A new Cancel button
Store the selected items for use in EndProcessing
event sender
event arguments
Closes the window
event sender
event arguments
Gets selected items from List.
Selected items of the list
Closes the window
Add column defenitions to the underlying management list.
An array of property names to add.
An array of display names to add.
An array of types to add.
Add an item to ObservableCollection.
PSObject of comlet data.
Returns the state of GridView Window.
The status of GridView Window close or not.
Returns any exception that has been thrown by previous method calls.
The thrown and caught exception. It returns null if no exceptions were thrown by any previous method calls.
GridView Window is closing callback process.
The sender object.
Event Args.
Set loaded as true when this method invoked.
The sender object.
RoutedEvent Args.
ThreadDelegate definition.
Start GridView Window delegate.
Utilities in common in this assembly
Restore the values from the settings to the actual window position, size and state.
the window we are setting position and size of
the value for top from the user settings
the value for left from the user settings
the value for width from the user settings
the value for height from the user settings
the with used if is not valid
the height used if is not valid
true if the window is maximized in the user setting
Interaction logic for AllModulesControl.xaml
AllModulesControl
Initializes a new instance of the AllModulesControl class
InitializeComponent
Gets current control of the ShowModuleControl
Interaction logic for CmdletControl.xaml
CmdletControl
Field used for the CurrentCommandViewModel parameter.
Initializes a new instance of the CmdletControl class
DataContextChanged event.
Event sender
Event args
Key down event for user press F1 button.
Event sender
Event args
Help button event.
Event sender
Event args
Import Module Button event
Event sender
Event args
InitializeComponent
Gets the owner of the ViewModel.
Button with images to represent enabled and disabled states
ImageButton
Implements the ImageButtonBase base class to the ImageButton and ImageToggleButton.
Command associated with this button
Image to be used for the enabled state
Image to be used for the disabled state
Gets or sets the image to be used for the enabled state
Gets or sets the image to be used for the disabled state
Gets or sets the command associated with this button
Initializes a new instance of the ImageButton class.
Copies the automation id from the parent control to the inner button
event sender
event arguments
InitializeComponent
Converts a an ImageButtonBase to its corresponding ToolTip
Converts a an ImageButtonBase to its corresponding ToolTip by checking if it has a tooltip property
or a command with tooltip text
The ImageButtonBase we are trying to Convert.
is not used.
is not used.
is not used.
The resulting object obtained from retrieving the property value in (or property values if contains dots) out of .
This method is not supported.
is not used.
is not used.
is not used.
is not used.
No value is returned.
Toggle button with images to represent enabled and disabled states
ImageToggleButton
Value indicating the button is checked
Initializes a new instance of the ImageToggleButton class.
Copies the automation id from the parent control to the inner button
event sender
event arguments
InitializeComponent
Gets or sets a value indicating whether the button is checked
Interaction logic for NotImportedCmdletControl.xaml
NotImportedCmdletControl
Initializes a new instance of the NotImportedCmdletControl class
InitializeComponent
Interaction logic for MultipleSelectionControl.xaml
MultipleSelectionControl
Initializes a new instance of the MultipleSelectionControl class
Show more items in new dialog
event sender
event arguments
InitializeComponent
Interaction logic for ParameterSetControl.xaml
ParameterSetControl
Field used for the CurrentParameterSetViewModel parameter.
Initializes a new instance of the ParameterSetControl class
Creates a CheckBox for switch parameters
DataContext object
Row number
a CheckBox for switch parameters
Creates a ComboBox control for input type field
DataContext object
Row number
Control data source
Return a ComboBox control
Creates a MultiSelectCombo control for input type field
DataContext object
Row number
Control data source
Return a MultiSelectCombo control
Creates a TextBox control for input type field
DataContext object
Row number
Return a TextBox control
Called for a newly created multiline text box to increase its height and
event sender
event arguments
When user switch ParameterSet.It will trigger this event.
This event method will renew generate all controls for current ParameterSet.
Event sender
Event args
When user trigger click on anyone CheckBox. Get value from sender.
Event sender
Event args
Creates a RowDefinition for MainGrid
Return a RowDefinition object
Adds a control to MainGrid;
Will adding UIControl
Creates a Lable control and add it to MainGrid
DataContext object
Row number
Creates a Label control for input type field
DataContext object
Row number
Return a Label control
Find ValidateSetAttribute from attributes
Attribute array
The found result
InitializeComponent
Gets current ParameterSetViewModel.
Implements thw WPF window part of the the ShowWindow option of get-help
Shows the help window
object with help information
cmdlet calling this method
Implements thw WPF window part of the show-command cmdlet
Segment of the get-command command used in show-command regarding CommandTypes
Method that will return the dialog from ShowAllModulesWindow or ShowCommandWindow.
This is necessary because the PlainInvokeAndShowDialog thread starter cannot receive parameters
Event set when the window is closed
Event set when help is needed
Event set when it is necessary to import a module
Event set when the window is loaded
String with the command that needs help set when helpNeeded is set
String with the command name that needs to import a module
String with the module name that needs to be imported
String with the selected module at the time a module needs to be imported
Keeps the window for the implementation of CloseWindow
host window, if any
ViewModel when showing all modules
ViewModel when showing a single command
true when the window is closed with cancel
Prevents a default instance of the ShowCommandHelper class from being created
Finalizes an instance of the ShowCommandHelper class
Dispose method in IDisposeable
Sets the text in the clipboard
text to set the clipboard to
Gets the command to be run to get commands and imported modules
the command to be run to get commands and imported modules
Gets the command to be run to in order to import a module and refresh the command data
module we want to import
the command to be run to in order to import a module and refresh the command data
gets the command to be run in order to show help for a command
command we want to get help from
the command to be run in order to show help for a command
Constructs a dictionary of imported modules based on the module names
the imported modules
a dictionary of imported modules based on the module names
Constructs a list of commands out of
the results of a get-command command
a list of commands out of
Called after a module in is imported to refresh the view model.
Gets a new AllModulesViewModel populated with and .
The is used to cleanup event listening in the old view model and to copy NoCommonParameters.
The new ViewModel will have the command selected according to ,
and .
the viewModel before the module was imported
the list of imported modules
the list of commands
the name of the module that was selected in
the name of the module that was imported
the name of the command that was selected in
The new ViewModel based on and .
Gets an error message to be displayed when failed to import a module
command belongiong to the module to import
module to import
error importing the module
an error message to be displayed when failed to import a module
Quotes if it is not already quoted
string to quote
quoted, if it is not already quoted
Gets the host window, if it is present or null if it is not
cmdlet calling this method
the host window, if it is present or null if it is not
Gets a property value using reflection
type containing the property
object containing the property (null for a static property)
name of property to get
flags passed to reflection
property value or null if it was not able to retrieve it. This method is not suitable to return a property value that might be null.
Sets a property value using reflection
type containing the property
object containing the property (null for a static property)
name of property to set
value to set the property with
flags passed to reflection
true if it was able to set
Gets the suffix that adds imported modules to a command
the suffix that adds imported modules to a command
Gets the command to be run when calling show-command for a particular command
the particular command we are running show-command on
true if we want to include aliases and retrieve modules
the command to be run when calling show-command for a particular command
Gets a CommandViewModel of a CommandInfo
command we want to get a CommandViewModel of
true if we do not want common parameters
the loaded modules
True to qualify command with module name in GetScript
a CommandViewModel of a CommandInfo
Dispatches a message to the window for it to activate
window to be activated
Sets a property in ISE that will allow the command to be run
command to be run
true if it was possible to set the pending ISE command
Shows the window listing cmdlets
cmdlet calling this method
All loaded modules
commands to be listed
true if we should not show common parameters
window width
window height
true if the GUI should mention ok instead of run
Calls ShowsDialog on methodThatReturnsDialog either in a separate thread or dispatched
to the hostWindow thread if there is a hostWindow
cmdlet used to retrieve the host window
Called from CallMethodThatShowsDialog as the thtead start when there is no host window
Shows the window for the cmdlet
cmdlet calling this method
command to show in the window
window width
window height
true if the GUI should mention ok instead of run
Called when the module importation is done
all modules currently imported
commands to be displayed
Called when the module importation has failed
reason why the module importation failed
Called when the results or get-help are ready in order to display the help window for a command
results of a get-help call
Activates this.window
returns the script to execute if dialog has not been canceled
the script to execute if dialog has not been canceled
Sets up window settings common between the two flavors of show-command
the window being displayed
Handles the SelectedCommandInSelectedModuleNeedsImportModule event
event sender
event arguments
Handles the SelectedCommandInSelectedModuleNeedsHelp event
event sender
event arguments
Called when the window is closed to set this.dialogCanceled
event sender
event arguments
Called when the window is loaded to set this.Window_Loaded
event sender
event arguments
Sets up event listening on the buttons
button to run command
button to copy command code
button to close window
true to change the text of Run to OK
Sets up event listening for a new viewModel
Copies the script into the clipboard
event sender
event arguments
Sets a succesfull dialog result and then closes the window
event sender
event arguments
Closes the window
event sender
event arguments
closes the window
Showing a MessageBox when user type a invalidate command name.
error message
returns the script to execute
the script to execute
Implements IDisposable logic
true if being called from Dispose
Gets the Screen Width
Gets the Screen Height
Gets the event set when the show-command window is closed
Gets the event set when help is needed for a command
Gets the event set when it is necessary to import a module
Gets the event set when the window is loaded
Gets the command needing help when HelpNeeded is set
Gets the module we want to import
Gets a value indicating whether there is a host window
Control taht shows cmdlets in a module and details for a selected cmdlet
ShowModuleControl
Field used for the Owner parameter.
Initializes a new instance of the ShowModuleControl class
WPF has an interesting feature in list selection where if you hold the mouse button down,
it will select the item under it, but if you keep the mouse button down and move the mouse
(if the list supported drag and drop, the mouse action would be the same as dragging) it
will select other list items.
If the first selection change causes details for the item to be displayed and resizes the list
the selection can skip to another list item it happend to be over as the list got resized.
In summary, resizing the list on selection can cause a selection bug. If the user selects an
item in the end of the list the next item downwards can be selected.
The WPF drag-and-select feature is not a standard win32 list behavior, and we can do without it
since it causes this problem.
WPF sets up this behavior by using a mouse capture. We undo the behavior in the handler below
which removes the behavior.
event sender
event arguments
Ensures the selected item is scrolled into view and that the list is focused.
An item could be out of the view if the selection was changed in the object model
event sender
event arguments
InitializeComponent
Gets or sets the owner of the container.
Contains all Commands, Parameters, ParameterSet and Common Parameter.
Flag indicating a wait message is being displayed
True if this ViewModel is not supposed to show common parameters
the filterName of command
Field used for the Modules property.
true if a command can be run
true if a command can be copied
the selected module being displayed in the GUI
the visibility of the refresh button
Provides an extra viewModel object that allows callers to control certain aspects of the GUI
Initializes a new instance of the AllModulesViewModel class
the loaded modules
commands to show
Initializes a new instance of the AllModulesViewModel class
the loaded modules
All PowerShell commands
true not to show common parameters
Returns the selected script
the selected script
Triggers Refresh
If current modules name is ALL, then return true.
The modules name
Return true is the module name is ALLModulesViewModel.
Monitors property changes in the selected module to call:
SetCanRun for IsThereASelectedImportedCommandWhereAllMandatoryParametersHaveValues
SetCanCopy for SetCanCopy
event sender
event arguments
Called to set this.CanRun when:
The SelectedModule changes, since there will be no selected command in the new module, and CanRun should be false
WaitMessageDisplayedMessage changes since this being true will cause this.MainGridDisplayed to be false and CanRun should be false
IsThereASelectedImportedCommandWhereAllMandatoryParametersHaveValues changes in the selected module
Called to set this.CanCopy when:
The SelectedModule changes, since there will be no selected command in the new module, and CanCopy should be false
WaitMessageDisplayedMessage changes since this being true will cause this.MainGridDisplayed to be false and CanCopy should be false
IsThereASelectedCommand changes in the selected module
Initialize AllModulesViewModel.
All loaded modules
List of commands in all modules
Whether showing common parameter
Compare two ModuleViewModel target and source.
The source ModuleViewModel
The target ModuleViewModel
Compare result
Called when the SelectedCommandNeedsHelp event is triggered in the Selected Module
event sender
event arguments
Called when the SelectedCommandNeedsImportModule event is triggered in the Selected Module
event sender
event arguments
Triggers SelectedCommandInSelectedModuleNeedsHelp
event arguments
Triggers SelectedCommandInSelectedModuleNeedsImportModule
event arguments
Called when the RunSelectedCommand is triggered in the selected module
event sender
event arguments
Triggers RunSelectedCommandInSelectedModule
event arguments
If property changed will be notify
The changed property
PropertyChanged Event
Indicates the selected command in the selected module needs to display the help for a command
Indicates the selected command in the selected module needs to import a module for a command
Indicates the selected command in the selected module should be run
Indicates we want to refresh the viewModel
Gets the tooltip for the refresh button
Gets or sets the visibility of the refresh button
Gets a value indicating whether common parameters are displayed
Gets or sets the filterName of command
Gets or sets the selected module being displayed in the GUI
Gets a value indicating whether we can run a command
Gets a value indicating whether we can copy a command
Gets the Modules parameter.
Gets the visibility of the wait message
Gets the visibility of the main grid
Gets a value indicating whether the main grid is displayed
Gets or sets a value indicating whether the wait message is displayed
Gets or sets an extra viewModel object that allows callers to control certain aspects of the GUI
Arguments for the event triggered when something happens at the cmdlet level
the command targeted by the event
Initializes a new instance of the CommandEventArgs class.
the command targeted by the event
Gets the command targeted by the event
Contains information about a cmdlet's Shard ParameterSet,
ParameterSets, Parameters, Common Parameters and error message.
The name of the AllParameterSets
Grid length constant
The module containing this cmdlet in the gui
The name of the default ParameterSet
Field used for the AreCommonParametersExpanded parameter.
Field used for the SelectedParameterSet parameter.
Field used for the ParameterSets parameter.
Field used for the ParameterSetTabControlVisibility parameter.
Field used for the CommonParameters parameter.
The CommandInfo this model is based on
value indicating whether the selected parameter set has all mandatory parameters valid
value indicating whether the command name should be qualified by the module in GetScript
The height for common parameters that will depend on CommonParameterVisibility
Prevents a default instance of the CommandViewModel class from being created
Gets the builded PowerShell script.
Return script as string
Showing help information for current actived cmdlet.
Determins whether current command name and a specifed ParameterSetName have same name.
The name of ShareParameterSet
Return true is ShareParameterSet. Else return false.
Creates a new CommandViewModel out the .
Module to which the CommandViewModel will belong to
Will showing command
true to ommit displaying common parameter
If commandInfo is null
If could not create the CommandViewModel. For instance the CommandInfo corresponding to
the following function will throw a RuntimeException when the commandInfo Parameters
are retrieved:
function CrashMe ([I.Am.A.Type.That.Does.Not.Exist]$name) {}
The CommandViewModel corresponding to commandInfo
Called to trigger the event fired when help is needed for the command
Called to trigger the event fired when a module needs to be imported
Called to set the height for common parameters initially or when the AreCommonParametersExpanded changes
Compares source and target by being the default parameter set and then by name
source paremeterset
target parameterset
0 if they are the same, -1 if source is smaller, 1 if source is larger
If property changed will be notify
The changed property
Called when the PropertyChanged event is triggered on the SelectedParameterSet
event sender
event arguments
PropertyChanged Event
Indicates the command needs to display the help for a command
Indicates a module needs to be imported
Gets or sets a value indicating whether the command name should be qualified by the module in GetScript
Gets or sets a value indicating whether the common parameters are expanded
Gets or sets the SelectedParameterSet parameter.
Gets or sets a value indicating whether the selected parameter set has all mandatory parameters valid.
If there is no selected parameter set this value is true
Gets the ParameterSets parameter.
Gets the visibility for the tab control displaying several ParameterSetControl. This is displayed when there are more than 1 parameter sets.
Gets the visibility for the single ParameterSetControl displayed when there is only 1 parameter set
Gets the CommonParameters parameter.
Gets the CommonParameterVisibility parameter.
Gets or sets the height for common parameters that will depend on CommonParameterVisibility
Gets the visibility for the control displayed when the module is not imported
Gets the visibility for the control displayed when there are no parameters
Gets a value indicating whether the cmdlet comes from a module which is imported
Gets the Name parameter.
Gets the module path if it is not null or empty, or the name otherwise
Gets the module containing this cmdlet in the GUI.
Gets Tooltip string for the cmdlet
Gets the message to be displayed when the cmdlet belongs to a module that is not imported
Gets the title for the cmdlet details
Gets a Grid length constant
Arguments for the event triggered when it is necessary to display help for a command
the name for the command needing help
Initializes a new instance of the HelpNeededEventArgs class.
the name for the command needing help
Gets the name for the command needing help
Arguments for the event triggered when it is necessary to display help for a command
the name for the command belonging to the module to be imported
the module path or name for the module we want to import
the name of the module that is selected, which can be different from parentModuleName
if "All" is selected
Initializes a new instance of the ImportModuleEventArgs class.
the name for the command needing help
the name of the module containing the command
the name of the module that is selected, which can be different from parentModuleName
if "All" is selected
Gets the name for the command belonging to the module to be imported
Gets the module path or name for the module we want to import
Gets the name of the module that is selected, which can be different from parentModuleName
if "All" is selected
ModuleViewModel Contains information about a PowerShell module.
True if the module is imported
Field used for the Name parameter.
Filter commands property of this module
The selected command property of this module
Field used for the Commands parameter.
value indicating whether there is a selected command which belongs to an imported module,
with no parameter sets or with a selected parameter set where all mandatory parameters have values
value indicating whether there is a selected command
The AllModulesViewModel containing this, if any
Initializes a new instance of the ModuleViewModel class.
Module name
All loaded modules
Sets the AllModulesViewModel containing this
the AllModulesViewModel containing this
Sorts commands and optionally sets ModuleQualifyCommandName
true to mark repeated commands with a flag that will produce a module qualified name in GetScript
According commandNameFilter to filter command,and added the filter commands into filteredCommands property
current filter
Callled in response to a GUI event that requires the command to be run
Triggers the SelectedCommandNeedsHelp event
event arguments
Triggers the SelectedCommandNeedsImportModule event
Returns true if str matches comparisonText, even when comparisonText is in the plural
match string
is matched comparisonText
return match result
Handles the HelpNeeded event in the selected command and triggers the SelectedCommandNeedsHelp event
HelpNeeded event sender
HelpNeeded event argument
Handles the ImportModule event in the selected command and triggers the SelectedCommandNeedsImportModule event
HelpNeeded event sender
HelpNeeded event argument
Called when the SelectedCommand property changes to update IsThereASelectedImportedCommandWhereAllMandatoryParametersHaveValues
event sender
event arguments
Called to set IsThereASelectedImportedCommandWhereAllMandatoryParametersHaveValues when
SelectedParameterSetAllMandatoryParametersHaveValues changes in the SelectedCommand or
when the SelectedCommand changes
Compare source commandmodule is equal like target commandmodule
source commandmodule
target commandmodule
return compare result
If property changed will be notify
The changed property
PropertyChanged Event
Indicates the selected command in needs to display the help for a command
Indicates the selected command needs to import a module
Indicates the selected command should be run
Gets the name property of this ModuleView
Gets the GUI friendly module name
Gets CommandControl is visibility or not
Gets CommandControl Height
Gets the commands under in this module
Gets the filter commands of this module
Gets or sets the selected commands of this module
Gets or sets a value indicating whether there is a selected command
Gets or sets a value indicating whether there is a selected command which belongs
to an imported module, with no parameter sets or with a selected parameter set
where all mandatory parameters have values
Gets the AllModulesViewModel containing this, if any
Gets a value indicating whether the module is imported
Contains information about a single ParameterSet inside a cmdlet.
Field used for the Name parameter.
value indicating all mandatory parameters have values
Field used for the Parameters parameter.
Initializes a new instance of the ParameterSetViewModel class.
The name of the parameterSet
The array parametes of the parameterSet
Creates script according parameters of this parameterset
Return script of this parameterset parameters
Gets the individual parameter count of this parameterset
Return individual parameter count of this parameterset
Compare source parametermodel is equal like target parametermodel
the source of parametermodel
the target of parametermodel
Return compare result
Gets the delimited poarameter if it needs delimitation and is not delimited
value needing delimitation
open delimitation
close delimitation
the delimited poarameter if it needs delimitation and is not delimited
Returns '0' if the does not need delimitation, '1' if it does, and a quote character if it needs to be delimited with a quote
parameter value to check
true if the parameter value should be a scriptblock
'0' if the parameter does not need delimitation, '1' if it needs, '\'' if it needs to be delimited with single quote and '\"' if it needs to be delimited with double quotes
Called to evaluate the value of AllMandatoryParametersHaveValues
If property changed will be notify
The changed property
Used to track changes to parameter values in order to verify the enabled state of buttons
event arguments
event sender
PropertyChanged Event
Gets the ParameterSet Name
Gets the Parameters of this parameterset
Gets or sets a value indicating whether all mandatory parameters have values
Contains information about a single parameter inside a parameter set.
If a parameter with the same name belongs to two (or more) parameter sets,
there will be two (or more) ParameterViewModel objects for the parameters,
each one inside its own ParameterSetViewModel.
ParameterMetadata contains information that is the same throughout parameter sets
like Name and Type.
Note: It also happens to contain a list of all ParameterSetMetadata for the parametersets
in this cmdlet, but this information is not used in this class since if a parameter is
in multiple parametersets, there will be a ParameterViewModel for each time the parameter
appears in a parameterset.
value entered in the GUI for the parameter
Name of the parameter set this parameter is in
Initializes a new instance of the ParameterViewModel class.
The parameter information for this parameter
the name of the parameter set this parameter is in
Evaluates the tooltip based on the parameters
parameter type name
parameter position
true if the parameter is mandatory
true if the parameter is shared by parameter sets
true if the parameter takes value from the pipeline
the tooltip based on the parameters
If property changed will be notify
The changed property
PropertyChanged Event
Gets the ParameterMetadata that contains information that is the same throughout parameter sets
like Name and Type.
Gets or sets the value for this parameter from the GUI
Gets the parameter name
Gets the name of the parameter set this parameter is in
Gets a value indicating whether this parameter is in the shared parameterset
Gets Name with an extra suffix to indicate if the parameter is mandatory to serve
Gets Label in the case this parameter is used in a combo box
Gets Tooltip string for the parameter
Gets a value indicating whether the parameter is mandatory
Gets a value indicating whether the parameter has a value
Interaction logic for CmdletGUI.xaml
ShowAllModulesWindow
Initializes a new instance of the ShowAllModulesWindow class.
Saves the user settings
event arguments
Sets the focus on the CommandName control
event sender
event arguments
Saves size changes in user settings
event sender
event arguments
Saves position changes in user settings
event sender
event arguments
Updates the user setting with window state
event sender
event arguments
InitializeComponent
Interaction logic for CmdletGUI.xaml
ShowCommandWindow
Initializes a new instance of the ShowCommandWindow class.
Saves the user settings
event arguments
Saves size changes in user settings
event sender
event arguments
Saves position changes in user settings
event sender
event arguments
Updates the user setting with window state
event sender
event arguments
InitializeComponent
Interaction logic for MultipleSelectionDialog.xaml
MultipleSelectionDialog
Initializes a new instance of the MultipleSelectionDialog class.
OK Click event function
event sender
event arguments
Cancel Click event function
event sender
event arguments
InitializeComponent