NGWS SDK Documentation  

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

DataGridDesigner Members

Public:

Constructor

DataGridDesigner Constructor Initializes a new instance of DataGridDesigner.

Properties

AllowResize (inherited from WebControlDesigner) Gets or sets whether the control is resizable.
Behavior (inherited from HtmlControlDesigner) Points to the DHTML Behavior that is associated to this designer instance.
Component (inherited from ComponentDesigner) Gets or sets the component this designer is designing.
DataSource (inherited from BaseDataListDesigner) Designer implementation of a DataSource property that operates on the DataSource property in the control's binding collection.
HTMLElement (inherited from HtmlControlDesigner) Accessor for the HTML element associated to the attached behavior.
IsDirty (inherited from UserControlDesigner) Whether or not the boolean dirty state of the web control is currently set.
ReadOnly (inherited from UserControlDesigner) Whether or not the control's associated design surface is set to read-only or not.
TemplateMode (inherited from TemplatedControlDesigner) Whether or not the designer document is in template mode.
TemplateVerbHandler (inherited from TemplatedControlDesigner) Verb execution handler for opening the template frames and entering template mode.
Verbs (inherited from BaseDataListDesigner) The designer's collection of verbs.
ViewLinkRootElement (inherited from UserControlDesigner) Returns the HTML element associated to the read-only display section in the view-linked tree.

Methods

Dispose Disposes of the resources (other than memory) used by the DataGridDesigner.
DoDefaultAction (inherited from ComponentDesigner) 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.
DrawGlyph (inherited from HtmlControlDesigner) Draws a glyph at the bottom right edge of the HTML element representing the control.
EnterTemplateMode (inherited from TemplatedControlDesigner) Opens a particular template frame object for editing in the designer.
Equals (inherited from Object) Determines whether the specified Object is the same instance as the current Object. Subclasses are expected to override this method to support value equality (not reference equality).
Exec (inherited from TemplatedControlDesigner) Executes a command verb.
ExitTemplateMode (inherited from TemplatedControlDesigner) Closes the currently active template editing frame after saving any relevant changes.
GetContainingTemplateName (inherited from HtmlControlDesigner) Gets the name of the containing template.
GetDesignTimeHTML Gets the HTML to be used for the design time representation of the control.
GetEmptyDesignTimeHTML [To be supplied.]
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetPersistInnerHTML (inherited from TemplatedControlDesigner) Gets the HTML to be persisted for the content present within the associated server control runtime.
GetSourceEventSink (inherited from HtmlControlDesigner) Gets the object that will be notified of changes in the HTMED source view.
GetTemplateContainerDataItemProperty Gets the template's container's data item property.
GetTemplateContainerDataSource (inherited from BaseDataListDesigner) Gets the template's container's data source.
GetTemplateContent Gets the template's content.
GetTemplateFrameContent Gets the content form the specified template frame.
GetTemplateFrames (inherited from BaseDataListDesigner) Gets the template's frames.
GetTemplateVerbs (inherited from TemplatedControlDesigner) Gets the verbs currently available to the template.
GetType (inherited from Object) Gets the Type of the Object.
HasID (inherited from HtmlControlDesigner) Gets if the associated runtime control has a valid ID property.
Initialize Initializes the designer with the DataGrid control that this instance of the designer is associated with.
IsPropertyBound (inherited from UserControlDesigner) Gets whether a particular property (identified by its name) is data bound.
OnBindingsCollectionChanged (inherited from UserControlDesigner) Delegate to handle bindings collection changed event.
OnColumnsChanged Notification that is called when the columns changed event occurs.
OnComponentChanged (inherited from BaseDataListDesigner) Represents the method that will handle the component change event.
OnSetComponentDefaults (inherited from ComponentDesigner) 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.
OnStylesChanged (inherited from BaseDataListDesigner) Notification that is called when styles have been changed.
OnTemplatesChanged (inherited from BaseDataListDesigner) Notification that is called when templates are changed.
PersistEventAttributes (inherited from HtmlControlDesigner) Persists event 'bindings' as attributes on the HTMLElement.
PostFilterAttributes (inherited from ComponentDesigner) Allows a designer to filter the set of member attributes the component it is designing will expose through the TypeDescriptor object. This method is called immediately after its corresponding "Pre" method. If you are overriding this method you should call the the base implementation after you perform your own filtering.
PostFilterEvents (inherited from ComponentDesigner) Allows a designer to filter the set of events the component it is designing will expose through the TypeDescriptor object. This method is called immediately after its corresponding "Pre" method. If you are overriding this method you should call the the base implementation after you perform your own filtering.
PostFilterProperties (inherited from ComponentDesigner) 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 after its corresponding "Pre" method. If you are overriding this method you should call the the base implementation after you perform your own filtering.
PreFilterAttributes (inherited from ComponentDesigner) Allows a designer to filter the set of member attributes 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.
PreFilterEvents (inherited from ComponentDesigner) Allows a designer to filter the set of events 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.
PreFilterProperties (inherited from BaseDataListDesigner) Filter the properties to replace the runtime DataSource property descriptor with the designer's.
QueryStatus (inherited from TemplatedControlDesigner) Checks the status of the designer.
SetTemplateContent Sets the content for the specified template and frame.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected:

