System.Design
Constructs a new sys description.
description text.
Retrieves the description text.
description
Gets a value indicating whether this converter can
convert an object to the given destination type using the context.
An that provides a format context.
A that represents the type you wish to convert to.
if this converter can perform the conversion; otherwise,
.
Converts the given object to another type. The most common types to convert
are to and from a string object. The default implementation will make a call
to ToString on the object if the object is valid and if the destination
type is string. If this cannot convert to the desitnation type, this will
throw a NotSupportedException.
A formatter context. This object can be used to extract additional information
about the environment this converter is being invoked from. This may be null,
so you should always check. Also, properties on the context object may also
return null.
An optional culture info. If not supplied the current culture is assumed.
The object to convert.
The type to convert the object to.
The converted object.
Serializes an object graph to a series of CodeDOM
statements.
Deserializes the specified serialized CodeDOM object into an
object.
A serialization manager interface that is used during the deserialization process.
A serialized CodeDOM object to deserialize.
The deserialized CodeDOM object.
Deserializes the properties of the specified object that match the specified filter, if a
filter was specified.
A serialization manager interface that is used during the deserialization process.
The object to deserialize properties for.
An optional filter to apply to the properties.
Deserializes the specified statement.
A serialization manager interface that is used during the deserialization process.
The CodeDOM statement to deserialize.
Deserializes the specified expression.
A serialization manager interface that is used during the deserialization process.
An optional name to give the expression. If the expression results in the creation of an object, the object is given this name for subsequent searches through the serialization manager. If this is , no name will be given.
The CodeDOM expression to deserialize.
The deserialized expression.
Serializes the specified object into a CodeDOM
object.
A serialization manager interface that is used during the deserialization process.
The object to serialize.
A object representing the object that has been serialized.
Serializes all events of the specified object.
The serialization manager to use during serialization.
A statements collection to which serialized event statements are added.
The object whose events are to be serialized.
A member attribute filter to apply to the event search.
Serializes all properties for the specified object, using the specified filter.
The serialization manager to use during serialization.
A collection of statements to add the serialized property statements to.
The object whose properties are serialized.
A member attribute filter to apply to the property search.
Serializes the specified properties to resources.
A serialization manager interface that is used during the deserialization process.
A collection of statements to use during serialization. The resource serializer uses this to write resource creation statements, but will not have individual property assign statements because all the properties are serialized to a resource.
The object to deserialize properties for.
An optional filter to apply to the properties.
Serializes the specified resource value using the specified name.
The serialization manager to use during serialization.
The name of the resource to serialize.
The object to serialize.
Serializes the specified resource value using the specified name.
The serialization manager to use during serialization.
The name of the resource to serialize.
The object to serialize.
Serializes the specified value to a CodeDOM expression.
The serialization manager to use during serialization.
The object to serialize.
The serialized value. This returns
if there is no serializer for the specified
value, or if the serializer for that value did not return a .
Serializes the specified value to a CodeDOM expression.
The serialization manager to use during serialization.
The object to serialize.
The serialized value. This returns
if no reference expression can be obtained for the specified value, or
the value cannot be serialized.
Provides a user interface that can edit most types of collections at design time.
Initializes a new instance of the class using the
specified collection type.
The type of the collection for this editor to edit.
Indicates whether original members of the collection can be removed.
The value to remove.
if it is permissible to remove this value from the collection; otherwise, . The default
implementation always returns .
Indicates whether multiple collection items can be selected at
once.
if it
multiple collection members can be selected at the same
time; otherwise, . By default, this
returns .
Creates a new
form to display and edit the current collection.
An instance of
to provide as the user interface for
editing the collection.
Creates a new instance of the specified collection item type.
The type of item to create.
A new instance of the specified object.
Gets the
data type that this collection contains.
The data type of the items
in the collection, or an instance of if no property can be located on the collection.
Gets the data types
that this collection editor can contain.
An array of data types that this collection can contain.
Destroys the specified instance of the object.
The object to destroy.
Edits the value of the specified object using the specified service provider and context.
An that can be used to gain additional context information.
A service provider object through which editing services can be obtained.
The object to edit the value of.
The new value of the object. If the value of the object has not
changed, this should return the same object it was passed.
Gets the edit style used by the method.
An that can be used to gain additional context information.
A enumeration
value
indicating the provided editing
style. If the method is not supported in the specified context, this method will
return the
identifier.
Gets an array of objects containing the specified collection.
The collection to edit.
An array containing the collection objects, or an empty object array if
the specified collection does not inherit from .
Gets the requested service, if it is available.
The type of service to retrieve.
An instance of the service, or if the service cannot be
found.
Sets the specified array as the items of the collection.
The collection to edit.
An array of objects to set as the collection items.
The newly created collection object or, otherwise, the
collection indicated by the parameter.
Displays the default Help topic for the collection editor.
Gets the data type of each item in the collection.
Gets the data type of the collection object.
Gets a type descriptor that indicates the current context.
Gets
the available types of items that can be created for this collection.
Gets the keyword to display the
Help topic or topic list for when the editor's dialog
button or is
pressed.
Provides a modal dialog box for editing the contents of a
collection using a .
Initializes a new instance of the class.
The to use for editing the collection.
Indicates whether you can remove the original members
of the collection.
The value to remove.
if it
is permissible to remove this value from the collection;
otherwise, . By default, this method returns the value from
of the for this form.
Indicates whether multiple collection items can be selected at
once.
if it multiple collection members
can be selected at the same time; otherwise, . By default, this method returns the value from
of the for this form.
Creates a new instance of the specified collection item type.
The type of item to create.
A new instance of the specified object, or if the user
chose to cancel the creation of this instance.
Destroys the specified instance of the object.
The object to destroy.
Displays the specified exception to the user.
The exception to display.
Gets the requested service, if it is available.
The type of service to retrieve.
An instance of the service, or
if the service cannot be
found.
Shows the dialog box for the collection editor using the
specified object.
An that can be used to show the dialog box.
A that indicates the result code
returned from the dialog box.
Provides an opportunity to perform processing when a collection value has
changed.
Gets the data type of each item in the collection.
Gets the data type of the collection object.
Gets a type descriptor that indicates the current context.
Gets or sets the collection object to edit.
Gets or sets
the array of items for this form to display.
Gets the available item types that can be created for this collection.
This is called when the value property in the CollectionForm has changed.
In it you should update your user interface to reflect the current value.
When overridden in a derived class, indicates whether
resetting the will change the value of the
.
The component to test for reset capability.
if resetting
the will change the value of the ;
otherwise, .
When overridden in a derived class, gets the current
value
of the
property on a component.
The component with the property whose value will be retrieved.
The value of a property for a specified component.
When overridden in a derived class, resets the
value
for this property
of the component.
The component with the property whose value will be reset.
When overridden in a derived class, sets the value of
the component to a different value.
The component with the property whose value will be set.
The new value.
When overridden in a derived class, indicates whether the
value of
this property needs to be persisted.
The component with the property will be examined for persistance.
when the property should be persisted;
otherwise, .
When overridden in a derived class, gets the type of the
component this property
is bound to.
When overridden in
a derived class, gets a value
indicating whether this property is read-only.
When overridden in a derived class,
gets the type of the property.
Provides a user interface for editing arrays at design time.
Initializes a new instance of using the specified
data type for the array.
The data type of the items in the array.
Gets the data type
that
this collection is designed to contain.
A that indicates the data type that the collection is designed to contain.
Gets the items in the array.
The array from which to retrieve the items.
An array consisting of the items within the specified array. If the object specified
in the parameter is not an array, a new empty object is
returned.
Sets the items in the array.
The array to set the items to.
The array of objects to set as the items of the array.
An instance of the new array. If the object specified by
the parameter is not an array, the object specified by the
parameter is returned.
Edits the value of the specified object using the specified service provider and context.
An that can be used to gain additional context information.
A service provider object through which editing services may be obtained.
The object to edit the value of.
The new value of the object. If the value of the object hasn't
changed, this should return the same object it was passed.
Gets the editor style used by the method.
An that can be used to gain additional context information.
An enum value indicating the provided editing style.
Displays byte arrays in
hexadecimal, ANSI, and Unicode formats.
Initializes a new instance of the class.
Gets the bytes in the buffer.
The unsigned byte array reference.
Gets the display mode for the control.
The display mode that this control
uses. The returned value is defined in .
Writes the raw data from the data buffer to a file.
The file path to save to.
Sets the byte array to display in the viewer.
The byte array to display.
Sets the current display mode.
The display mode to set.
Sets the file to display in the viewer.
The file path to load from.
Sets the current line for the view.
The current line to display from.
Provides a basic designer for components.
Gets the of the specified
.
The whose inheritance attribute to retrieve.
The of the specified designer.
Releases all resources used by the
.
Releases the unmanaged resources used by the and optionally releases the managed
resources.
to release both managed and unmanaged resources; to release only unmanaged resources.
Creates a method signature in the source code file for the default event on the component and navigates
the user's cursor to that location in preparation for assigning
the default action.
Prepares the designer to view, edit,
and design the specified component.
The component for this designer.
Initializes the settings for an imported component that is already initialized to settings other than the
defaults.
Provides
a way for a designer to get services from the hosting
environment.
The type of service to request.
An object implementing the requested service, or
if the service
cannot be resolved.
Sets the default properties for the component.
Allows a designer to change or remove items from the set
of attributes that it exposes through a .
The attributes for the class of the component.
Allows a designer to change or remove items from the set
of events that it exposes through a .
The events for the class of the component.
Allows a designer to change or remove items from the set
of properties that it exposes through a .
The properties for the class of the component.
Allows a designer to add to the set
of
attributes that it exposes through a .
The attributes for the class of the component.
Allows a designer to add to the
set of events that it exposes through a
.
The events for the class of the component.
Allows a designer
to add to the set of properties that it exposes through a
.
The properties for the class of the component.
Notifies the that
this component has been changed.
A that indicates the member that has been changed.
The old value of the member.
The new value of the member.
Notifies the that
this component is about to be changed.
A that indicates the member that is about to be changed.
Gets the collection of components associated with this designer.
Gets the component this designer is designing.
Gets a value indicating whether this component is inherited.
Gets an attribute that indicates the type of inheritance of the associated component.
Gets a collection of property values that override user settings.
Gets the design-time verbs supported by the component that is associated with the designer.
Represents a collection of shadow properties that should override inherited default or assigned values for
specific properties. This class cannot be inherited.
Indicates whether a property
matching the specified name exists in the collection.
The name of the property to check for in the collection.
if the property exists in the collection; otherwise,
.
Gets or sets the object at the specified index.
The name of the property to access in the collection.
Edits the specified object value using the editor style provided by
GetEditorStyle. A service provider is provided so that any
required editing services can be obtained.
A type descriptor context that can be used to provide additional
context information.
A service provider object through which editing services may
be obtained.
An instance of the value being edited.
The new value of the object. If the value of the object hasn't
changed, this should return the same object it was passed.
Retrieves the editing style of the Edit method. If the method
is not supported, this will return None.
A type descriptor context that can be used to provide additional
context information.
An enum value indicating the provided editing style.
Defines identifiers that indicate the display modes used
by .
A hexadecimal
format display.
An ANSI format display.
A Unicode format display.
A display mode that automatically selects a display mode.
In this mode, the bytes are examined to determine if they are hexadecimal or
printable. If the bytes are in hexadecimal format, the mode is selected. If
the characters match
a printable character set, a test is run to automatically select either
the or display mode.
Provides a
set of methods for identifying inherited components.
Initializes a new instance of the class.
Releases all resources used by the .
Adds the components inherited by the specified component to the .
The component to search for inherited components to add to the specified container.
The container to add the inherited components to.
Adds the components of the specified type that are
inherited by the specified component to the .
The base type to search for.
The component to search for inherited components to add to the specified container.
The container to add the inherited components to.
Indicates whether to ignore the specified member.
The member to check. This member is either a or a .
The component instance this member is bound to.
if
the specified member should be included in the set of inherited components;
otherwise, .
Gets the inheritance attribute
of the specified component.
The component to retrieve the inheritance attribute for.
An that
describes the level of
inheritance that this component comes from.
Initializes a new instance of the class.
The property descriptor to inherit from.
The compnent to create this inherited property descriptor for.
An array of new member attributes to merge into this property's attribute set.
Initializes a new instance of the class.
The property descriptor to inherit from.
The compnent to create this inherited property descriptor for.
Initializes a new instance of the class.
The property descriptor to inherit from.
The compnent to create this inherited property descriptor for.
An additional attribute to merge into the property's attribute set.
Initializes a new instance of the class.
The property descriptor to inherit from.
The compnent to create this inherited property descriptor for.
An additional attribute to merge into the property's attribute set.
An additional attribute to merge into the property's attribute set.
Initializes a new instance of the class.
The property descriptor to inherit from.
The compnent to create this inherited property descriptor for.
An additional attribute to merge into the property's attribute set.
An additional attribute to merge into the property's attribute set.
An additional attribute to merge into the property's attribute set.
Initializes a new instance of the class.
The property descriptor to inherit from.
The compnent to create this inherited property descriptor for.
An additional attribute to merge into the property's attribute set.
An additional attribute to merge into the property's attribute set.
An additional attribute to merge into the property's attribute set.
An additional attribute to merge into the property's attribute set.
Indicates whether reset will change
the value of the component.
The component that owns the property that will be tested for resetability.
if the value would be changed by a reset, the value of
shouldPersist if this method exists; otherwise, .
Gets the current value of the property on the component,
invoking the getXXX method.
The component that owns the property to retrieve the value for.
The value of the property of the specified component.
Resets the default value for this property
on the component.
The component that owns the property which will have its value reset.
Sets the value to be the new value of this property
on the component by invoking the setXXX method on the component.
The component to set the property's value on.
The new value for the property on the component.
Indicates whether the value of this property needs to be persisted.
The component that owns the property to be examined to determine the need for its persistance.
if the property should be
persisted; otherwise, .
Gets or sets the type of the component this property descriptor is bound to.
Gets or sets the default value for this property.
Gets or sets a value indicating whether this property is read only.
Gets or sets the type of the property.
Provides design-time localization support for code generators to enable programs
to provide run-time localization features.
Initializes a new instance of the class using the
specified service provider and base component.
A service provider for the specified component.
The base component to localize.
Gets the current language resource for the specified object.
The object to get the current language resource for.
A indicating the language support.
Gets the language resource that should be used during loading.
The object to get the load language for.
A indicating the language support.
Gets a value indicating whether the specified object supports resource
localization.
The object to check for localization support.
if the specified object supports resource
localization; otherwise, .
Sets the current language resource for the
specified object to the specified
language resource.
The base component to set the language resource for.
A that indicates the language resource to use.
Sets a value indicating whether the specified object has
localization support.
The base component to set as localizable or not localizable.
if the object supports resource localization; otherwise, .
Gets a value indicating whether the specified object must have its design-time localization support persisted in a language resource.
The object to get the language support persistence flag for.
if the language support should be persisted; otherwise,
.
Resets the language for the specified
object.
The object to reset the language for.
Disposes of the resources (other than memory) used by the .
Indicates whether this object can provide its extender properties to the
specified object.
The object to receive the extender properties.
if this object can provide extender properties to the
specified object; otherwise, .
[To be supplied.]
[To be supplied.]
[To be supplied.]
[To be supplied.]
[To be supplied.]
[To be supplied.]
[To be supplied.]
[To be supplied.]
[To be supplied.]
[To be supplied.]
[To be supplied.]
[To be supplied.]
[To be supplied.]
[To be supplied.]
[To be supplied.]
[To be supplied.]
[To be supplied.]
[To be supplied.]
[To be supplied.]
[To be supplied.]
[To be supplied.]
The exception that is thrown when line number information
is available for a serialization error.
Initializes a new instance of the class
using the specified message and line information.
A message describing the exception.
A that indicates where the exception occurred.
Initializes a new instance of the class using
the specified exception and line information.
The exception to throw.
A that indicates where the exception occurred.
Initializes a new instance of the class using
the specified
serialization data and context.
Stores the data that was being used to serialize or deserialize the object that the was serializing or deserializing.
Describes the source and destination of the stream that generated the exception, as well as a means for serialization to retain that context and an additional caller-defined context.
Gets or sets the line information for the error
associated with this exception.
Deserilizes the given CodeDom object into a real object. This
will use the serialization manager to create objects and resolve
data types. The root of the object graph is returned.
A serialization manager interface that is used during the deserialization
process.
A CodeDom object to deserialize.
An object representing the deserialized CodeDom object.
Serializes the given object into a CodeDom object.
A serialization manager interface that is used during the deserialization
process.
The object to serialize.
A CodeDom object representing the object that has been serialized. Collections can
be serialized several ways. We will look at the current value on the context stack
and modify our serialization based on it. Here are the interesting things we
look for on the context stack:
CodeValueExpression
This is our first choice. If we see this we validate that the value in the
expression is the value we're serializing, and then we pull out the expression
and treat it as follows.
CodePropertyReferenceExpression
This allows us to perform the most flexible serialization. We will use the
data type of the property as a guide to serialization. If the data type is
an array, we will create an array and assign it to the property. If it
isn't, we will look on the data type for a single "AddRange" method that
takes an array. Failing that, we will look for an "Add" method and create
multiple method invoke statements. If this expression is on the
context stack the return value may be a single assignment statement, a
single method invoke statement, or a statement collection consisting
of multiple method invokes.
Any other expression
In this case, the collection serializer will create an array create
expression, but only if the collection is an array. Otherwise, we
will fail to serialize.
Retrieves a default static instance of this serializer.
Deserilizes the given CodeDom object into a real object. This
will use the serialization manager to create objects and resolve
data types. The root of the object graph is returned.
A serialization manager interface that is used during the deserialization
process.
A CodeDom object to deserialize. For this serializer this must point to
a CodeStatementCollection that has statements whose left hand side
ultimately points to the object we need to deserialize.
An object representing the deserialized CodeDom object.
Serializes the given object into a CodeDom object.
A serialization manager interface that is used during the deserialization
process.
The object to serialize.
A CodeDom object representing the object that has been serialized. For components,
this returns a CodeStatementCollection containing all of the properties, events
and methods that had to be set to serialize the given component. In addition,
this may create a variable reference in a CodeTypeDeclaration, if one can be
found in the serialization context stack.
Retrieves a default static instance of this serializer.
Deserilizes the given CodeDom object into a real object. This
will use the serialization manager to create objects and resolve
data types. The root of the object graph is returned.
A serialization manager interface that is used during the deserialization
process.
A CodeDom object to deserialize. We do not actually process this; we just let the
default code parser handle it.
An object representing the deserialized CodeDom object.
Serializes the given object into a CodeDom object.
A serialization manager interface that is used during the deserialization
process.
The object to serialize.
A CodeDom object representing the object that has been serialized.
Retrieves a default static instance of this serializer.
Provides an interface that can be used to optimize the
reloading of a designer.
Indicates whether the designer should reload in
order to import the specified compile unit correctly.
A containing the designer document code.
if the designer should reload; otherwise,
.
Deserilizes the given CodeDom object into a real object. This
will use the serialization manager to create objects and resolve
data types. The root of the object graph is returned.
A serialization manager interface that is used during the deserialization
process.
A CodeDom object to deserialize.
An object representing the deserialized CodeDom object.
Serializes the given object into a CodeDom object.
A serialization manager interface that is used during the deserialization
process.
The object to serialize.
A CodeDom object representing the object that has been serialized. For
InstanceDescriptors, this will create a CodeExpression representing the
descriptor.
Retrieves a default static instance of this serializer.
Deserilizes the given CodeDom object into a real object. This
will use the serialization manager to create objects and resolve
data types. The root of the object graph is returned.
A serialization manager interface that is used during the deserialization
process.
A CodeDom object to deserialize.
An object representing the deserialized CodeDom object.
Serializes the given object into a CodeDom object.
A serialization manager interface that is used during the deserialization
process.
The object to serialize.
A CodeDom object representing the object that has been serialized. For
generic objects, this just walks the object's properties and events.
It returns a CodeStatementCollection.
Retrieves a default static instance of this serializer.
Deserilizes the given CodeDom object into a real object. This
will use the serialization manager to create objects and resolve
data types. The root of the object graph is returned.
A serialization manager interface that is used during the deserialization
process.
A CodeDom object to deserialize. This must be an instance of CodePrimitiveExpression.
An object representing the deserialized CodeDom object.
Serializes the given object into a CodeDom object.
A serialization manager interface that is used during the deserialization
process.
The object to serialize.
A CodeDom object representing the object that has been serialized.
Retrieves a default static instance of this serializer.
Deserilizes the given CodeDom element into a real object. This
will use the serialization manager to create objects and resolve
data types. The root of the object graph is returned.
A serialization manager interface that is used during the deserialization
process.
A CodeDom object to deserialize. For this serializer this must point to a
CodeTypeDeclaration.
An object representing the deserialized CodeDom object.
Serializes the given object into a CodeDom object.
A serialization manager interface that is used during the deserialization
process.
The object to serialize.
A CodeDom object representing the object that has been serialized. This always
returns a CodeTypeDeclaration.
The name of the IContainer we will use for components that require a container.
Note that compnent model serializer also has this property.
The name of the method we will serialize into. We always use this, so if there
is a need to change it down the road, we can make it virtual.
Specifies
the type as
grab handle adornments.
Specifies
the type as
container selector adornments.
Specifies the
type as the
maximum size of any adornment.
Converts the specified object to the specified destination type, if possible.
A type decriptor context that can be used to provide context information.
A that can be used to provide culture information.
The object to convert.
The destination type to convert to, if possible.
The converted object, or if conversion is not
possible.
Edits the specified value using the specified provider
within the specified context.
The context of the value.
The provider to use to provide values.
The object to be edited.
Gets the edit style from the current context.
The context of the object the bindings provide values to.
A value.
Initializes a new instance of the class.
The bindings to store.
Gets or sets the collection of bindings.
Adds a event handler to listen to the Disposed event on the component.
Indicates whether to show all bindings.
Gets or sets the name for this object.
Initializes a new instance of the class.
A type descriptor context that can provide context information.
Gets an editor of the specified type.
The type of editor to retrieve.
An instance of the requested editor type, or if an
editor could not be found.
Indicates whether resetting the component will change the value of the
component.
The component to determine if resetting will change the value of the property on.
if the component can be reset without changing the
value of the property; otherwise, .
In an derived class, adds the attributes of the inherited class to the
specified list of attributes in the parent class.
An that lists the attributes in the parent class. Initially, this will be empty.
Gets the current value of the property on the specified
component.
The component from which to get the value of the property this descriptor describes.
The value of the property on the specified component.
Resets the value of the property on the specified component.
The component with this property that should be reset.
Sets the value of the property on the specified component to the specified
value.
The component that owns the property to set the value of.
The value to set the property to.
Indicates whether the value of this property should be persisted.
The component that owns the property to determine whether the value of should be persisted.
if the property should be persisted; otherwise,
.
Gets the type of component this property is bound to.
Indicates whether this property is read-only.
Gets the type of the property.
Provides a user interface for configuring an
property.
Edits the value of the specified object using the specified service provider and context.
An that can be used to gain additional context information.
An through which editing services may be obtained.
An instance of the value being edited.
The new value of the object. If the value of the object hasn't
changed, this should return the same object it was passed.
Gets
the editor style used by the
method.
An that can be used to gain additional context information.
One of the values
indicating
the provided editing style. If the method is not supported, this method will
return .
Extends design-time behavior for components that extend
.
Defines a local object that represents the
values of an invalid
object.
Specifies the accessibility object for the designer.
Processes Windows messages.
The to process.
Indicates whether the control managed by the specified
designer can be a child of the control
managed by this designer.
The that manages the control to be tested.
if the
control managed by the specified designer can be parented to the control managed by this
designer; otherwise, .
Provides default processing for messages.
The to process.
Displays information about the specified exception to the user.
The to display.
Releases the unmanaged resources used by the and optionally releases the managed
resources.
to release both managed and unmanaged resources; to release only unmanaged resources.
Enables or disables drag-and-drop support.
to enable drag-and-drop support for the control; if the control should not have drag-and-drop support.
Indicates whether the
specified point is within the bounds of the component.
A relative to the upper-left corner of the control.
if the
specified point
is to be handled by the component; otherwise,
.
Routes messages from the child controls of the specified control to the designer.
The first child to process. This method may recursively call itself for children of the control.
Initializes the designer with the specified component.
The to associate the designer with. This component must always be an instance of, or derive from, .
Initializes properties of the control to any non-default values.
Shows the context menu and provides an opportunity to perform additional processing when the context menu is about to be displayed.
The x coordinate at which to display the context menu.
The y coordinate at which to display the context menu.
Provides an opportunity to perform additional
processing immediately after the control handle has been created.
Called when a drag-and-drop operation enters the control designer view.
A that provides data for the event.
Called when a drag-and-drop object is dropped onto the control designer view.
A that provides data for the event.
Called when a drag-and-drop operation leaves the control designer view.
An that provides data for the event.
Called when a drag-and-drop object is dragged over the control designer view.
A that provides data for the event.
Called when a drag-and-drop operation is in progress to
provide an opportunity for the designer to provide feedback about the
currently dragged over location so the user can consider feedback cues when determining where to drop an object.
A that provides data for the event.
Called in response to the left mouse button being pressed and held while
over the component.
The x position of the mouse.
The y position of the mouse.
Called at the end of a drag-and-drop operation to complete or cancel the
operation.
to cancel the drag; to commit it.
Called for each movement of the mouse during a drag-and-drop operation.
The x position, in screen coordinates, of the mouse.
The y position, in screen coordinates, of the mouse.
Called when the mouse first enters the control.
Called after
the mouse hovers over the control.
Called when
the mouse first enters the control.
Called when the control that the designer is managing has painted
its surface so the designer can paint any additional adornments on top of the
control.
A the designer can use to draw on the control.
Called each time
the cursor needs to be set.
Called when the designer
is initialized, so the designer can set default values for properties of the component.
Adjusts the set of properties the component exposes
through a
.
An containing the properties for the class of the component.
Routes messages for the children of the specified
control to each control rather than to a parent designer.
The first child to process. This method may recursively call itself for children of the control.
Processes Windows messages.
The to process.
Gets the collection of components associated
with the designer.
Gets the assigned to the control.
Gets the control that the designer is designing.
Gets a value indicating whether drag rectangles can be drawn on this designer component.
Gets the selection rules that indicate the movement capabilities of a component.
Causes default window processing for the given message. We
just forward this on to the old control target.
The message to process.
Overrides Window's WndProc to process messages.
The message to process.
Creates a new ChildWindowTarget object. This hooks the
given control's window target.
The control designer we will route design-time messages
to.
The old IWindowTarget to hook.
Causes default window processing for the given message. We
just forward this on to the old control target.
The message to process.
Called when the window handle of the control has changed.
The new window handle value.
Called to do control-specific processing for this window.
The message to process.
Creates a new DesignerTarget object.
The control designer that owns this target.
Causes default window processing for the given message. We
just forward this on to the old control target.
The message to process.
Disposes this window target. This re-establishes the
prior window target.
Called when the window handle of the control has changed.
The new window handle value.
Called to do control-specific processing for this window.
The message to process.
Initializes a new instance of the class
using the specified designer and control.
The for the accessible object.
The for the accessible object.
Initializes a new instance of the class.
This is called immediately after the control handle has been created.
Called when the designer is intialized. This allows the designer to provide some
meaningful default values in the component. The default implementation of this
sets the components's default property to it's name, if that property is a string.
Allows a designer to filter the set of properties
the component it is designing will expose through the
TypeDescriptor object. This method is called
immediately before its corresponding "Post" method.
If you are overriding this method you should call
the base implementation before you perform your own
filtering.
The properties for the class of the component.
The augmented set of properties. If the method does not
modify any properties, it may just return a reference to
its input parameter. If you do make a change to the
properties, you must create a new array.
This method should be called by the extending designer for each message
the control would normally receive. This allows the designer to pre-process
messages before allowing them to be routed to the control.
The message.
[To be supplied.]
Imports ActiveX controls and generates a wrapper that can be accessed by a
designer.
Initializes a new instance of the class.
An that indicates the options for the ActiveX control importer to use.
Gets the path and file name to the specified type library.
A that indicates the type library to retrieve the file name of.
The path and file name to the specified type library, or
if the library could not be located.
Generates a wrapper for an ActiveX control for use in the design-time
environment.
A indicating the file that contains the control.
A wrapper for the ActiveX control.
Generates a wrapper for an ActiveX control for use in the design-time
environment.
A that indicates the type library to generate the control from.
A wrapper for the ActiveX control.
Generates a wrapper for an ActiveX control for use in the design-time
environment.
A that indicates the type library to generate the control from.
The for the control wrapper.
A wrapper for the ActiveX control.
Gets the names of the assemblies that are
generated for the control.
Gets the attributes for the generated type library.
Gets the names of the source files that were generated.
Specifies the filename to generate the ActiveX control wrapper to.
Specifies the path to the directory that the generated assemblies will
be created in.
Specifies the public key used to sign the generated assemblies.
Specifies the strong name used for the generated assemblies.
Specifies the path to the file that contains the
strong name key for the generated assemblies.
Specifies the path to the file that contains the
strong name key container for the generated assemblies.
Specifies whether sources for the type library wrapper
should be generated.
Indicates whether the
ActiveX importer tool logo will be displayed when the control is imported.
Specifies whether to compile in
silent mode, which generates less displayed information at compile time.
Specifies whether to compile in verbose mode, which generates more displayed information
at compile time.
Specifies whether the generated assembly is strongly named and will
be signed later.
Specifies whether to overwrite
existing files when generating assemblies.
Specifies the to use to resolve types
and references when generating assemblies.
Resolves a reference to the specified assembly.
The name of the assembly to resolve a reference to.
A fully qualified path to an assembly.
Resolves a reference to the specified type library that
contains an COM component.
A to resolve a reference to.
A fully qualified path to an assembly.
Resolves a reference to the specified assembly that contains a COM component.
An that indicates the assembly to resolve a reference to.
A fully qualified path to an assembly.
Resolves a reference to the specified type library that
contains an ActiveX control.
A to resolve a reference to.
A fully qualified path to an assembly.
Initializes a new instance of the class using the
specified name and type name.
The name of the parameter.
The name of the type of the parameter.
Initializes a new instance of the class using the
specified name and type.
The name of the parameter.
The type of the parameter.
Initializes a new instance of the class using the specified parameter
information.
A indicating the parameter information to use.
Initializes a new instance of the class using the specified parameter
information and whether to ignore by reference parameters.
A indicating the parameter information to use.
A value indicating whether to ignore parameters passed by reference.
Converts the specified parameter information to an
object.
An array of objects to convert.
An array of objects representing the specified array
of objects.
Converts the specified parameter information to an object, according to the specified value
indicating whether to ignore by reference parameters.
An array of objects to convert.
A value indicating whether to ignore parameters passed by reference.
An array of objects representing the specified array
of objects.
Indicates the direction of assignment fields.
Indicates whether the parameter data is passed by reference.
Indicates whether the parameter data is in.
Indicates whether the parameter data is out.
Indicates whether the parameter data is optional.
Gets or sets the name of the parameter.
Gets the type expected by the parameter.
Gets the name of the type expected by the parameter.
This field initializes a local variable named GeneratedSources.
Generates an ActiveX wrapper for design-time hosting of an ActiveX control.
The type of ActiveX control to generate a wrapper for.
Creates a new CommandSet object. This object implements the set
of commands that the UI.Win32 form designer offers.
Disposes of this object, removing all commands from the menu service.
Used to retrieve the selection for a copy. The default implementation
retrieves the current selection.
An array of objects that should be part of the copy.
Retrieves the given property on the given component.
The component to get the property on.
The name of the property.
an PropertyDescriptor for the given property or null if
no such property could be found.
Retrieves the requested service.
Type type of the service.
An object representing the service, or null of no such service
was found.
Retrieves the snap information for the given component.
Called for the two cancel commands we support. Returns true
If we did anything with the cancel, or false if not.
The MenuCommand object sending the event.
Called for the "default" command, typically the Enter key.
The MenuCommand object sending the event.
The event that was sent.
Called for all cursor movement commands.
The MenuCommand object sending the event.
The event that was sent.
Called for all alignment operations that key off of a primary
selection.
The MenuCommand object sending the event.
The event that was sent.
Called when the align->to grid menu item is selected.
The MenuCommand object sending the event.
The event that was sent.
Called when the center horizontally or center vertically menu item is selected.
The MenuCommand object sending the event.
The event that was sent.
Called when the copy menu item is selected.
The MenuCommand object sending the event.
The event that was sent.
Called when the cut menu item is selected.
The MenuCommand object sending the event.
The event that was sent.
Called when the delete menu item is selected.
The MenuCommand object sending the event.
The event that was sent.
Called when the paste menu item is selected.
The MenuCommand object sending the event.
The event that was sent.
Called when the select all menu item is selected.
The MenuCommand object sending the event.
The event that was sent.
Called when the show grid menu item is selected.
The MenuCommand object sending the event.
The event that was sent.
Handles the various size to commands.
The MenuCommand object sending the event.
The event that was sent.
Called when the size->to grid menu item is selected.
The MenuCommand object sending the event.
The event that was sent.
Called when the properties menu item is selected on the Context menu
The MenuCommand object sending the event.
The event that was sent.
Called when the snap to grid menu item is selected.
The MenuCommand object sending the event.
The event that was sent.
Called when a spacing command is selected
The MenuCommand object sending the event.
The event that was sent.
Called when the current selection changes. Here we determine what
commands can and can't be enabled.
The object sending the event.
The event that was sent.
Determines the status of a menu command. Commands with this event
handler are always enabled.
Object that sent the event. This must be a MenuCommand
object.
Event. This is not used.
Determines the status of a menu command. Commands with this event
handler are enabled when one or more objects are selected.
Object that sent the event. This must be a MenuCommand
object.
Event. This is not used.
Status for the copy command. This is enabled when
there is something juicy selected.
The MenuCommand object sending the event.
The event that was sent.
Status for the cut command. This is enabled when
there is something juicy selected and that something
does not contain any inherited components.
The MenuCommand object sending the event.
The event that was sent.
Status for the delete command. This is enabled when there
is something selected and that something does not contain
inherited components.
The MenuCommand object sending the event.
The event that was sent.
Determines the status of a menu command. Commands with this event are
considered to be not yet implemented and are disabled.
Object that sent the event. This must be a MenuCommand
object.
Event. This is not used.
Determines the status of a menu command. Commands with this event are
enabled when there is something yummy on the clipboard.
Object that sent the event. This must be a MenuCommand
object.
Event. This is not used.
This is called when the selection has changed. Anyone using CommandSetItems
that need to update their status based on selection changes should override
this and update their own commands at this time. The base implementaion
runs through all base commands and calls UpdateStatus on them.
Retrieves the menu command service, which the command set
typically uses quite a bit.
Retrieves the count of the currently selected objects.
Determines if the selection contains any inherited components.
Retrieves the current primary selection, if there is one.
Retrieves the selection service, which the command set
typically uses quite a bit.
Creates a new CommandSetItem.
The CommandSet object this is related to.
status.
An event handler that will be called when it
is time to determine the status of this command.
An event handler that will be called when this
command has been invoked.
The CommandID of this command.
This may be called to invoke the menu item.
Called when the status of this command should be re-queried.
Creates a new ImmediateCommandSetItem.
The CommandSet object this is related to.
status.
An event handler that will be called when it
is time to determine the status of this command.
An event handler that will be called when this
command has been invoked.
The CommandID of this command.
Overrides OleStatus in MenuCommand to invoke our status handler first.
Provides behavior for the component tray
of the form designer. The component tray represents components that do not otherwise provide a visible surface at design time and
provides a way for users to access and set the properties of those components.
Begins a drag on the currently selected designer. The designer should provide
UI feedback about the drag at this time. Typically, this feedback consists
of an inverted rectangle for each component, or a caret if the component
is text.
The set of components that is going to be dragged.
The rules for the operation to begin, from SelectionRules
Starting X position, in screen coordinates, of the drag
Starting X position, in screen coordinates, of the drag
True if the drag should begin
Called when the user has moved the mouse. This will only be called on
the designer that returned true from beginDrag. The designer
should update its UI feedback here.
The same set of components that was passed to beginDrag.
A rectangle providing the new offset for each of the
components. The x and y fields contain the position
offset and the width and height fields contain the
size differential.
Called when the user has completed the drag. The designer should
remove any UI feedback it may be providing.
The same set of components that was passed to beginDrag.
true if the user cancelled the drag operation,
or false otherwise. If the drag was cancelled,
the designer should not actually reposition the components.
Retrieves the shape of the component. The component's shape should be in
absolute coordinates and in pixels, where 0,0 is the upper left corner of
the screen.
The component to get the bounds for.
The components shape, in screen coordinates, or null if the
component has no shape.
Retrieves a set of rules concerning the movement capabilities of a component.
This should be one or more flags from the SelectionRules class. If no designer
provides rules for a component, the component will not get any UI services.
The component to get the selection rules for.
The components selection rules.
Determines the rectangle that any selection adornments should be clipped
to. This is normally the client area (in screen coordinates) of the
container.
Component currently selected. If this component is the
container of the UIHandler, then clipping isn't needed.
Handle a double-click on the selection rectangle
of the given component.
Component that got the double-click.
Queries to see if a drag operation
is valid on this handler for the given set of components.
If it returns true, BeginDrag will be called immediately after.
The set of components that is going to be dragged.
The rules for the operation to begin, from SelectionRules
Starting X position, in screen coordinates, of the drag
Starting X position, in screen coordinates, of the drag
true if the designer is going to be the one handling this
drag, or false if not.
Shows the context menu for the given component.
Component that has to show the context menu.
Adds the specified component
using the specified name.
if the component could be added; otherwise,
.
Indicates whether it is valid to drop the specified comoponent's type on this document.
Gets the control view instance for the designer that is hosting the drag.
Gets the control view instance for the specified component.
Indicates whether components can be added or removed from the designer.
Initializes a new instance of the class using the
specified designer and service provider.
The that is the main or document designer for the current project.
An that can be used to obtain design-time services.
Adds a component to the tray.
The to add to the tray.
Gets a value indicating whether the specified tool can be used to
create a new component.
The to test.
if the specified tool can be used
to create a component; otherwise, .
Gets a value indicating whether the specified component can be displayed.
The to test.
if the component can be displayed; otherwise,
.
Creates a component from the specified toolbox item, adds the component to the current
document, and displays a representation for the component in the component
tray.
The to create a component from.
Displays an error message to the
user with information about the specified exception.
The exception about which to display information.
Releases the unmanaged resources used by the and optionally releases the managed resources.
to release both managed and unmanaged resources; to release only unmanaged resources.
Gets the location of the specified component, relative to
the upper-left corner
of the component tray.
The to retrieve the location of.
A indicating the coordinates of the
specified component, or an empty if the specified component could not be
found in the component tray. An empty has an property equal to and typically has and properties that are
each equal to zero.
Gets the requested service type.
The type of the service to retrieve.
An instance of the requested service, or
if the
service could not be found.
Called when the mouse is double clicked over the component tray.
An that provides data for the event.
Called during an OLE drag and drop operation to provide
an opportunity for the component tray to give feedback to the user about
the results of dropping the object at a specific point.
A that provides data for the event.
Called when an object that has
been dragged is dropped on the component tray.
A that provides data for the event.
Called when an object is dragged over, and has entered the area over, the component tray.
A that provides data for the event.
Called when an object is dragged out of the area over the component tray.
An that provides data for the event.
Called when an object is dragged over the component tray.
A that provides data for the event.
Called when a mouse drag selection
operation is canceled.
Called when the mouse button is pressed.
A that provides data for the event.
Called when the mouse cursor position has changed.
A that provides data for the event.
Called when the mouse button has been released.
A that provides data for the event.
Called when the view for the component tray should be refreshed.
A that provides data for the event.
Called to set the mouse
cursor.
Removes the specified component from the tray.
The to remove from the tray.
Sets the location of the specified component to the specified location.
The to set the location of.
A indicating the new location for the specified component.
Processes Windows messages.
The to process.
Gets or sets a value indicating whether the tray items are
automatically aligned.
Gets the number of components contained in the tray.
Gets or sets a value indicating whether the tray displays a large icon to represent each component in the tray.
This is the worker method of all CreateTool methods. It is the only one
that can be overridden.
The tool to create.
The x location, in screen coordinates, of the location of the tool.
If the size of the tool is specified here, this will be the upper left
corner of the tool. If no size is specified, then this should be
interpreted as the center of the tool.
The y location, in screen coordinates, of the location of the tool.
If the size of the tool is specified here, this will be the upper left
corner of the tool. If no size is specified, then this should be
interpreted as the center of the tool.
The width of the tool. This is ignored if hasSize is false.
The height of the tool. This is ignored if hasSize is false.
If this is false the x and y values will be calculated to place
the in the center of the currently selected control.
If this is false the width and height values will be calculated to
be the default width and height for the control.
An array of components that were created by the tool.
Applys new diffs from a drop point to all the
top level controls in a selection.
If the there is data store in the data object associated with
format this will return true.
Format to check for.
If set to true then this will attempt to
convert any existing formats into the one specified.
true if there is data for format.
If the there is data store in the data object associated with
format this will return true.
Format to check for.
true if there is data for format.
If the there is data store in the data object associated with
format this will return true.
Format to check for.
true if there is data for format.
Retrieves a list of all formats stored in this data object.
If set to true then this will show
all formats this could possible return.
list of all formats.
Retrieves a list of all formats stored in this data object.
list of all formats.
Sets the data to be associated with the specific data format. For
a listing of predefined formats see System.Windows.Forms.DataFormats.
Format of the data to store.
Data to store.
Sets the data to be associated with the specific data format.
Format of the data to store.
Data to store.
Stores data in the data object. The format assumed is the
class of data
Data to store.
Creates a new TrayControl based on the component.
The tray we are connected to.
The component we are displaying.
Destroys this control. Views automatically destroy themselves when they
are removed from the design container.
Retrieves the tray control object for the given component.
The tray control, or null if there is no tray control for
the component.
Overrides handle creation notification for a control. Here we just ensure
that we're the proper size.
Called in response to a double-click of the left mouse button. The
default behavior here calls onDoubleClick on IMouseHandler
Called when the mouse button is pressed down. Here, we provide drag
support for the component.
The mouse event.
Called when the mouse is moved over the component. We update our drag
information here if we're dragging the component around.
Called when the mouse button is released. Here, we finish our drag
if one was started.
The mouse event.
Painting for our control.
Overrides control's FontChanged. Here we re-adjust our size if the font changes.
The property change event.
Overrides control's TextChanged. Here we re-adjust our size if the font changes.
The property change event.
This creates a method signature in the source code file for the
default event on the component and navigates the user's cursor
to that location.
This method should be called by the extending designer for each message
the control would normally receive. This allows the designer to pre-process
messages before allowing them to be routed to the control.
The message.
Retrieves the compnent this control is representing.
Begins a drag operation.
The set of components that is going to be dragged.
The rules for the operation to begin, from SelectionRules
Starting X position, in screen coordinates, of the drag
Starting X position, in screen coordinates, of the drag
if the designer is going to
be handling this drag, or
if not.
Called when the user has moved the mouse.
The same set of components that was passed to beginDrag.
A rectangle providing the new offset for each of the components. The x and y fields contain the position offset and the width and height fields contain the size differential.
Called when the user has completed the drag. The designer should
remove any UI feedback it may be providing.
The same set of components that was passed to beginDrag.
true if the user cancelled the drag operation, or false otherwise. If the drag was cancelled, the designer should not actually reposition the components.
Retrieves the base component for the selection handler.
The component for this selection handler.
Retrieves the base component's UI control for the selection handler.
The UI control for this selection handler's base control.
Retrieves the UI control for the given component.
The component to retrieve the UI control for.
The control that provides UI for this component.
Retrieves the current grid snap size we should snap objects
to.
We use this to request often-used services.
Determines if the selection UI handler should attempt to snap
objects to a grid.
Given a rectangle, this updates the dimensions of it
with any grid snaps and returns a new rectangle. If
no changes to the rectangle's size were needed, this
may return the same rectangle.
The rectangle to update.
The dragging rectangle of the component.
True to updateSize as well
A rectangle with updated dimensions.
Queries to see if a drag operation
is valid on this handler for the given set of components.
If it returns true, BeginDrag will be called immediately after.
The set of components that is going to be dragged.
The rules for the operation to begin, from SelectionRules
Starting X position, in screen coordinates, of the drag
Starting X position, in screen coordinates, of the drag
true if the designer is going to be the one handling this
drag, or false if not.
Asks the handler to set the appropriate cursor
Creates and initializes a new BoundsInfo object.
Overrides object ToString.
Creates a new selection UI handler for the given
component tray.
The tray this handler will work with to
help provide selection UI.
Called when the user has completed the drag. The designer should
remove any UI feedback it may be providing.
The same set of components that was passed to beginDrag.
true if the user cancelled the drag operation,
or false otherwise. If the drag was cancelled,
the designer should not actually reposition the components.
Retrieves the base component for the selection handler.
The component for this selection handler.
Retrieves the base component's UI control for the selection handler.
The UI control for this selection handler's base control.
Retrieves the UI control for the given component.
The component to retrieve the UI control for.
The control that provides UI for this component.
Retrieves the current grid snap size we should snap objects
to.
We use this to request often-used services.
Determines if the selection UI handler should attempt to snap
objects to a grid.
Given a rectangle, this updates the dimensions of it
with any grid snaps and returns a new rectangle. If
no changes to the rectangle's size were needed, this
may return the same rectangle.
The rectangle to update.
The dragging rectangle of the component.
True to updateSize as well
A rectangle with updated dimensions.
Asks the handler to set the appropriate cursor
Constructs a new composition command set object.
Called for the two cancel commands we support.
The MenuCommand object sending the event.
Called for selection via the tab key.
The MenuCommand object sending the event.
The event that was sent.
This is called when the selection has changed. Anyone using CommandSetItems
that need to update their status based on selection changes should override
this and update their own commands at this time. The base implementaion
runs through all base commands and calls UpdateStatus on them.
Extends design-time behavior for a design
document that supports Windows Forms child components.
Releases the unmanaged resources used by the and optionally releases the managed
resources.
to release both managed and unmanaged resources; to release only unmanaged resources.
Gets a value indicating whether the specified tool is supported by the
designer.
The to test for toolbox support.
if the tool should be enabled on
the toolbox;
if the document designer doesn't know how to use the tool.
Initializes the designer with the specified component.
The to associate with the designer.
Adjusts the
set of properties the component will expose through a .
An that contains the properties for the class of the component.
Gets the control for the designer.
Gets or sets a value indicating whether the component tray for the designer
is in auto-arrange mode.
Gets or sets a value indicating whether the component tray for the designer is in large icon mode.
Adds a component to the tray.
The component to add.
We don't want to allow drag/drop operations onto the banner area.
We don't want to allow drag/drop operations onto the banner area.
Sets the cursor. We override to provide support for the toolbox.
Removes a component from the tray.
The component to remove.
We override the wndproc of the control so we can intercept non client
messages. We create the banner for the composition designer by
changing the dimensions of the non-client area.
Win32 message
Creates a new selection UI handler for the given
composition designer.
The composition designer this handler will work with to
help provide selection UI.
Retrieves the base component for the selection handler.
The component for this selection handler.
Retrieves the base component's UI control for the selection handler.
The UI control for this selection handler's base control.
Retrieves the UI control for the given component.
The component to retrieve the UI control for.
The control that provides UI for this component.
Retrieves the current grid snap size we should snap objects
to.
We use this to request often-used services.
Determines if the selection UI handler should attempt to snap
objects to a grid.
Given a rectangle, this updates the dimensions of it
with any grid snaps and returns a new rectangle. If
no changes to the rectangle's size were needed, this
may return the same rectangle.
The rectangle to update.
The dragging rectangle of the component.
True to updateSize as well
A rectangle with updated dimensions.
Asks the handler to set the appropriate cursor
Indicates
the container of the active event was the contextmenu.
Indicates
the container of the active event was the mouse.
Deserilizes the given CodeDom object into a real object. This
will use the serialization manager to create objects and resolve
data types. The root of the object graph is returned.
A serialization manager interface that is used during the deserialization
process.
A CodeDom object to deserialize. For this serializer this must point to
a CodeStatementCollection that has statements whose left hand side
ultimately points to the object we need to deserialize.
An object representing the deserialized CodeDom object.
Serializes the given object into a CodeDom object.
A serialization manager interface that is used during the deserialization
process.
The object to serialize.
A CodeDom object representing the object that has been serialized. For components,
this returns a CodeStatementCollection containing all of the properties, events
and methods that had to be set to serialize the given component. In addition,
this may create a variable reference in a CodeTypeDeclaration, if one can be
found in the serialization context stack.
Creates a new CommandSet object. This object implements the set
of commands that the UI.Win32 form designer offers.
Disposes of this object, removing all commands from the menu service.
Retrieves the snap information for the given component.
Called for the two cancel commands we support.
The MenuCommand object sending the event.
Called for the various sizing commands we support.
The MenuCommand object sending the event.
The event that was sent.
Called for selection via the tab key.
The MenuCommand object sending the event.
The event that was sent.
Called when the lock controls menu item is selected.
The MenuCommand object sending the event.
The event that was sent.
Determines the status of a menu command. Commands with this event
handler are enabled when there is one or more controls on the design
surface.
Object that sent the event. This must be a MenuCommand
object.
Event. This is not used.
Determines the status of a menu command. Commands with this event
handler are enabled when one or more objects are selected.
Object that sent the event. This must be a MenuCommand
object.
Event. This is not used.
Determines the status of a menu command. Commands with this event
handler are enabled when more than one object is selected.
Object that sent the event. This must be a MenuCommand
object.
Event. This is not used.
Determines the status of a menu command. Commands with this event
handler are enabled when more than one object is selected and one
of them is marked as the primary selection.
Object that sent the event. This must be a MenuCommand
object.
Event. This is not used.
Determines the status of a menu command. This event handler is
dedicated to the ShowGrid item.
Object that sent the event. This must be a MenuCommand
object.
Event. This is not used.
Determines the status of a menu command. This event handler is
dedicated to the SnapToGrid item.
Object that sent the event. This must be a MenuCommand
object.
Event. This is not used.
This is called when the selection has changed. Anyone using CommandSetItems
that need to update their status based on selection changes should override
this and update their own commands at this time. The base implementaion
runs through all base commands and calls UpdateStatus on them.
Compares two controls for equality.
The first object to compare.
The second object to compare.
Gets the
data types this collection can contain.
An array of types this collection can contain.
Gets the design-time verbs suppoted by the component associated with the
designer.
Initializes a new instance of the class.
Raises the AutoFormat event.
The source of the event.
An EventArgs that contains the event data.
Raises the PopulateGrid event.
The source of the event.
An EventArgs that contains the event data.
Gets the design-time verbs supported by the component associated with the
designer.
Gets a value indicating whether the specified component can reset the value
of the property.
The component to test whether it can change the value of the property.
if the value can be reset; otherwise,
.
Gets a value from the specified component.
The component to retrieve a value from.
The value of the specified component.
Resets the value of the specified component.
The component to reset the value of.
Sets the specified value for the specified component.
The component to set the value for.
The value to set.
Indicates whether the specified component should persist the value.
The component to determine whether the value of should be persisted.
if the value should be persisted;
otherwise, .
Gets or sets the type of the component that owns the property.
Gets or sets the type converter.
Indicates whether the property is read-only.
Gets or sets the type of the property.
Pushes the given control on top of the overlay list. This is a "push"
operation, meaning that it forces this control to the top of the existing
overlay list.
The control to push to the top of the overlay list. An
exception will be thrown if this control is already in
the list.
Removes the given control from the overlay list. Unlike pushOverlay,
this can remove a control from the middle of the overlay list.
The control to remove. An exception will be thrown if this
control is not currently in the list.
Requests the service to add a window 'pane'.
The window pane to add.
Requests the service to remove a window 'pane'.
The window pane to add.
Edits the specifiedn object value using the editor style provided by
GetEditorStyle. A service provider is provided so that any
required editing services can be obtained.
An that can be used to gain additional context information.
A service provider object through which editing services may be obtained.
An instance of the value being edited.
The new value of the object. If the value of the object hasn't
changed, this should return the same object it was passed.
Retrieves the editing style of the EditValue method. If the method
is not supported, this will return None.
An that can be used to gain additional context information.
An enum value indicating the provided editing style.
Provides a designer that extends the and implements .
Extends design-time behavior for scrollable controls.
Extends design-time behavior for a
Windows Forms control. This designer extends and provides a selection UI handler
and the ability to add and manipulate nested components.
Releases the unmanaged resources used by the and optionally releases the managed
resources.
to release both managed and unmanaged resources; to release only unmanaged resources.
Creates a tool from the specified .
The that the tool is to be used with.
The to create a tool from.
Indicates whether the control managed by the
specified designer can be a child of the control managed by this designer.
The designer that manages the control to determine whether can be a child of the control managed by the designer.
if the control managed by the
specified designer can be a child of the control managed by this designer;
otherwise, .
Indicates whether the specified control can be a child of the control
managed by this designer.
The to determine whether can be a child of the designer.
if
the specified control can be a child of the control managed by this designer;
otherwise, .
Creates a component or control from the specified tool and adds it to the current design document.
The to create a component from.
Creates a component or control from the specified tool and adds it to the current design document at
the specified location.
The to create a component from.
The , in design-time view screen coordinates, at which to center the component.
Creates a component or control from the specified tool and adds it to the current design document
within the bounds of the specified rectangle.
The to create a component from.
A indicating the location and size for the component created from the tool. The and values of the indicate the design-time view screen coordinates of the upper-left corner of the component.
Provides core functionality for all the
methods.
The to create a component from.
The horizontal position, in design-time view coordinates, of the location of the left edge of the tool, if a size is specified, or of the center of the tool, if no size is specified.
The vertical position, in design-time view coordinates, of the location of the top edge of the tool, if a size is specified, or of the center of the tool, if no size is specified.
The width of the tool. This parameter is ignored if the parameter is set to .
The height of the tool. This parameter is ignored if the parameter is set to .
if a location for the component is specified; if the component is to be positioned in the center of the currently selected control.
if a size for the component is specified; if the default height and width values for the component are to be used.
An array of components created from the tool.
Gets the control from the designer of the specified component.
The component to retrieve the control for.
The that the specified component belongs
to.
Updates the position of the specified rectangle,
adjusting it for grid alignment if gird alignment mode is
enabled.
A indicating the initial position of the component being updated.
A indicating the new position of the component.
to update the size of the rectangle, if there has been any change; otherwise, .
A rectangle indicating
the position of the component in design-time view screen coordinates. If no changes have been made,
this method returns the original rectangle.
Initializes the designer with the specified component.
The to associate with the designer.
Provides an opportunity to perform
processing when an object is dropped onto a designer control.
A that provides data for the event.
Provides an opportunity to perform processing when an object is dragged into the area over the designer's control.
A that provides data for the event.
Provides an opportunity to perform processing when an object is dragged out of the area over the designer's control.
An that provides data for the event.
Provides an opportunity to perform processing when an object is dragged over the control designer view.
A that provides data for the event.
Provides an opportunity to perform processing to
provide visual cues based on the location of the mouse
while a drag operation is in progress.
A that provides data for the event.
Provides an opportunity to perform processing when a drag operation begins.
The x position, in control coordinates, of the mouse.
The y position, in control coordinates, of the mouse.
Provides an opportunity to perform processing when a drag operation
ends.
to cancel the drag operation; to commit it.
Provides an opportunity to perform processing for
each movement of the mouse during an OLE drag operation.
The x position, in screen coordinates, of the mouse.
The y position, in screen coordinates, of the mouse.
Provides an opportunity to perform processing when the mouse cursor enters the area over the
control.
Provides an opportunity to perform processing when the mouse hovers
at a point over the control.
Provides an opportunity to perform processing when the mouse leaves
the area over the control.
Provides an opportunity to perform processing after a component has finished painting.
A that provides data for the event.
Provides an opportunity to change the current mouse cursor.
Adjusts the set of properties the component will expose
through a
.
An that contains the properties for the class of the component.
Processes Windows messages.
The to process.
Gets the default location for a control added to the designer.
Gets
or sets a value indicating whether a
grid should be drawn on the control for this designer.
Gets a value indicating whether drag rectangles are drawn by the designer.
Gets or sets the size of each square of
the grid that is drawn when the designer is in grid draw
mode.
This is called by the drag drop handler for each new tool that is created. It gives us a chance to
place the control on the correct designer.
CommandSet will check with this handler on each status update
to see if the handler wants to override the availability of
this command.
The menu command to override the invokation for.
true if the handler overrode the invocation on
the command.
CommandSet will check with this handler on each status update
to see if the handler wants to override the availability of
this command.
The menu command to override the status for.
true if the handler overrode the status on
the command.
Creates a new escape handler.
CommandSet will check with this handler on each status update
to see if the handler wants to override the availability of
this command.
The menu command to override the invokation for.
true if the handler overrode the invocation on
the command.
CommandSet will check with this handler on each status update
to see if the handler wants to override the availability of
this command.
The menu command to override the status for.
true if the handler overrode the status on
the command.
Creates a new selection UI handler for the given
designer.
The designer this handler will work with to
help provide selection UI.
Retrieves the base component for the selection handler.
The component for this selection handler.
Retrieves the base component's UI control for the selection handler.
The UI control for this selection handler's base control.
Retrieves the UI control for the given component.
The component to retrieve the UI control for.
The control that provides UI for this component.
Retrieves the current grid snap size we should snap objects
to.
We use this to request often-used services.
Determines if the selection UI handler should attempt to snap
objects to a grid.
Given a rectangle, this updates the dimensions of it
with any grid snaps and returns a new rectangle. If
no changes to the rectangle's size were needed, this
may return the same rectangle.
The rectangle to update.
The dragging rectangle of the component.
True to updateSize as well
A rectangle with updated dimensions.
Asks the handler to set the appropriate cursor
Indicates
whether the specified point was within the boundaries of the component.
The , in screen coordinates, that was clicked.
if the point
at the cursor is
within the boundaries of the component; otherwise, .
Processes Windows messages.
The to process.
Initializes the menuEditorService variable to
.
Releases the unmanaged resources used by the and optionally releases the managed resources.
to release both managed and unmanaged resources; to release only unmanaged resources.
Indicates whether the specified tool is supported by
the designer.
The to test for toolbox support.
if the tool should be enabled on
the toolbox;
if the document designer doesn't know how to use the tool.
Initializes the designer with the specified component.
The to associate with the designer.
Called when the context menu should
be displayed.
The horizontal screen coordinate to display the context menu at.
The vertical screen coordinate to display the context menu at.
Called immediately after the handle for the designer has been created.
Checks for the existence of a menu editor service and
creates one if one does not already exist.
The to ensure has a context menu service.
Adjusts the set of properties the component exposes through a .
An that contains the properties for the class of the component.
Handles the behavior that occurs when a user double-clicks a toolbox item.
The to create a component for.
Processes Windows messages.
The to process.
Gets the for the designer.
Creates a new document inheritance service.
A back pointer to our designer.
Indicates the inherited members to ignore.
The member to check. This will either be a FieldInfo or a MethodInfo
The component instance this member is bound to.
if
the specified member should be included in the set of inherited components;
otherwise, .
Gets the currently active event handler of the specified type.
The type of the handler to get.
An instance of the handler, or if
there is no handler of the requested type.
Pops the specified handler off of the stack.
The handler to remove from the stack.
Pushes the new, specified event handler on the stack.
The handle to add to the stack.
Gets or sets the control that handles focus changes
for this event handler service.
[To be supplied.]
Gets the currently active event handler of the specified type.
The type of the handler to get.
An instance of the handler, or null if
there is no handler of the requested type.
Pops
the given handler off of the stack.
The handler to remove from the stack.
Pushes a new event handler on the stack.
The handle to add to the stack.
[To be supplied.]
[To be supplied.]
Creates a new handler entry objet.
The handler to contain.
The next node in the chain.
Provides a user interface for selecting a
file name.
Edits the specified object using the editor style provided
by the method.
An that can be used to gain additional context information.
A service provider object through which editing services may be obtained.
An instance of the value being edited.
The new value of the object. If the value of the object hasn't
changed, this should return the same object it was passed.
Gets the editing style used
by the method.
An that can be used to gain additional context information.
One of the values indicating the provided editing style.
Initializes the open file dialog when it is created.
The to use to select a file name.
The user's desktop.
The user's favorites list.
The contents of the My Computer icon.
The user's My Documents folder.
User's location to store pictures.
Network and dial-up connections.
The network neighborhood.
A folder containing installed printers.
A folder containing shortcuts to recently opened files.
A folder containing shortcuts to applications to send documents to.
The user's start menu.
The user's file templates.
The folder browser can only return computers. If the user selects anything
other than a computer, the button is grayed.
The folder browser can return any object that it can return.
The folder browser can only return printers. If the user selects anything other
than a printer, the button is grayed.
The folder browser will not include network folders
below the domain level in the dialog box's tree view control, or allow navigation to network locations outside of the domain.
The folder browser will only return local file system directories. If the user selects
folders that are not part of the local file system, the button is grayed.
The folder browser will only return obejcts of
the local file system that are within the root folder or a subfolder
of the root folder. If the user selects a subfolder of the root folder
that is not part of the local file system, the
button is grayed.
The folder browser includes a control in the browse dialog box that allows the user to type the name of an item.
Disposes of the resources used by this designer (other than memory).
Initializes the designer with the specified component.
The component to associate with this designer.
Handles the create handle event.
Provides an opportunity to perform processing when an object is dragged over the control designer view.
A that provides data for the event.
Allows a
designer to filter the set of properties the component
it is designing will expose through the TypeDescriptor
object.
The properties for the class of the component.
The augmented set of properties. If the method does not
modify any properties, it may just return a reference to
its input parameter. If you do make a change to the
properties, you must create a new array.
Overrides and handles the PaintAdornments event.
A that provides data for the event.
Provides for Windows message processing.
The message to process.
Gets the default location for a control added to this designer.
Initializes the open file dialog when it is created.
An instance of the OpenFileDialog we will use to choose a file name.
Initializes a new instance of the class.
The type of the collection to edit.
Creates an instance of the specified type in the collection.
The type of the image to insert in the collection.
Initializes a new instance of the class.
Gets a value indicating whether this editor supports the painting of a representation
of an object's value.
An that can be used to gain additional context information.
if PaintValue is implemented;
otherwise, .
Paints a representative value of the specified object to
the specified canvas.
What to paint and where to paint it.
Provides an opportunity for the designer to filter the properties.
Add the specified image to the ImageList.
A System.Drawing.Bitmap image to add.
Remove all images and masks from the ImageList.
Provides access to the menu editing service.
Gets the current menu.
The current .
Indicates whether the current menu is active.
if the current menu is currently active; otherwise,
.
Sets the specified menu visible
on the form.
The to render.
Sets the selected menu item of the current menu.
A to set as the currently selected menu item.
Allows the editor service to intercept Win32 messages.
The to process.
if the message is for the control; otherwise,
.
This is called when the user double clicks on a component. The typical
behavior is to create an event handler for the component's default event and
navigate to the handler.
The component that recieved the double click.
This is called when a mouse button is depressed. This will perform
the default drag action for the selected components, which is to
move those components around by the mouse.
The compnent that the mouse was over when the user
pressed the button down.
The button that was pressed.
The location of the mouse, in screen coordinates.
The location of the mouse, in screen coordinates.
This is called when the mouse momentarially hovers over the
view for the given component.
The component the mouse is hovering over.
This is called for each movement of the mouse.
The component the mouse is over.
The location of the mouse, in screen coordinates.
The location of the mouse, in screen coordinates.
This is called when the user releases the mouse from a component.
This will update the UI to reflect the release of the mouse.
The component that recieved the click.
The button that has been released.
This is called when the cursor for the given component should be updated.
The mouse is always over the given component's view when this is called.
The component to update the cursor for.
Assigns a selection UI handler to a given component. The handler will be
called when the UI service needs information about the component. A single
selection UI handler can be assigned to multiple components.
When multiple components are dragged, only a single handler may control the
drag. Because of this, only components that are assigned the same handler
as the primary selection are included in drag operations.
A selection UI handler is automatically unassigned when the component is removed
from the container or disposed.
The component that this handler is in control of. A handler may
control multiple components.
The selection UI handler to assign.
This can be called by an outside party to begin a drag of the currently selected
set of components. At least one designer must have added a UI handler or
else this method will always return false.
A set of selection rules that define what type of a drag you're
interested in. This will be used to mask off components that
don't have the capabilities that you want. The default ruleset
is zero.
Starting X position, in screen coordinates, of the drag
Starting X position, in screen coordinates, of the drag
true if the selection service will allow the drag to proceed.
Called by an outside party to update drag information. This can only be called
after a successful call to beginDrag.
The offset in size and location of the new components. The
selection service may filter this offset to conform to limitations
on the currently selected components.
Called by an outside party to finish a drag operation. This can only be called
after a successful call to beginDrag.
true if the caller now wishes to cancel the drag, or false
to carry it out.
Filters the set of selected components. The selection service will retrieve all
components that are currently selected. This method allows you to filter this
set down to components that match your criteria. The selectionRules parameter
must contain one or more flags from the SelectionRules class. These flags
allow you to constrain the set of selected objects to visible, movable,
sizeable or all objects.
The array of components to filter.
One or more flags from the SelectionRules class.
Selection rules can be used to define one or more
constraints on the selection set that is returned.
If this parameter is zero, all selected components
are returned.
the filtered set of components.
Retrieves the width and height of a selection border grab handle.
Designers may need this to properly position their user interfaces.
Adorment type to get dimensions for.
a Size containing the width and height of a selection grab
handle.
Tests to determine if the given screen coordinate is over an adornment
for the specified component. This will only return true if the
adornment, and selection UI, is visible.
Component to test
point, in screen coordinates, to test
Gets a value indicating whether the specified component is the currently selected container.
The component to test.
if the component is part of the user's current container selection; otherwise, .
Retrieves a set of flags that define rules for the selection. Selection
rules indicate if the given component can be moved or sized, for example.
The component to inquire about. An exception will be thrown
if this compnent is not currently selected.
a series of flags from the SelectionRules class.
Allows you to configure the style of the selection frame that a
component uses. This is useful if your component supports different
modes of operation (such as an in-place editing mode and a static
design mode). Where possible, you should leave the selection style
as is and use the design-time hit testing feature of the IDesigner
interface to provide features at design time. The value of style
must be one of the SelectionStyle enum values.
The selection style is only valid for the duration that the component is
selected.
The component to set the selection style for.
the selection style. If the given component is not selected this
will throw an exception.
Changes the container selection status of the specified component.
The component to modify the container selection status of.
to set the component to become the selected container; to be unselected.
Allows you to configure the style of the selection frame that a
component uses. This is useful if your component supports different
modes of operation (such as an in-place editing mode and a static
design mode). Where possible, you should leave the selection style
as is and use the design-time hit testing feature of the IDesigner
interface to provide features at design time. The value of style
must be one of the SelectionStyle enum values.
The selection style is only valid for the duration that the component is
selected.
The component to set the selection style for.
The style to set it to.
This should be called when a component has been moved, sized or re-parented,
but the change was not the result of a property change. All property
changes are monitored by the selection UI service, so this is automatic most
of the time. There are times, however, when a component may be moved without
a property change notification occurring. Scrolling an auto scroll Win32
form is an example of this.
This method simply re-queries all currently selected components for their
bounds and udpates the selection handles for any that have changed.
This should be called when a component's property changed, that the designer
thinks should result in a selection UI change.
This method simply re-queries all currently selected components for their
bounds and udpates the selection handles for any that have changed.
Determines if the selection UI is shown or not.
true if the UI is being displayed, or false
if it is currently invisible.
Adds an event handler to the ContainerSelectorActive event.
This event is fired whenever the user interacts with the container
selector in a manor that would indicate that the selector should
continued to be displayed. Since the container selector normally
will vanish after a timeout, designers should listen to this event
and reset the timeout when this event occurs.
This can be used to determine if the user is in the middle of a drag operation.
true if the user is currently dragging components around.
Edits the given object value using the editor style
provided by .
An that can be used to gain additional context information.
A service provider object through which editing services may be obtained.
An instance of the value being edited.
The new value of the object. If the value of the object hasn't
changed, this should return the same object it was passed.
Gets the of the method.
An that can be used to gain additional context information.
One of the values indicating the provided editing
style. If the method is not supported, this will return
.
Disposes of the resources (other than memory) used by
the .
Initializes the designer with the specified component.
The component to associate this designer with. This must always be an instance of Control.
Handles the CreateHandle event.
Creates a
new form to show the current collection.
An instance of CollectionForm to provide as the user interface for
editing the collection.
Constructs a StringCollectionForm.
Indicates whether the specified point was within the bounds of the component.
if the specified point should be considered
"active"; if it is not something the user can
interact with.
Defines a set of fields that each correspond to
a
command function provided by the host environment.
A that can be used to access
the selection menu.
A that can be used to access the container menu.
A that can be used to access
the tray selection menu.
A that can be used to access the component tray menu.
A that can be used to access
the properties page for the designer.
A that can be used to access
the cancel key handler.
A that can be used to access
the key reverse cancel handler.
A that can be used to access
the default key handler.
A that can be used to access
the key move up handler.
A that can be used to access
the key move down handler.
A that can be used to access
the key move left handler.
A that can be used to access
the key move right handler.
A that can be used to
access the key nudge up handler.
A that can be used to access
the key nudge down handler.
A that can be used to access
the key nudge left handler.
A that can be used to access
the key nudge right handler.
A that can be used to access
the key size width increase handler.
A that can be used to access
the key size height increase handler.
A that can be used to access
the key size width decrease handler.
A that can be used to access
the key size height decrease handler.
A that can be used to access
the key nudge width increase handler.
A that can be used to access
the key nudge height increase handler.
A that can be used to access
the key nudge width decrease handler.
A that can be used to access
the key nudge height decrease handler.
A that can be used to access
the key select next handler.
A that can be used to access
the key select previous handler.
A that can be used to access
the key tab order select handler.
Overrides the OnPaintAdornments method of the base class.
Adjusts the set of properties the component exposes
through a
.
An containing the properties for the class of the component.
Handles the SetComponentDefaults event.
Defines identifiers
that are used to indicate selection rules for a component.
Indicates
no special selection attributes.
Indicates the component supports a location property that
allows it to be moved on the screen.
Indicates the component has some form of visible user
interface and the selection service is drawing a selection border around
this user interface. If a selected component has this rule set, you can assume
that the component implements
and that it
is associated with a corresponding designer instance.
Indicates the component is locked to its container.
Overrides the , , , , , and
bit flags of this enumeration.
Indicates the component supports resize from the top.
Indicates the component supports resize from the bottom.
Indicates the component supports
resize from the left.
Indicates the component supports
resize from the right.
Indicates the component supports sizing in all directions.
The component is not currently selected.
A component is selected and may be dragged around the
An alternative selection border,
indicating that a component is in active editing mode and that clicking and
dragging on the component affects the component itself, not its position
in the designer.
Creates a new selection manager object. The selection manager manages all
selection of all designers under the current form file.
The IDesignerHost interface this will communicate with
Disposes the entire selection UI manager.
update our window region on first create. We shouldn't do this before the handle
is created or else we will force creation.
Inheriting classes should override this method to handle this event.
Call super.onDragEnter to send this event to any registered event listeners.
event
Inheriting classes should override this method to handle this event.
Call super.onDragOver to send this event to any registered event listeners.
event
Inheriting classes should override this method to handle this event.
Call super.onDragLeave to send this event to any registered event listeners.
event
Inheriting classes should override this method to handle this event.
Call super.onDragDrop to send this event to any registered event listeners.
event
Inheriting classes should override this method to handle this event.
Call base.OnDoiubleClick to send this event to any registered event listeners.
Overrides Control to handle our selection grab handles.
The mouse event.
Overrides Control to handle our selection grab handles.
The mouse event.
Overrides Control to handle our selection grab handles.
The mouse event.
If the selection manager move, this indicates that the form has autoscolling
enabled and has been scrolled. We have to invalidate here because we may
get moved before the rest of the components so we may draw the selection in
the wrong spot.
overrides control.onPaint. here we paint the selection handles. The window's
region was setup earlier.
Override of our control's WNDPROC. We diddle with capture a bit,
and it's important to turn this off if the capture changes.
override of control.
This can be used to determine if the user is in the middle of a drag operation.
true if the user is currently dragging components around.
Determines if the selection UI is shown or not.
true if the UI is being displayed, or false
if it is currently invisible.
Adds an event handler to the ContainerSelectorActive event.
This event is fired whenever the user interacts with the container
selector in a manor that would indicate that the selector should
continued to be displayed. Since the container selector normally
will vanish after a timeout, designers should listen to this event
and reset the timeout when this event occurs.
constructor
paints the selection
Retrieves an appropriate cursor at the given point. If there is no appropriate
cursor here (ie, the point lies outside the selection rectangle), then this
will return null.
The point to check.
a Cursor object, or null.
returns the hit test code of the given point. This may be one of:
- the point to inquire about
. A hit test code that may be one of:
NOHIT - the point is not within this selection
SIZE_X - the point can by sized in the X direction
SIZE_Y - the point can be sized in the Y direction
MOVE_X - the point can be moved in the X direction
MOVE_Y - the point can be moved in the Y direction
Move and size flags may be logically OR'd together
returns a region handle that defines this selection. This is used to piece
together a paint region for the surface that we draw our selection handles on
Retrieves the rules associated with this selection.
a set of flags from SelectionRules.
Invalidates the region for this selection glyph.
Part of our hit testing logic; determines if the point is somewhere
within our selection.
Updates our cached selection rules based on current
handler values.
rebuilds the inner and outer rectangles based on the current
selItem.component dimensions. We could calcuate this every time, but that
would be expensive for functions like getHitTest that are called a lot
(like on every mouse move)
Retrieves the style of the selection frame for this selection.
one of the enum values from SelectionStyle
constructor
Handles the PaintAdornments event.
Overrides the base class method.
Retrieves a list of assosciated components. These are components that should be incluced in a cut or copy operation on this component.
Gets the data type this collection contains.
The data type the collection is designed to contain.
Gets the items in this collection.
Sets the items in this collection.
Initializes a new instance of the class using
the specified designer host.
The designer host.
Disposes of the resources (other than memory) used by
the .
Handlers the MouseDoubleClick event.
The component that recieved the double click.
Handles the MouseDown event using the specified mouse down coordinates.
The component that the mouse was over when the user pressed the button down.
The button that was pressed.
The location of the mouse, in screen coordinates.
The location of the mouse, in screen coordinates.
Overrides
the OnMouseDown method
from Control.
An EventArgs the provides data for the event.
Handles the MouseHover event.
The component the mouse is hovering over.
Handles the MouseMove event.
The component the mouse is over.
The location of the mouse, in screen coordinates.
The location of the mouse, in screen coordinates.
Overrides the OnMouseMove method from Control.
The mouse event.
Handles the MouseUp event.
The component that recieved the click.
The button that has been released.
Handles the SetCursor event.
The component to update the cursor for.
Handles the Paint event.
An EventArgs that provides data for the event.
Indicates whether to override
the invocation of the specified command, depending on the result of
this handler.
The menu command to override the invokation for.
if the handler overrode the
invocation of the command; otherwise,
.
Indicates whether to override the invocation of the
specified command, depending on the result of this handler.
The menu command to override the status for.
if the handler overrode the status
on the command; otherwise,
.
Creates a new form that can
be used to show the current collection.
An instance of CollectionForm that can be used for the user interface for
editing the collection.
This is called when the value property in the CollectionForm has changed.
In it you should update your user interface to reflect the current value.
Indicates whether the specified tool is supported by this
designer.
The tool that is to be enabled on the toolbox.
if the tool can be enabled on
the toolbox;
if the document designer doesn't know how to use the tool.
Initializes the designer with the specified component.
The component to associate with this designer.
LogConverter is the TypeConverter for the Log property on EventLog. It returns
a list of all event logs on the system.
Initializes a new instance of the class for the given type.
[To be supplied.]
[To be supplied.]
Starts a color editor that allows a user to select a color.
Starts a color editor to build an HTML color property value.
The whose site is to be used to access design-time services.
The used to parent the picker window.
The initial color to be shown in the picker window, in a valid HTML color format.
The color value, represented as a string in an HTML
color format, or
if the builder service could not be retrieved.
Provides methods for creating a Web Server
or from a string of aspx code representing a
persisted control or template.
Creates a control from the specified persisted control code,
using the specified designer host.
An that is the designer host for the document.
The text of the code for the control.
The that the specified text represents, or if the parser could not build
the control.
Creates a control from the specified persisted control code, using the
specified designer host and directives.
An that is the designer host for the document.
The text of the code for the control.
The directives to include in the code for the control.
The
that the specified text represents.
Creates an from the specified persisted template code.
An that is the designer host for the document.
A string that represents a persisted template.
An created by parsing the specified persisted
template code.
Parses the specified persisted template code and creates an .
An that is the designer host for the document.
A string that represents a persisted template.
Any directives to add to the beginning of the code for the template.
An
created
by parsing the specified persisted template code.
Provides a type converter
for objects.
Converts a data binding collection to the specified type.
An that indicates the component or control the data binding collection belongs to.
A that can be used to provide additional culture information.
The object to convert.
The type to convert to.
The object produced by the type conversion. If the
parameter is of type string, this method returns an empty string.
Provides a user interface for editing a collection of data bindings.
Edits the value of the specified data-binding collection using the specified service provider and context.
An that identifies the component or control the collection belongs to.
The to use.
The collection to edit.
The new collection.
Gets the editor style used by the method.
An that identifies the component or control to retrieve the edit style for.
A that specifies the editor edit style of the component or control.
Provides a base class for a data-binding handler.
Data binds the specified control.
The for the document.
The to data bind.
Adds a data binding for the specified property and the specified value item
list if the current control has data bindings and the current object does not already
have a binding.
An object that can provide additional context information.
A that represents the property to add a data binding for.
An of items that have data bindings.
Provides a type converter that can retrieve a list of data
fields from the current component's selected data source.
Initializes a new instance of the class.
Gets a value
indicating whether the converter can convert an object of the specified source type to the native type
of the converter.
An that can be used to gain additional context information.
A that represents the type you wish to convert from.
if the converter can perform the conversion; otherwise,
.
Converts the specified object to the native type of the converter.
An that can be used to gain additional context information.
A that can be used to support localization features.
The to convert.
An that represents
the specified
object after conversion.
Gets the data fields present within the selected data source if information about them is available.
An indicating the component or control to get values for.
A
listing the standard accessible data sources.
A
listing the data fields from the
data source selected for the component. This method uses the implementation on the component's designer
to retrieve the selected data source.
Gets a value indicating whether the collection of standard values returned from
is a list of all possible values.
An that can be used to gain additional context information.
if the
returned from is an all exclusive list of all
possible values; if other values are possible.
As implemented in this class, this method always returns
.
Gets a value indicating whether the converter supports a standard set of values
that can be picked from a list.
An that can be used to gain additional context information.
if can be
called to find a common set of values the object supports; otherwise,
.
Provides a type converter that can retrieve a
list of data members from the current component's selected data
source.
Initializes a new instance of the class.
Gets a value indicating
whether the converter can convert an object of the specified source type to the native type
of the converter.
An that can be used to gain additional context information.
A that represents the type you wish to convert from.
if the converter can perform the conversion; otherwise,
.
Converts the specified object to the native type of the converter.
An that can be used to gain additional context information.
A that can be used to support localization features.
The to convert.
An that represents the specified
object after conversion.
Gets the data members present within the selected data source, if information about them is available.
An indicating the component or control to get values for.
A
listing the data members of the data source selected for the component. The
converter uses the implementation of the
associated component's designer to
retrieve the current data source selection.
Gets a value indicating whether the collection of standard values returned from
is a list of all possible values.
An that provides a format context.
if the
returned from is an exclusive list of
possible values; if other values are
possible.
As implemented in this class, this method always returns
.
Gets a value indicating whether the converter supports a standard set of values
that can be picked from a list.
An that can be used to gain additional context information.
if should be
called to find a common set of values the object supports; otherwise,
. This implementation always returns
.
Provides a type
converter that can retrieve a list of data sources accessible to the current
component.
Initializes a new instance of the class.
Gets a value
indicating whether the converter can convert an object of the specified source type to the native type
of the converter.
An that can be used to gain additional context information.
A that represents the type you wish to convert from.
if the converter can perform the conversion; otherwise,
.
As implemented in this class, this method
always returns .
Converts the specified object to the native type of the converter.
An that can be used to gain additional context information.
The that can be used to support localization features.
The to convert.
An that represents
the specified object after conversion.
Gets the standard data sources accessible to the control.
An indicating the component or control to get values for.
A
listing the standard accessible data sources.
Gets a value indicating whether the collection of standard values returned from
is a list of all possible values.
An that can be used to gain additional context information.
if the
returned from is an exclusive list of all
possible values; if other values
are possible.
As implemented in this class, this method always returns
.
Gets a value indicating whether the converter supports a standard set of values
that can be picked from a list.
An that can be used to gain additional context information.
if should be
called to find a common set of values the object supports; otherwise,
. This implementation always
returns .
Provides helper methods that can be used by control designers to generate sample data for
data bound properties at design time.
Creates a datatable that contains sample data.
A new that contains 3 columns. These columns can contain data of type string.
Creates a sample datatable with the same schema as the specified data source.
A data source with the schema to use as the format for the sample datatable.
A that contains dummy data in the format of the specified
data source, or a default dummy data table if the specified data source
contained no data columns.
Gets the data fields of the specified data source.
The data source to retrieve the data fields of.
A that represents the data fields of
the specified data source.
Gets the data members of the specified data source.
The data source to retrieve the members of.
An array of type string that represents the data members of the specified data
source.
Gets the specified data member from the specified data source.
An that contains the data member to retrieve.
The data member to retrieve.
The specified data member from the specified data source, if it exists.
Adds sample rows to the specified data table and returns the updated table.
The that defines the shape of the data source. Sample rows are added to this table.
The minimum number of rows of sample data that the data source will contain.
A live data source for use at design time.
Gets the specified data source.
The that contains the data source.
The data source to retrieve.
The data source object, or
if the data source or component's site could not be
accessed.
Gets the specified data member of the specified data source.
The that contains the data sourced property.
The data source to retrieve.
The data member to retrieve.
The data member, or if the data source or component's site could not be
accessed.
Provides basic design-time functionality for ASP.NET server controls.
Initializes a new instance of the class.
Releases the unmanaged resources used by the and optionally releases the managed
resources.
to release both managed and unmanaged resources; to release only unmanaged resources.
Provides an opportunity to perform processing when a behavior is attached to the designer.
Provides an opportunity to perform processing when a behavior
is detached from the designer.
Provides an opportunity to perform when the associated control is parented.
Modifies the set of events that the designer exposes through a object.
An that contains the names of the events of the component to expose.
Modifies the set of properties that the
designer exposes through a
object.
The set of properties to filter for the component.
Provides a method that can be used to indicate
when a data binding has been changed.
The name of the property that has been changed.
Gets or sets the DHTML behavior associated with the designer instance.
Gets or sets the data bindings for the current control.
Gets or sets a value indicating whether a field declaration for the control should be
created in the code-behind file for the current design document during serialization.
Provides a base designer for all intrinsic HTML controls.
Defines an interface that a control designer can implement to provide access to a data source.
Gets a reference to the selected data source of this data source provider.
The currently selected data source object of this data source provider.
Gets the selected data member from the selected data source.
The selected data member from the selected data source,
if the control allows the user to select an (such as a ) for the data source, and provides
a DataMember property to select a particular list (or )
within the data source.
Defines an interface that enables the extension of specific behaviors of an HTML control designer.
Gets the specified attribute.
The attribute to retrieve.
if the attribute syntax is case-insensitive; otherwise, .
The attribute that was retrieved.
Removes the specified attribute.
The attribute to remove.
if the attribute syntax is case-insensitive; otherwise, .
Sets the specified attribute to the specified object.
The attribute to set.
The object on which to set the attribute.
if the attribute syntax is case-insensitive; otherwise, .
Gets the specified style attribute.
The style attribute to retrieve.
if the attribute is only active at design time; otherwise,.
if the attribute syntax is case-insensitive; otherwise, .
The style attribute that was retrieved.
Removes the specified style attribute.
The style attribute to remove.
if the attribute is only active at design time; otherwise,.
if the attribute syntax is case-insensitive; otherwise, .
Sets the specified style attribute to the specified object.
The attribute to set.
if the attribute is only active at design-time; otherwise,.
The object to set the attribute on.
if the attribute syntax is case-insensitive; otherwise, .
Gets or sets the designer that the behavior is associated with.
Gets the element that the designer is associated with.
Provides a user interface for selecting a
URL to an image.
Provides a user interface for selecting a URL.
Edits the value of the specified object using the editor style
provided by the
method.
An that can be used to gain additional context information.
A service provider object through which editing services may be obtained.
An instance of the value being edited.
The new value of the object. If the value of the object hasn't changed,
this method should return the same object it was passed.
Gets the editing style of the method.
An that can be used to gain additional context information.
One of the values
indicating the provided editing style. If the method is not supported, this will
return .
Gets the caption to display on the selection dialog box.
Indicates the options for the URL builder to use.
Gets the file name filter string for the editor. This is used to
determine the items that appear in the file list of the dialog box.
Gets the caption to display on the selection dialog window.
Gets the file type filter string for the editor.
This is used to determine the items that appear in the file list of the dialog box.
Provides an interface to manage a template editing area.
Closes the control and optionally saves any changes.
if changes to the document should be saved; otherwise, .
Opens and displays the control.
Resizes the control to the specified width and height.
The new width for the control.
The new height for the control.
Saves any changes to the document.
Changes the name of the control to the specified name.
The new name for the control.
Gets the style for the editing frame.
Gets the name of the editing frame.
Gets or sets the initial height of the control.
Gets or sets the initial width of the control.
Gets a set of names of templates to use.
Gets the template styles for the control.
Gets or sets the verb that invokes the template.
Provides services for editing control templates at design time.
Creates a new template editing frame for the specified
templated control designer, using the specified name and templates.
The that will use the template editing frame.
The name of the editing frame that will be displayed on the frame. Typically this is the same as the property used as the menu text for the that is invoked to create the frame.
An array of names for the templates that the template editing frame will contain.
The new .
Creates a new template editing frame for the specified
, using the specified name, template names, control
style, and template styles.
The that will use the template editing frame.
The name of the editing frame that will be displayed on the frame. Typically this is the same as the property used as the menu text for the that is invoked to create the frame.
An array of names for the templates that the template editing frame will contain.
The control for the editing frame.
An array of type that represents the template styles for the editing frame.
The new .
Gets the name of the parent template.
The for which to get the name of the parent template.
The name of the parent template.
Indicates whether the service supports nested template editing.
Enables the extension of specific behaviors of a control designer.
Provides an opportunity to perform processing when the
designer enters or exits template mode.
Gets the design-time view control object for the designer.
Gets or sets the design-time HTML for the designer's control.
Provides an interface that can lookup information about
the types used in the current Web
Forms project.
Gets the type of the specified object.
The tag prefix for the type.
The name of the type.
The
of the object, if it could be resolved.
Gets the tag prefix for the specified type of object.
The type of the object.
The tag prefix for the specified object type, if it could be located.
Gets the register directives for the current project.
The register directives for the current project.
Provides methods to start specific user interfaces for
building properties at design-time.
Starts a to build a color property.
The control used to parent the dialog shown by the .
The initial color for the editor to pre-select.
The color that was selected. This value will be a
named color, or an RGB color expressed in HTML color format (#RRGGBB).
Launches an editor to build a URL property.
The control used to parent the dialog shown by the .
The initial URL to display in the selection interface.
The base URL used to construct relative URLs.
A caption that presents a message in the selection interface.
The filter string to use to optionally filter the files displayed in the selection interface.
A that indicates the options for the .
A string that contains the URL returned by the
.
Provides methods to access services for tracking the loading state of a Web Forms
document, handling events at load time, accessing a document's location,
managing a document's undo service, and setting a new selection within the document.
Creates a discardable undo unit.
The new discardable undo unit.
Discards the specified undo unit.
The undo unit to discard.
Enables the ability to undo actions that occur within
undoable action units or transactions.
if actions should be undoable; otherwise, .
When implemented in a derived class, updates the current selection.
Gets the URL at which the document is located.
Gets a value indicating whether the document service is currently loading.
Occurs when the service has finished loading.
Extends design-time behavior for read/write server controls.
Provides a base class for Web server control designers.
Creates a simple HTML section for the control that can be
used to display information related to the control at design time when there
is not enough information to display a meaningful representation of the
control.
A string containing design-time HTML that provides basic information about the control.
Creates a simple HTML section for the control, using the specified
additional information, that can be used to display information related to the control at design time
when there is not enough information to display a meaningful representation of the
control.
A string containing information to add to the HTML section.
A string containing design-time HTML that provides information about
the control.
Gets the HTML that is used to represent the control at design time.
The HTML that is used to represent the control at design time.
Gets the HTML that is used to represent an empty control at design time.
The HTML that is used to represent an empty control at
design time. By default, this HTML contains the name of the component.
Gets the HTML that provides information about the specified exception. This method is typically called after an error
has been encountered at design time.
The exception that occurred.
The HTML for the specified exception.
Gets the persistable inner HTML of the control.
The persistable inner HTML of the control.
Initializes the designer and
loads the specified component.
The control element being designed.
Gets a value indicating whether the specified property is data-bound.
The property to check for data binding.
if the property is data bound; otherwise,
.
Called when the designer is attached to the behavior.
Called
when the data bindings collection changes.
The property to test for changes in its bindings collection.
Called when the component changes.
The source of the event.
A that contains the event data.
Called when the design-time control has been resized.
Raises the event.
Refreshes the display of the control.
Gets a value
indicating whether the control can be resized.
Gets a value indicating whether the designer must
have completed loading before the design-time HTML can be used.
Gets or sets the ID string for the control.
Gets or sets a value indicating whether the Web server control has been marked as changed.
Gets or sets a value indicating whether the properties of the control are read-only at design-time.
Initializes an instance of the class.
Represents the method that will handle the
event
of the .
The object sending the event.
The that provides data for the event.
Maps a property, including description and value, to an intrinsic HTML style.
The name of the property to map.
The value of the property.
This method
must be overridden in
a derived class to implement the designer.
Provides notification that is raised when a behavior is attached to
the designer.
Extends design-time behavior for template-based server controls.
Initializes a new instance of the
class.
Creates a template editing frame for the specified verb.
The template editing verb to create a template editing frame for.
The new template editing frame.
Opens a particular template frame object for editing in the designer.
The template editing frame object to open in the designer.
Closes the currently active template editing frame after saving any relevant changes.
when switching from one template editing frame to another; otherwise .
if this designer is nested (one or more levels) within another control whose designer is also in template editing mode; otherwise .
if templates shold be saved on exit; otherwise, .
Gets the cached template editing verbs.
An array of objects, if any.
Gets the HTML to be persisted for the content present within the associated server control runtime.
The persistable inner HTML.
Gets the data item property of the template's container.
The name of the template.
A string representing the data.
Gets the data source of the template's container.
The name of the template.
The data source of the container of the specified template.
Gets the template's content.
The template editing frame to retrieve the content of.
The name of the template.
if the template's content can be edited; if the content is read-only.
The content of the template.
Gets the template editing verbs available to the designer.
The template editing verbs available to the designer.
Creates a template from the specified text.
The text to retrieve a template from.
An from the specified text.
Gets the type of the parent of the template property.
The name of the template to return the type of the parent for.
The type of the object that has the template property.
Gets a string of text that represents the specified template.
The to convert to text.
A string that represents the specified template.
Provides an opportunity to perform additional processing when a behavior is attached to the designer.
Delegate to handle the component changed event.
The object sending the event.
A that provides data for the event.
Provides an opportunity to perform additional processing when the parent of this designer is changed.
Provides an opportunity to perform
additional processing when the template mode is changed.
Allows a designer to filter the set of member attributes
the component it is designing will expose through a
object.
The member attributes for component.
The augmented set of attributes. If the method does not modify any attributes,
it may just return a reference to its input parameter. If you do make a change
to the attributes, you must create a new array.
Saves the active template editing frame.
Sets the specified template's content to the specified content.
The template editing frame to provide content for.
The name of the template.
The content to set for the template.
Updates the design-time HTML.
Gets the active template editing frame.
Indicates whether or not this designer will allow the viewing or editing of templates. This property is read-only.
Indicates whether the properties of the control
will be hidden when the control is placed into template editing mode.
Indicates whether or not the designer document is in template mode.
Represents a designer verb that creates a template
editing frame, and can only be invoked by a template editor.
Initializes a new instance of the class.
The text to show for the verb on a menu.
An optional integer value that can be used by a designer; typically to indicate the index of the verb within a set of verbs.
The that can use this verb.
Releases all resources used by the .
Releases the unmanaged resources used by the and optionally releases the managed
resources.
to release both managed and unmanaged resources; to release only unmanaged resources.
Gets the index, or other user data, for the verb.
Extends design-time behavior for the ASP.NET
and server controls.
Initializes the designer with the specified component.
The for this designer to design.
Gets the HTML that is used to represent the
associated control at design time.
The HTML used to represent the control at design time.
Gets the HTML to persist for the inner tags of the control.
The HTML for the tags of the control.
Provides a data-binding handler for a data bound control at design-time.
Data binds the specified control.
The for the document that contains the control.
The to data bind.
Starts a URL editor that allows a user to select a URL.
Starts a URL picker to build a URL.
The whose site is to be used to access design-time services.
The used to parent the picker window.
The initial URL to be shown in the picker window.
The caption of the picker window.
The filter string to use to optionally filter the files displayed in the picker window.
The URL returned from the URL picker.
Starts the URL picker to build a URL, using the
specified .
The whose site is to be used to access design-time services.
The used to parent the picker window.
The initial URL to be shown in the picker window.
The caption of the picker window.
The filter string to use to optionally filter the files displayed in the picker window.
A indicating the options for URL selection.
The URL returned from the URL picker.
Defines identifiers for settings of a .
Use no additional options for the .
Build a URL that references a path relative to the current path,
rather than one that references a fully qualified, absolute path.
Provides methods for persisting Web server controls at design-time.
Gets a string of data that can persist the inner properties of the specified control.
The component to persist the inner properties of.
An that is the designer host for the control.
A string that contains the information to persist about
the inner properties
of the control.
Outputs a string of data that can persist the inner
properties of the specified control to the specified
, using the specified designer host.
The to use.
The component to persist.
An that is the designer host for the control.
Gets a string of data that represents the persisted form
of the specified control.
The to persist.
A string that represents the persisted
form of the control.
Gets a string of data that represents the persisted form of the specified
control, using the specified designer host.
The to persist.
An that is the designer host for the control.
A string that represents the persisted form of the control.
Outputs a string of data that represents the persisted form of the specified control to the specified .
The to output the persisted control data to.
The to persist.
Outputs a string of data that represents the persisted form of the
specified control to the specified , using the specified designer
host.
The to output the persisted control data to.
The to persist.
An that is the designer host for the control.
Provides a base class for a Web server control .
Initializes a new instance of the class.
Initializes a new instance of the class.
The Type of the tool for this toolbox item
Gets the value of the specified type of attribute of the toolbox item.
The for the current design document.
The type of attribute to retrieve the value of.
The value of the specified type of attribute.
Gets the HTML for the Web control that the tool creates.
The for the current design document.
The HTML for the Web control that the tool creates.
Gets the type of this toolbox item.
The for the current design document.
The Type of this toolbox item.
Provides a user interface for selecting an XML file
using a standard box.
Provides a user interface for selecting a URL that indicates the location of an XML file.
Gets the caption to display on the selection dialog window.
Gets the file name filter string for the editor. This is used to determine the
items that appear in the file list of the dialog box.
Indicates the options for the URL builder to use.
Provides a user interface for selecting an URL that indicates the location of an XSL file.
Gets or sets the caption to display on the selection dialog window.
Gets the file name filter string for the editor. This is used to determine the
items that appear in the file list of the dialog box.
Indicates the options for the URL builder to use.
Indicates a custom, or other type of data binding.
Indicates a data binding consisting of a DataBinderEval statement with
understood references which consist of parseable arguments.
Indicates a data binding with a single reference identifier.
Creates a new ColorComboBox
Creates a new GroupLabel
Custom UI is painted here
Creates a new instance of mshtml and initializes it as a new document
using its IPersistStreamInit.
Closes the mshtml instance by deactivating and releasing it.
Activates the mshtml instance
Override of wndProc to listen to WM_CHAR and filter out invalid
key strokes. Valid keystrokes are:
0...9,
'.' (if fractions allowed),
'-' (if negative allowed),
BKSP.
A beep is generated for invalid keystrokes
Controls whether the edit control allows negative values
Controls whether the edit control allows negative values
Createa a new UnitControl.
Controls whether the unit value can be negative
Controls whether the unit value can be a unit-less
Controls whether the unit value can be a percent value
The default unit to be used
The unit reflecting the value and unit type within the UI.
Returns null if no unit is selected.
Extends design-time behavior for the
Web server control.
Gets the HTML that is used to represent the control
at design time.
The HTML that is used to represent the control at design time.
Provides a base component editor class for the Web
Forms and Web
server
controls.
Initializes a new instance of the
class.
The index of the initial page to display.
Edits the specified component using the
specified context descriptor and parent window.
An that can be used to gain additional context information.
The component to edit.
The that represents the parent window.
if editing the component succeeded; otherwise,
.
Gets the index of the initial component editor page.
The index of the initial page.
Provides a base designer class for the Web server control.
Initializes a new instance of the class.
Releases the unmanaged resources used by the and optionally releases the
managed resources.
to release both managed and unmanaged resources; to release only unmanaged resources.
Gets a set of sample data that matches the schema of the selected data source.
The minimum number of rows of sample data that the data source should contain.
if the returned data source contains dummy data; if the returned data source contains data from an actual data source.
A live data source for use at
design-time.
Gets a set of sample data that matches the schema of the selected data source.
The data source that will be used as a template for the format of the data.
The minimum number of rows of sample data that the data source data should contain.
if the returned data source contains dummy data; if the returned data source contains data from an actual data source.
A live data source for use at design-time.
Gets the data member that is currently selected within
the data source currently bound to the control.
The currently selected data member, or if the control was not bound to a data
source, or the data source, site of the designer's component, or the
container of the data source could not be accessed.
Gets the selected data source component from the component's container.
The
selected data source, or if a data source is not found, or if a data
source with the same name does not exist.
Gets the data source of the template's container.
The name of the template to retrieve the data source for.
An object that implements and contains the data source or data sources available to
the template's container.
Initializes the designer with the specified
or
control.
The or control to associate with the designer.
Invokes the property builder beginning with the specified page.
The page to begin with.
Represents the method that will handle the AutoFormat event.
The source of the event.
An that contains the event data.
Represents the method that will handle the component changed event.
The source of the event.
The that contains the event data.
Represents the method that will handle the property builder event.
The source of the event.
An object that contains the event data.
Provides a method that can be overridden to implement
functionality that should occur when a style of the control has been changed.
Provides a method that can be overridden to implement
functionality that should occur when the designer's template
editing verbs have changed.
Filters the properties exposed through a and replaces the runtime DataSource property descriptor with
a design-time data source.
An that contains the set of properties to filter.
Gets a value indicating whether loading must have completed to
display the design-time HTML.
Gets or sets the value of the control's data key field.
Gets or sets the value of the control's data member field.
Gets or sets the value of the control's data source property.
Gets or sets the collection of verbs available to this designer.
Extends design-time behavior for controls that derive from
.
Gets the HTML that is used to represent the control at design time.
The HTML that is used to represent the
control at design time.
Extends design-time behavior for the Web server control.
Gets the HTML that is used to represent the control at design time.
The HTML that is used to represent the control at design time.
Provides an AutoFormat page for a Web server
control.
Occurs when the dialog
is activated.
The source of the event.
An that provides information about the event.
Provides a data-binding handler for a calendar.
Sets the calendar's date to the current day if the property is data-bound.
The for the document that contains the control.
The to add data binding to.
Extends design-time behavior for the Web server
control.
Initializes the designer with the specified component.
The for this designer.
Handles the the
AutoFormat event to display a new .
The source of the event.
The object that contains the event data.
Gets the verbs available to this designer.
Extends design-time behavior for the Web server control.
Gets the HTML that is used to represent the control at design
time.
The HTML that is used to represent the control at design
time.
Provides a collection editing user interface for a
column collection of a Web server control.
Edits the specified value using the specified context
descriptor and service provider.
An that indicates the context of the object to edit the value of.
An .
The object to edit.
The new value.
Gets the edit style used by the method.
An that indicates the context of the object to edit the value of.
A that
represents the editor style that this editor uses.
Provides a component editor for a Web Forms Web
server
control.
Initializes a new instance of the
class.
Initializes a new instance of the
class.
The index of the initial page.
Gets the component editor pages shown for the control in its
associated .
An array consisting of the set of component editor pages.
Extends design-time behavior for the Web server
control.
Initializes a new instance of the class.
Creates a template editing frame using the specified verb.
The to create the template editing frame for.
A new .
Releases the unmanaged resources used by the and optionally releases the
managed resources.
to release both managed and unmanaged resources; to release only unmanaged resources.
Gets the cached template editing verbs.
An array containing the cached template editing verbs.
Gets the HTML that is used to represent the control
at design time.
The HTML that is used to represent the control at design time.
Gets the HTML used to represent an empty template-based control at design
time.
The HTML used to represent an empty template-based control at design time.
Gets the HTML displayed at design-time for the specified exception when an error has been encountered
while rendering the control.
The exception to display an error message for.
The HTML displayed at design-time for the specified exception.
Gets the data item property of the template's container.
The name of the template.
The data item property of the template's container.
Gets the template's content.
The to retrieve content for.
The name of the template.
if the template's content can be edited; if the content is read-only.
The template's content.
Gets the type of the parent with the template property.
The name of the template to return the type of the parent for.
The type of the object that has the template property.
Notification that is called when the columns changed event occurs.
Provides an opportunity to do processing or other actions when a change has
been made to the template editing verbs.
Initializes the designer with the specified
control.
The for the designer.
Sets the content for the specified template and frame.
The to set the content for.
The name of the template.
The content to set.
Provides a component editor for a Web Forms
control.
Initializes a new instance of .
Initializes a new instance of .
The index of the initial page to display.
Gets the component editor pages shown for the control in its
associated .
An array of type that contains the pages owned by the designer.
Extends design-time behavior for the Web server
control.
Initializes a new instance of the class.
Creates a template editing frame using the specified verb.
The that was invoked to create a template editing frame.
An .
Releases the unmanaged resources used by the and optionally releases the
managed resources.
to release both managed and unmanaged resources; to release only unmanaged resources.
Gets the cached template editing verbs available to the designer.
The cached template editing verbs available to the designer.
Gets the HTML that is used to represent the control
at design time.
The HTML that is used to represent the control at design time.
Gets the HTML used to represent an empty template-based control at design
time.
The HTML used to represent an empty template-based control at design time.
Gets the HTML to display at design-time for the specified exception when an error has been encountered
while rendering the control.
The Exception to display the error message for.
The HTML displayed at design-time for the specified exception.
Gets the template container's data item property.
The name of the template.
The data item property of the container of the template.
Gets the template's content.
The to get content from.
The name of the template.
if the template's content can be edited; if the content is read-only.
The template's content.
Initializes
the designer with the specified component.
The for the designer.
Provides an opportunity to do processing or other
actions when a change has been made to the template editing verbs.
Sets the content for the specified template and frame.
The to set content for.
The name of the template.
The content to set.
Gets a value indicating whether the data list can be resized.
Gets a value
that indicates whether templates associated with the designer currently exist.
Provides a data-binding handler for a hyperlink property.
Data binds the specified control.
The for the document that contains the control.
The to data bind.
Extends design-time behavior for the
Web server control.
Gets the HTML that is used to represent the control at
design
time.
The HTML that is used to represent the control at design
time.
Extends design-time behavior for the
Web server control.
Extends design-time behavior for the
Web server control.
Provides a data-binding handler for a .
Performs data binding on the specified control.
The for the document that contains the control.
The to data bind to.
Extends design-time behavior for Web server
controls.
Initializes a new instance of the class.
Gets the HTML that is used to represent the control at design time.
The HTML that is used to represent the control at design time.
Initializes the designer with the specified component.
The for the designer.
Gets the data member that is currently selected
within the data source currently bound to the control.
The currently selected data member, or
if the control was not bound to a data source, or the data
source, site of the designer's component, or the container of the data source could not be accessed.
Gets the selected data source component from the component's container.
The
selected data source, or if a data source is not found or if a data
source with the same name does not exist.
Raises the ComponentChanged event.
The source of the event.
A that contains the event data.
Raises the DataSourceChanged event.
Filters the properties exposed through a and replaces
the property descriptor for the DataSource property, which contains the value used at
runtime, with a property descriptor that contains a value indicating a
design-time data source.
An that contains the set of properties to expose for the control.
Gets or sets the data member for the control.
Gets or sets the data source property of the control.
Gets or sets the data value field of the control.
Gets or sets the data text field of the control.
Provides a user interface for editing the items collection of a list.
Initializes a new instance of the class.
The type of the collection to edit.
Indicates whether multiple items in the list can be selected at the
same time.
if multiple
items can be selected at the same time;
otherwise, .
Extends design-time behavior for Web user controls.
Initializes a new instance of the
class.
Extends design-time behavior for the
Web server control.
Maps a specified property and value to a specified HTML style.
The property name.
The property value.
Provides notification when a behavior is attached to the designer.
Represents the method that will handle the Help event of
the dialog.
The source of the event.
An EventArgs that provides data for the event.
Provides a user interface for editing regular expressions.
Edits
the value of the specified object using the specified service provider and
context.
An that can provide additional context information.
A service provider.
The object to edit the value of.
The new value of the object. If the value of the object hasn't changed,
this method returns the same object it was passed.
Gets the editor style used by the method.
An that may be used to gain additional context information.
A that indicates
the editor style.
Initializes a new instance of the class.
Performs the cleanup of the designer class.
Returns a sample data matching the schema of the selected datasource.
The minimumn rows of sample data the datasource should contain.
A live datasource for use at design-time.
Returns a sample data matching the schema of the selected datasource.
The selected datasource to be used as a reference for the shape of the data.
The minimumn rows of sample data the datasource should contain.
A live datasource for use at design-time.
Retrieves the HTML to be used for the design-time representation
of the control.
Design Time HTML.
Retrieves the selected datasource component from the component's container.
The selected datasource; null if a datasource is not found, or a datasource
with the same name does not exist.
Initializes the designer with the Repeater control that this instance
of the designer is associated with.
The associated Repeater control.
Handles changes made to the component. This includes changes made
in the Properties window.
Handles changes made to the data source
Filter the properties to replace the runtime DataSource property
descriptor with the designer's.
[To be supplied.]
Designer implementation of DataSource property that operates on
the DataSource property in the control's binding collection.
Provides a user interface for editing the collection of cells in a table row.
Initializes a new instance of the class.
The type of the collection to edit.
Creates an instance of the editor for use with the specified type.
The type to create an instance of.
An object of the specified type.
Extends design-time behavior for the
Web server control.
Gets the HTML that is used to represent the control at design
time.
The HTML that is used to represent the control at design
time.
Provides a user interface for editing rows of a table.
Initializes a new instance of the class.
The type of the collection to edit.
Indicates whether multiple instances may be selected.
if multiple items can be selected at once; otherwise,
. This implementation always returns
.
Creates an instance of the specified type.
The type to create an instance of.
An object of the specified type.
Initializes a new instance of the class.
Releases the unmanaged resources used by the and optionally releases the managed resources.
to release both managed and unmanaged resources; to release only unmanaged resources.
Gets the HTML that is used to represent the control
at design time.
The HTML that is used to represent the control at design time.
Gets the HTML that is used to fill an empty control.
The HTML used to fill an empty control.
Initializes the designer with the control that this instance
of the designer is associated with.
The associated control.
Sets the component that is to be edited in the page.
This contains information about a datasource and is used to populate
the datasource combo. This is used in the General page for a DataList
and the Data page for a DataGrid.
Creates a new instance of BordersPage.
Loads the component into the page.
Saves the component loaded into the page.
Sets the component that is to be edited in the page.
Creates a new instance of DataGridColumnsPage.
Loads the component into the page.
Saves the component loaded into the page.
Sets the component that is to be edited in the page.
Creates a new instance of DataGridGeneralPage.
Loads the component into the page.
Saves the component loaded into the page.
Sets the component that is to be edited in the page.
Creates a new instance of DataGridPagingPage.
Loads the component into the page.
Saves the component loaded into the page.
Sets the component that is to be edited in the page.
Creates a new instance of DataListGeneralPage.
Loads the component into the page.
Saves the component loaded into the page.
Sets the component that is to be edited in the page.
Creates a new instance of FormatPage.
Loads the component into the page.
Saves the component loaded into the page.
Sets the component that is to be edited in the page.