NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

RedirectValueEditor Members

Public:

Constructor

RedirectValueEditor Constructor [To be supplied.]

Properties

Style [To be supplied.]
Values Returns a list of possible values for the value editor's type. In order to display these values in a drop-down list, a property editor will typically call getTextFromValue() for each of the values in the list.

Methods

EditValue Takes the value returned from valueAccess.getValue() and modifies or replaces the value, passing the result into valueAccess.setValue(). This is where an editor can launch a modal dialog or create a drop down editor to allow the user to modify the value. Host assistance in presenting UI to the user can be found through the valueAccess.getService function.
Equals (inherited from Object) Determines whether the specified Object is the same instance as the current Object. Subclasses are expected to override this method to support value equality (not reference equality).
GetCreationBundle Retrieves the CreationBundle for the given value. null will be returned if the value cannot be created from either a static method or constructor call.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetSubProperties Returns the logical sub properties of a given value. These sub properties represent values that together compose the given value. Each of these values can be edited by the user, and getValueFromSubPropertyValues() will be called to see if a new set of values can compose a new value of this type. This method will only be called if the StyleProperties style is present.
GetTextFromValue Converts the given value to a text string. The return value may be null if the value cannot be converted to a text string.
GetType (inherited from Object) Gets the Type of the Object.
GetValueFromSubPropertyValues Attempts to compose a value of this editor's type from the given array of values. If it is successful, it returns the composed value, otherwise it returns null. This array of values is usually a modified version of the values contained in the sub properties returned by getSubProperties(). This method will only be called if the StyleProperties style is present.
GetValueFromText Converts the given text string to a value. If the editor specifies the StyleNoEditableText style, this function will only be called with strings that were previously returned by getTextFromValue.
IsValid Determines if the given value is valid for this data type. This is used primarily by enum types, but can also provide a common place for property validation.
PaintValue Paints a representation of the given value in the given Rectangle of the given Graphics. This method will only be called if the value editor specifies the StylePaintValue style.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected:

Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by the Garbage Collector (GC). This method may be ignored by the runtime; therefore, necessary cleanup operations should be done elsewhere.
GetValueEditor [To be supplied.]
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

RedirectValueEditor Class | System.WinForms.ComponentModel Namespace