Properties

BaseDesigner (inherited from HtmlControlDesigner) Returns the base Web Forms designer associated to the ASPX document.
InheritanceAttribute (inherited from ComponentDesigner) Gets or sets the inheritance attribute for this component.
Inherited (inherited from ComponentDesigner) Gets whether or not this component is being inherited.

Methods

CreateTemplateFrames Creates the template's frames.
EnableUndo (inherited from HtmlControlDesigner) [To be supplied.]
Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by the Garbage Collector (GC). This method may be ignored by the runtime; therefore, necessary cleanup operations should be done elsewhere.
GetDefaultValue (inherited from ComponentDesigner) Retrieves the default value for the given property. If there is no default value attribute, this will assume that comp already contains the default value and request the value directly from it.
GetDesignTimeDataSource (inherited from BaseDataListDesigner) Overloaded. [To be supplied.]
GetSelectedDataSource (inherited from BaseDataListDesigner) Gets the selected data source component from the component's container.
GetServiceObject (inherited from ComponentDesigner) Provides a way for a designer to get services from the hosting environment. The default implementation of this requests the service from the compoent's site.
HandleTemplateVerb (inherited from TemplatedControlDesigner) Delegate to handle template verb invocation.
InvokeGetInheritanceAttribute (inherited from ComponentDesigner) [To be supplied.]
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
OnAutoFormat (inherited from BaseDataListDesigner) Represents the method that will handle the AutoFormat event.
OnBehaviorAttached (inherited from TemplatedControlDesigner) Notification that is called when the behavior is attached to the designer.
OnBehaviorDetached (inherited from HtmlControlDesigner) Notification that is called when the designer is detached from the behavior.
OnInitializeShadowProperties (inherited from ComponentDesigner) Called when the designer is intialized. This allows the designer to initialize the values of any shadow properties it has.
OnInternalChange (inherited from BaseDataListDesigner) Notification that is called when internal changes have been made.
OnPropertyBuilder (inherited from BaseDataListDesigner) Represents the method that will handle the property builder event.
PersistAttribute (inherited from UserControlDesigner) Persists individual attributes into HTML.
PersistProperties (inherited from UserControlDesigner) Enumerates and persists all properties of a control including sub properties.
RaiseComponentChanged (inherited from ComponentDesigner) Notifies the IComponentChangeService that this component has been changed. You only need to call this when you are affecting component properties directly and not through the MemberDescriptor's accessors.
RaiseComponentChanging (inherited from ComponentDesigner) Notifies the IComponentChangeService that this component is about to be changed. You only need to call this when you are affecting component properties directly and not through the MemberDescriptor's accessors.
RemoveSizeAttributes (inherited from WebControlDesigner) Maps the width, height, left and top style attributes to the respective properties on the web control.
SaveActiveTemplateFrame (inherited from TemplatedControlDesigner) Saves the active template frame.
SetPropertyWithUndo (inherited from ComponentDesigner) Overloaded. [To be supplied.]
UpdateDesignTimeHTML (inherited from TemplatedControlDesigner) Updates the design-time HTML.

Fields

templateFrames (inherited from BaseDataListDesigner) The template frames.
templateFramesDirty (inherited from BaseDataListDesigner) Whether or not the template frames have been altered.

See Also

DataGridDesigner Class | System.Web.UI.Design.WebControls Namespace