|
Chapter : System.Web.UI.Design.WebControls Namespace
System.Web.UI.Design.WebControls NamespaceThe System.Web.UI.Design.WebControls namespace contains classes that can be used to extend design-time support for Web server controls.
AdRotatorDesigner ClassExtends design-time behavior for the AdRotator Web server control.
System.Object [Visual Basic]
Public Class AdRotatorDesigner [C#]
public class AdRotatorDesigner : ControlDesigner [C++]
public __gc class AdRotatorDesigner : public ControlDesigner [JScript]
public class AdRotatorDesigner extends ControlDesigner
Thread Safety Any public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe. Requirements Namespace: System.Web.UI.Design.WebControls Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family Assembly: System.Design (in System.Design.dll) AdRotatorDesigner Constructor Initializes a new instance of the AdRotatorDesigner class. [Visual Basic]
Public Sub New() [C#]
public AdRotatorDesigner(); [C++]
public: AdRotatorDesigner(); [JScript]
public function AdRotatorDesigner(); Remarks The default constructor initializes any fields to their default values. Requirements Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family .NET Framework Security:
AdRotatorDesigner.GetDesignTimeHtml Method Gets the HTML that is used to represent the control at design time. [Visual Basic]
Overrides Public Function GetDesignTimeHtml() As String [C#]
public override string GetDesignTimeHtml(); [C++]
public: String* GetDesignTimeHtml(); [JScript]
public override function GetDesignTimeHtml() : String; Return Value The HTML that is used to represent the control at design time. Requirements Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family .NET Framework Security:
BaseDataListComponentEditor ClassProvides a base component editor class for the Web Forms DataGrid and DataList Web server controls.
System.Object [Visual Basic]
MustInherit Public Class BaseDataListComponentEditor [C#]
public abstract class BaseDataListComponentEditor : [C++]
public __gc __abstract class BaseDataListComponentEditor : public [JScript]
public abstract class BaseDataListComponentEditor extends Thread Safety Any public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe. Requirements Namespace: System.Web.UI.Design.WebControls Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family Assembly: System.Design (in System.Design.dll) BaseDataListComponentEditor Constructor Initializes a new instance of the BaseDataListComponentEditor class. [Visual Basic]
Public Sub New( _ [C#]
public BaseDataListComponentEditor( [C++]
public: BaseDataListComponentEditor( [JScript]
public function BaseDataListComponentEditor( Parameters initialPage The index of the initial page to display. Requirements Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family .NET Framework Security:
BaseDataListComponentEditor.EditComponent Method Edits the specified component. Overload List Edits the specified component using the specified context descriptor and parent window. [Visual Basic] Overloads Overrides Public Function EditComponent(ITypeDescriptorContext, Object, IWin32Window) As Boolean [C#] public override bool EditComponent(ITypeDescriptorContext, object, IWin32Window); [C++] public: bool EditComponent(ITypeDescriptorContext*, Object*, IWin32Window*); [JScript] public override function EditComponent(ITypeDescriptorContext, Object, IWin32Window) : Boolean; Inherited from ComponentEditor. [Visual Basic] Overloads Public Function EditComponent(Object) As Boolean [C#] public bool EditComponent(object); [C++] public: bool EditComponent(Object*); [JScript] public function EditComponent(Object) : Boolean; Inherited from WindowsFormsComponentEditor. [Visual Basic] Overloads Public Overridable Function EditComponent(ITypeDescriptorContext, Object) As Boolean [C#] public virtual bool EditComponent(ITypeDescriptorContext, object); [C++] public: virtual bool EditComponent(ITypeDescriptorContext*, Object*); [JScript] public function EditComponent(ITypeDescriptorContext, Object) : Boolean; Inherited from WindowsFormsComponentEditor. [Visual Basic] Overloads Public Function EditComponent(Object, IWin32Window) As Boolean [C#] public bool EditComponent(object, IWin32Window); [C++] public: bool EditComponent(Object*, IWin32Window*); [JScript] public function EditComponent(Object, IWin32Window) : Boolean; BaseDataListComponentEditor.EditComponent Method (ITypeDescriptorContext, Object, IWin32Window) Edits the specified component using the specified context descriptor and parent window. [Visual Basic]
Overrides Overloads Public Function EditComponent( _ [C#]
public override bool EditComponent( [C++]
public: bool EditComponent( [JScript]
public override function EditComponent( Parameters context An ITypeDescriptorContext that can be used to gain additional context information. obj The component to edit. parent The IWin32Window that represents the parent window. Return Value true if editing the component succeeded; otherwise, false. Requirements Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family .NET Framework Security:
BaseDataListComponentEditor.GetInitialComponentEditorPageIndex Method Gets the index of the initial component editor page. [Visual Basic]
Overrides Protected Function GetInitialComponentEditorPageIndex() _ [C#]
protected override int GetInitialComponentEditorPageIndex(); [C++]
protected: int GetInitialComponentEditorPageIndex(); [JScript]
protected override function GetInitialComponentEditorPageIndex() :
Return Value The index of the initial page. Requirements Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family .NET Framework Security:
BaseDataListDesigner ClassProvides a base designer class for the DataList Web server control.
System.Object [Visual Basic]
MustInherit Public Class BaseDataListDesigner [C#]
public abstract class BaseDataListDesigner : [C++]
public __gc __abstract class BaseDataListDesigner : public [JScript]
public abstract class BaseDataListDesigner extends Thread Safety Any public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe. Requirements Namespace: System.Web.UI.Design.WebControls Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family Assembly: System.Design (in System.Design.dll) BaseDataListDesigner Constructor Initializes a new instance of the BaseDataListDesigner class. [Visual Basic]
Public Sub New() [C#]
public BaseDataListDesigner(); [C++]
public: BaseDataListDesigner(); [JScript]
public function BaseDataListDesigner(); Requirements Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family .NET Framework Security:
BaseDataListDesigner.DataKeyField Property Gets or sets the value of the control's data key field. [Visual Basic]
Public Property DataKeyField As String [C#]
public string DataKeyField {get; set;}[C++]
public: __property String* get_DataKeyField(); [JScript]
public function get DataKeyField() : String; Property Value The value of the DataKeyField of the list control. Remarks The DataKeyField property gets or sets the DataKeyField property of the DataList control that the designer is editing. Requirements Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family .NET Framework Security:
BaseDataListDesigner.DataMember Property Gets or sets the value of the control's data member field. [Visual Basic]
Public Property DataMember As String [C#]
public string DataMember {get; set;}[C++]
public: __property String* get_DataMember(); [JScript]
public function get DataMember() : String; Property Value The value of the DataMember of the list control. Remarks The DataMember property gets or sets the DataMember property of the DataList control that the designer is editing. Requirements Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family .NET Framework Security:
BaseDataListDesigner.DataSource Property Gets or sets the value of the control's data source property. [Visual Basic]
Public Property DataSource As String [C#]
public string DataSource {get; set;}[C++]
public: __property String* get_DataSource(); [JScript]
public function get DataSource() : String; Property Value The value of the DataSource of the list control. Remarks The DataSource property gets or sets the DataSource property of the DataList control that the designer is editing. Requirements Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family .NET Framework Security:
BaseDataListDesigner.DesignTimeHtmlRequiresLoadComplete Property Gets a value indicating whether loading must have completed to display the design-time HTML. [Visual Basic]
Overrides Public ReadOnly Property _ [C#]
public override bool DesignTimeHtmlRequiresLoadComplete {get;}[C++]
public: __property bool get_DesignTimeHtmlRequiresLoadComplete(); [JScript]
public override function get DesignTimeHtmlRequiresLoadComplete() : Property Value true if the design-time loading must have completed before the design-time HTML will be displayed; otherwise, false. Remarks If this property is set to true, the control will not be displayed until the entire load has completed. Requirements Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family .NET Framework Security:
BaseDataListDesigner.Verbs Property Gets or sets the collection of verbs available to this designer. [Visual Basic]
Overrides Public ReadOnly Property Verbs As DesignerVerbCollection _ [C#]
public override DesignerVerbCollection Verbs {get;}[C++]
public: __property DesignerVerbCollection* get_Verbs(); [JScript]
public override function get Verbs() : DesignerVerbCollection; Property Value A DesignerVerbCollection that contains the verbs available to the designer. Implements IDesigner.Verbs Requirements Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family .NET Framework Security:
BaseDataListDesigner.Dispose Method Releases the unmanaged resources used by the BaseDataListDesigner and optionally releases the managed resources. Overload List Releases the unmanaged resources used by the BaseDataListDesigner and optionally releases the managed resources. [Visual Basic] Overloads Overrides Protected Sub Dispose(Boolean) [C#] protected override void Dispose(bool); [C++] protected: void Dispose(bool); [JScript] protected override function Dispose(Boolean); Inherited from ComponentDesigner. [Visual Basic] Overloads Public Overridable Sub Dispose() Implements IDisposable.Dispose [C#] public virtual void Dispose(); [C++] public: virtual void Dispose(); [JScript] public function Dispose(); BaseDataListDesigner.Dispose Method (Boolean) Releases the unmanaged resources used by the BaseDataListDesigner and optionally releases the managed resources. [Visual Basic]
Overrides Overloads Protected Sub Dispose( _ [C#]
protected override void Dispose( [C++]
protected: void Dispose( [JScript]
protected override function Dispose( Parameters disposing true to release both managed and unmanaged resources; false to release only unmanaged resources. Remarks This method is called by the public Dispose() method and the Finalize method. Dispose() invokes the protected Dispose(Boolean) method with the disposing parameter set to true. Finalize invokes Dispose with disposing set to false. When the disposing parameter is true, this method releases all resources held by any managed objects that this BaseDataListDesigner references. This method invokes the Dispose() method of each referenced object. Notes to Inheritors: Dispose can be called multiple times by other objects. When overriding Dispose(Boolean), be careful not to reference objects that have been previously disposed of in an earlier call to Dispose. Requirements Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family .NET Framework Security:
BaseDataListDesigner.GetDesignTimeDataSource Method Gets a set of sample data that matches the schema of the selected data source. Overload List Gets a set of sample data that matches the schema of the selected data source. [Visual Basic] Overloads Protected Function GetDesignTimeDataSource(Integer, ByRef Boolean) As IEnumerable [C#] protected IEnumerable GetDesignTimeDataSource(int, bool); [C++] protected: IEnumerable* GetDesignTimeDataSource(int, bool); [JScript] protected function GetDesignTimeDataSource(int, Boolean) : IEnumerable; Gets a set of sample data that matches the schema of the selected data source. [Visual Basic] Overloads Protected Function GetDesignTimeDataSource(IEnumerable, Integer, ByRef Boolean) As IEnumerable [C#] protected IEnumerable GetDesignTimeDataSource(IEnumerable, int, bool); [C++] protected: IEnumerable* GetDesignTimeDataSource(IEnumerable*, int, bool); [JScript] protected function GetDesignTimeDataSource(IEnumerable, int, Boolean) : IEnumerable; BaseDataListDesigner.GetDesignTimeDataSource Method (Int32, Boolean) Gets a set of sample data that matches the schema of the selected data source. [Visual Basic]
Overloads Protected Function GetDesignTimeDataSource( _ [C#]
protected IEnumerable GetDesignTimeDataSource( [C++]
protected: IEnumerable* GetDesignTimeDataSource( [JScript]
protected function GetDesignTimeDataSource( Parameters minimumRows The minimum number of rows of sample data that the data source should contain. dummyDataSource true if the returned data source contains dummy data; false if the returned data source contains data from an actual data source. Return Value A live data source for use at design-time. Requirements Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family .NET Framework Security:
BaseDataListDesigner.GetDesignTimeDataSource Method (IEnumerable, Int32, Boolean) Gets a set of sample data that matches the schema of the selected data source. [Visual Basic]
Overloads Protected Function GetDesignTimeDataSource( _ [C#]
protected IEnumerable GetDesignTimeDataSource( [C++]
protected: IEnumerable* GetDesignTimeDataSource( [JScript]
protected function GetDesignTimeDataSource( Parameters selectedDataSource The data source that will be used as a template for the format of the data. minimumRows The minimum number of rows of sample data that the data source data should contain. dummyDataSource true if the returned data source contains dummy data; false if the returned data source contains data from an actual data source. Return Value A live data source for use at design-time. Requirements Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family .NET Framework Security:
BaseDataListDesigner.GetResolvedSelectedDataSource Method Gets the data member that is currently selected within the data source currently bound to the control. [Visual Basic]
Public Overridable Function GetResolvedSelectedDataSource() As _ [C#]
public virtual IEnumerable GetResolvedSelectedDataSource(); [C++]
public: virtual IEnumerable* GetResolvedSelectedDataSource(); [JScript]
public function GetResolvedSelectedDataSource() : IEnumerable;
Return Value The currently selected data member, or a null reference (Nothing in Visual Basic) 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. Implements IDataSourceProvider.GetResolvedSelectedDataSource Requirements Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family .NET Framework Security:
BaseDataListDesigner.GetSelectedDataSource Method Gets the selected data source component from the component's container. [Visual Basic]
Public Overridable Function GetSelectedDataSource() As Object _ [C#]
public virtual object GetSelectedDataSource(); [C++]
public: virtual Object* GetSelectedDataSource(); [JScript]
public function GetSelectedDataSource() : Object; Return Value The selected data source, or a null reference (Nothing in Visual Basic) if a data source is not found, or if a data source with the same name does not exist. Implements IDataSourceProvider.GetSelectedDataSource Requirements Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family .NET Framework Security:
BaseDataListDesigner.GetTemplateContainerDataSource Method Gets the data source of the template's container. [Visual Basic]
Overrides Public Function GetTemplateContainerDataSource( _ [C#]
public override IEnumerable GetTemplateContainerDataSource( [C++]
public: IEnumerable* GetTemplateContainerDataSource( [JScript]
public override function GetTemplateContainerDataSource( Parameters templateName The name of the template to retrieve the data source for. Return Value An object that implements IEnumerable and contains the data source or data sources available to the template's container. Requirements Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family .NET Framework Security:
BaseDataListDesigner.Initialize Method Initializes the designer with the specified DataGrid or DataList control. [Visual Basic]
Overrides Public Sub Initialize( _ [C#]
public override void Initialize( [C++]
public: void Initialize( [JScript]
public override function Initialize( Parameters component The DataGrid or DataList control to associate with the designer. Implements IDesigner.Initialize Requirements Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family .NET Framework Security:
BaseDataListDesigner.InvokePropertyBuilder Method Invokes the property builder beginning with the specified page. [Visual Basic]
Protected Friend Sub InvokePropertyBuilder( _ [C#]
protected internal void InvokePropertyBuilder( [C++]
protected public: void InvokePropertyBuilder( [JScript]
protected internal function InvokePropertyBuilder( Parameters initialPage The page to begin with. Requirements Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family .NET Framework Security:
BaseDataListDesigner.OnAutoFormat Method Represents the method that will handle the AutoFormat event. [Visual Basic]
Protected Sub OnAutoFormat( _ [C#]
protected void OnAutoFormat( [C++]
protected: void OnAutoFormat( [JScript]
protected function OnAutoFormat( Parameters sender The source of the event. e An EventArgs that contains the event data. Requirements Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family .NET Framework Security:
BaseDataListDesigner.OnComponentChanged Method Represents the method that will handle the component changed event. [Visual Basic]
Overrides Public Sub OnComponentChanged( _ [C#]
public override void OnComponentChanged( [C++]
public: void OnComponentChanged( [JScript]
public override function OnComponentChanged( Parameters sender The source of the event. e The ComponentChangedEventArgs that contains the event data. Requirements Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family .NET Framework Security:
BaseDataListDesigner.OnDataSourceChanged Method This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. [Visual Basic]
Protected Friend Overridable Sub OnDataSourceChanged() [C#]
protected internal virtual void OnDataSourceChanged(); [C++]
protected public: virtual void OnDataSourceChanged(); [JScript]
protected internal function OnDataSourceChanged(); BaseDataListDesigner.OnPropertyBuilder Method Represents the method that will handle the property builder event. [Visual Basic]
Protected Sub OnPropertyBuilder( _ [C#]
protected void OnPropertyBuilder( [C++]
protected: void OnPropertyBuilder( [JScript]
protected function OnPropertyBuilder( Parameters sender The source of the event. e An EventArgs object that contains the event data. Requirements Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family .NET Framework Security:
BaseDataListDesigner.OnStylesChanged Method Provides a method that can be overridden to implement functionality that should occur when a style of the control has been changed. [Visual Basic]
Protected Friend Sub OnStylesChanged() [C#]
protected internal void OnStylesChanged(); [C++]
protected public: void OnStylesChanged(); [JScript]
protected internal function OnStylesChanged(); Remarks This method can serve as notification that a style of the control has changed. Requirements Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family .NET Framework Security:
BaseDataListDesigner.OnTemplateEditingVerbsChanged Method Provides a method that can be overridden to implement functionality that should occur when the designer's template editing verbs have changed.
[Visual Basic]
Protected MustOverride Sub OnTemplateEditingVerbsChanged() [C#]
protected abstract void OnTemplateEditingVerbsChanged(); [C++]
protected: virtual void OnTemplateEditingVerbsChanged() = 0; [JScript]
protected abstract function OnTemplateEditingVerbsChanged(); Remarks Notes to Implementers: This method can be implemented to perform additional processing when the designer's template editing verbs have changed. Requirements Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family .NET Framework Security:
BaseDataListDesigner.PreFilterProperties Method Filters the properties exposed through a TypeDescriptor and replaces the runtime DataSource property descriptor with a design-time data source. [Visual Basic]
Overrides Protected Sub PreFilterProperties( _ [C#]
protected override void PreFilterProperties( [C++]
protected: void PreFilterProperties( [JScript]
protected override function PreFilterProperties( Parameters properties An IDictionary that contains the set of properties to filter. Requirements Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family .NET Framework Security:
BaseValidatorDesigner ClassExtends design-time behavior for controls that derive from BaseValidator.
System.Object [Visual Basic]
Public Class BaseValidatorDesigner [C#]
public class BaseValidatorDesigner : ControlDesigner [C++]
public __gc class BaseValidatorDesigner : public ControlDesigner [JScript]
public class BaseValidatorDesigner extends ControlDesigner Thread Safety Any public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe. Requirements Namespace: System.Web.UI.Design.WebControls Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family Assembly: System.Design (in System.Design.dll) BaseValidatorDesigner Constructor Initializes a new instance of the BaseValidatorDesigner class. [Visual Basic]
Public Sub New() [C#]
public BaseValidatorDesigner(); [C++]
public: BaseValidatorDesigner(); [JScript]
public function BaseValidatorDesigner(); Remarks The default constructor initializes any fields to their default values. Requirements Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family .NET Framework Security:
BaseValidatorDesigner.GetDesignTimeHtml Method Gets the HTML that is used to represent the control at design time. [Visual Basic]
Overrides Public Function GetDesignTimeHtml() As String [C#]
public override string GetDesignTimeHtml(); [C++]
public: String* GetDesignTimeHtml(); [JScript]
public override function GetDesignTimeHtml() : String;
Return Value The HTML that is used to represent the control at design time. Requirements Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family .NET Framework Security:
ButtonDesigner ClassExtends design-time behavior for the Button Web server control.
System.Object [Visual Basic]
Public Class ButtonDesigner [C#]
public class ButtonDesigner : ControlDesigner [C++]
public __gc class ButtonDesigner : public ControlDesigner [JScript]
public class ButtonDesigner extends ControlDesigner Thread Safety Any public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe. Remarks The GetDesignTimeHtml method of this class sets the Text property of the control to the ID property of the control, if the Text property is empty. Requirements Namespace: System.Web.UI.Design.WebControls Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family Assembly: System.Design (in System.Design.dll) ButtonDesigner Constructor Initializes a new instance of the ButtonDesigner class. [Visual Basic]
Public Sub New() [C#]
public ButtonDesigner(); [C++]
public: ButtonDesigner(); [JScript]
public function ButtonDesigner();
Remarks The default constructor initializes any fields to their default values. Requirements Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family .NET Framework Security:
ButtonDesigner.GetDesignTimeHtml Method Gets the HTML that is used to represent the control at design time. [Visual Basic]
Overrides Public Function GetDesignTimeHtml() As String [C#]
public override string GetDesignTimeHtml(); [C++]
public: String* GetDesignTimeHtml(); [JScript]
public override function GetDesignTimeHtml() : String;
Return Value The HTML that is used to represent the control at design time. Remarks This method sets the Text property of the control to the ID property of the control, if the Text property is empty. Requirements Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family .NET Framework Security:
CalendarAutoFormatDialog ClassProvides an AutoFormat page for a Calendar Web server control.
System.Object [Visual Basic]
Public Class CalendarAutoFormatDialog [C#]
public class CalendarAutoFormatDialog : Form [C++]
public __gc class CalendarAutoFormatDialog : public Form [JScript]
public class CalendarAutoFormatDialog extends Form
Thread Safety Any public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe. Requirements Namespace: System.Web.UI.Design.WebControls Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family Assembly: System.Design (in System.Design.dll) CalendarAutoFormatDialog Constructor This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. [Visual Basic]
Public Sub New( _ [C#]
public CalendarAutoFormatDialog( [C++]
public: CalendarAutoFormatDialog( [JScript]
public function CalendarAutoFormatDialog( CalendarAutoFormatDialog.DoDelayLoadActions Method This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. [Visual Basic]
Protected Sub DoDelayLoadActions() [C#]
protected void DoDelayLoadActions(); [C++]
protected: void DoDelayLoadActions(); [JScript]
protected function DoDelayLoadActions();
CalendarAutoFormatDialog.OnActivated Method Occurs when the CalendarAutoFormatDialog is activated. Overload List Occurs when the CalendarAutoFormatDialog is activated. [Visual Basic] Overloads Protected Sub OnActivated(Object, EventArgs) [C#] protected void OnActivated(object, EventArgs); [C++] protected: void OnActivated(Object*, EventArgs*); [JScript] protected function OnActivated(Object, EventArgs); Inherited from Form. [Visual Basic] Overloads Protected Overridable Sub OnActivated(EventArgs) [C#] protected virtual void OnActivated(EventArgs); [C++] protected: virtual void OnActivated(EventArgs*); [JScript] protected function OnActivated(EventArgs); CalendarAutoFormatDialog.OnActivated Method (Object, EventArgs) Occurs when the CalendarAutoFormatDialog is activated. [Visual Basic]
Overloads Protected Sub OnActivated( _ [C#]
protected void OnActivated( [C++]
protected: void OnActivated( [JScript]
protected function OnActivated( Parameters source The source of the event. e An EventArgs that provides information about the event. Remarks Notes to Inheritors: This method provides an opportunity to perform processing after a Calendar AutoFormat dialog box has been activated. Requirements Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family .NET Framework Security:
CalendarAutoFormatDialog.OnOKClicked Method This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. [Visual Basic]
Protected Sub OnOKClicked( _ [C#]
protected void OnOKClicked( [C++]
protected: void OnOKClicked( [JScript]
protected function OnOKClicked( CalendarAutoFormatDialog.OnSelChangedScheme Method This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. [Visual Basic]
Protected Sub OnSelChangedScheme( _ [C#]
protected void OnSelChangedScheme( [C++]
protected: void OnSelChangedScheme( [JScript]
protected function OnSelChangedScheme( CalendarAutoFormatDialog.SaveComponent Method This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. [Visual Basic]
Protected Sub SaveComponent() [C#]
protected void SaveComponent(); [C++]
protected: void SaveComponent(); [JScript]
protected function SaveComponent();
CalendarDesigner ClassExtends design-time behavior for the Calendar Web server control.
System.Object [Visual Basic]
Public Class CalendarDesigner [C#]
public class CalendarDesigner : ControlDesigner [C++]
public __gc class CalendarDesigner : public ControlDesigner [JScript]
public class CalendarDesigner extends ControlDesigner Thread Safety Any public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe. Requirements Namespace: System.Web.UI.Design.WebControls Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family Assembly: System.Design (in System.Design.dll) CalendarDesigner Constructor Initializes a new instance of the CalendarDesigner class. [Visual Basic]
Public Sub New() [C#]
public CalendarDesigner(); [C++]
public: CalendarDesigner(); [JScript]
public function CalendarDesigner(); Remarks The default constructor initializes any fields to their default values. Requirements Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family .NET Framework Security:
CalendarDesigner.Verbs Property Gets the verbs available to this designer. [Visual Basic]
Overrides Public ReadOnly Property Verbs As DesignerVerbCollection _ [C#]
public override DesignerVerbCollection Verbs {get;}[C++]
public: __property DesignerVerbCollection* get_Verbs(); [JScript]
public override function get Verbs() : DesignerVerbCollection; Property Value A DesignerVerbCollection that contains the verbs the designer offers, or a null reference (Nothing in Visual Basic) if there are no verbs. Implements IDesigner.Verbs Remarks CalendarDesigner overrides this property so it can offer an additional verb that launches its auto-format dialog. Requirements Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family .NET Framework Security:
CalendarDesigner.Initialize Method Initializes the designer with the specified component. [Visual Basic]
Overrides Public Sub Initialize( _ [C#]
public override void Initialize( [C++]
public: void Initialize( [JScript]
public override function Initialize( Parameters component The IComponent for this designer. Implements IDesigner.Initialize Remarks The designer host calls Initialize to establish the component for design. Requirements Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family .NET Framework Security:
CalendarDesigner.OnAutoFormat Method Handles the the AutoFormat event to display a new CalendarAutoFormatDialog. [Visual Basic]
Protected Sub OnAutoFormat( _ [C#]
protected void OnAutoFormat( [C++]
protected: void OnAutoFormat( [JScript]
protected function OnAutoFormat( Parameters sender The source of the event. e The EventArgs object that contains the event data. Remarks The auto-format dialog provides a user interface that allows selection from the available, predefined calendar appearances. Requirements Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family .NET Framework Security:
CheckBoxDesigner ClassExtends design-time behavior for the CheckBox Web server control.
System.Object [Visual Basic]
Public Class CheckBoxDesigner [C#]
public class CheckBoxDesigner : ControlDesigner [C++]
public __gc class CheckBoxDesigner : public ControlDesigner [JScript]
public class CheckBoxDesigner extends ControlDesigner Thread Safety Any public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe. Remarks CheckBoxDesigner overrides the GetDesignTimeHtml method of ControlDesigner to set any empty Text property on the control to ensure that the control is displayed with a meaningul representation at design-time. The GetDesignTimeHtml method of this class sets the Text property of the control to the ID property of the control, if the Text property is empty. Requirements Namespace: System.Web.UI.Design.WebControls Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family Assembly: System.Design (in System.Design.dll) CheckBoxDesigner Constructor Initializes a new instance of the CheckBoxDesigner class. [Visual Basic]
Public Sub New() [C#]
public CheckBoxDesigner(); [C++]
public: CheckBoxDesigner(); [JScript]
public function CheckBoxDesigner(); Remarks The default constructor initializes any fields to their default values. Requirements Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family .NET Framework Security:
CheckBoxDesigner.GetDesignTimeHtml Method Gets the HTML that is used to represent the control at design time. [Visual Basic]
Overrides Public Function GetDesignTimeHtml() As String [C#]
public override string GetDesignTimeHtml(); [C++]
public: String* GetDesignTimeHtml(); [JScript]
public override function GetDesignTimeHtml() : String; Return Value The HTML that is used to represent the control at design time. Remarks This method sets the Text property of the control to the ID property of the control, if the Text property is empty. Requirements Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family .NET Framework Security:
DataGridColumnCollectionEditor ClassProvides a collection editing user interface for a column collection of a DataGrid Web server control.
System.Object [Visual Basic]
Public Class DataGridColumnCollectionEditor [C#]
public class DataGridColumnCollectionEditor : UITypeEditor [C++]
public __gc class DataGridColumnCollectionEditor : public [JScript]
public class DataGridColumnCollectionEditor extends UITypeEditor Thread Safety Any public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe. Requirements Namespace: System.Web.UI.Design.WebControls Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family Assembly: System.Design (in System.Design.dll) DataGridColumnCollectionEditor Constructor Initializes a new instance of the DataGridColumnCollectionEditor class. [Visual Basic]
Public Sub New() [C#]
public DataGridColumnCollectionEditor(); [C++]
public: DataGridColumnCollectionEditor(); [JScript]
public function DataGridColumnCollectionEditor(); Remarks The default constructor initializes any fields to their default values. Requirements Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family .NET Framework Security:
DataGridColumnCollectionEditor.EditValue Method Edits the specified value. Overload List Edits the specified value using the specified context descriptor and service provider. [Visual Basic] Overloads Overrides Public Function EditValue(ITypeDescriptorContext, IServiceProvider, Object) As Object [C#] public override object EditValue(ITypeDescriptorContext, IServiceProvider, object); [C++] public: Object* EditValue(ITypeDescriptorContext*, IServiceProvider*, Object*); [JScript] public override function EditValue(ITypeDescriptorContext, IServiceProvider, Object) : Object; Inherited from UITypeEditor. [Visual Basic] Overloads Public Function EditValue(IServiceProvider, Object) As Object [C#] public object EditValue(IServiceProvider, object); [C++] public: Object* EditValue(IServiceProvider*, Object*); [JScript] public function EditValue(IServiceProvider, Object) : Object; DataGridColumnCollectionEditor.EditValue Method (ITypeDescriptorContext, IServiceProvider, Object) Edits the specified value using the specified context descriptor and service provider. [Visual Basic]
Overrides Overloads Public Function EditValue( _ [C#]
public override object EditValue( [C++]
public: Object* EditValue( [JScript]
public override function EditValue( Parameters context An ITypeDescriptorContext that indicates the context of the object to edit the value of. provider An IServiceProvider. value The object to edit. Return Value The new value. Requirements Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family .NET Framework Security:
DataGridColumnCollectionEditor.GetEditStyle Method Gets the edit style used by the EditValue method. Overload List Gets the edit style used by the EditValue method. [Visual Basic] Overloads Overrides Public Function GetEditStyle(ITypeDescriptorContext) As UITypeEditorEditStyle [C#] public override UITypeEditorEditStyle GetEditStyle(ITypeDescriptorContext); [C++] public: UITypeEditorEditStyle GetEditStyle(ITypeDescriptorContext*); [JScript] public override function GetEditStyle(ITypeDescriptorContext) : UITypeEditorEditStyle; Inherited from UITypeEditor. [Visual Basic] Overloads Public Function GetEditStyle() As UITypeEditorEditStyle [C#] public UITypeEditorEditStyle GetEditStyle(); [C++] public: UITypeEditorEditStyle GetEditStyle(); [JScript] public function GetEditStyle() : UITypeEditorEditStyle; DataGridColumnCollectionEditor.GetEditStyle Method (ITypeDescriptorContext) Gets the edit style used by the EditValue method. [Visual Basic]
Overrides Overloads Public Function GetEditStyle( _ [C#]
public override UITypeEditorEditStyle GetEditStyle( [C++]
public: UITypeEditorEditStyle GetEditStyle( [JScript]
public override function GetEditStyle( Parameters context An ITypeDescriptorContext that indicates the context of the object to edit the value of. Return Value A UITypeEditorEditStyle that represents the editor style that this editor uses. Requirements Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family .NET Framework Security:
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||