Training
Certifications
Books
Special Offers
Community




 
Microsoft® .NET Framework 1.1 Class Library Reference Volume 5: System.Web
Author Microsoft Corporation
Pages 2768
Disk N/A
Level All Levels
Published 03/26/2003
ISBN 9780735618169
Price $79.99
To see this book's discounted price, select a reseller below.
 

More Information

About the Book
Table of Contents
Sample Chapter
Related Series
Related Books
About the Author

Support: Book & CD

Rate this book
Barnes Noble Amazon Quantum Books

 


Chapter : System.Web.UI.Design.WebControls Namespace



System.Web.UI.Design.WebControls Namespace

The System.Web.UI.Design.WebControls namespace contains classes that can be used to extend design-time support for Web server controls.

AdRotatorDesigner Class

Extends design-time behavior for the AdRotator Web server control.

System.Object
   System.ComponentModel.Design.ComponentDesigner
      System.Web.UI.Design.HtmlControlDesigner
         System.Web.UI.Design.ControlDesigner
            System.Web.UI.Design.WebControls.AdRotatorDesigner

[Visual Basic]

Public Class AdRotatorDesigner
Inherits ControlDesigner

[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: 

  • Full trust for the immediate caller. This member cannot be used by partially trusted code.

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: 

  • Full trust for the immediate caller. This member cannot be used by partially trusted code.

BaseDataListComponentEditor Class

Provides a base component editor class for the Web Forms DataGrid and DataList Web server controls.

System.Object
   System.ComponentModel.ComponentEditor
      System.Windows.Forms.Design.WindowsFormsComponent-
      Editor
         System.Web.UI.Design.WebControls.BaseDataList-
         ComponentEditor
            System.Web.UI.Design.WebControls.DataGrid-
            ComponentEditor
            System.Web.UI.Design.WebControls.DataList-
            ComponentEditor

[Visual Basic]

MustInherit Public Class BaseDataListComponentEditor
Inherits WindowsFormsComponentEditor

[C#]

public abstract class BaseDataListComponentEditor :
WindowsFormsComponentEditor

[C++]

public __gc __abstract class BaseDataListComponentEditor : public
WindowsFormsComponentEditor

[JScript]

public abstract class BaseDataListComponentEditor extends
WindowsFormsComponentEditor

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( _
ByVal initialPage As Integer _
)

[C#]

public BaseDataListComponentEditor(
int initialPage
);

[C++]

public: BaseDataListComponentEditor(
int initialPage
);

[JScript]

public function BaseDataListComponentEditor(
initialPage : int
);

Parameters

initialPage

   The index of the initial page to display.

Requirements

Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

.NET Framework Security: 

  • Full trust for the immediate caller. This member cannot be used by partially trusted code.

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( _
ByVal context As ITypeDescriptorContext, _
ByVal obj As Object, _
ByVal parent As IWin32Window _
) As Boolean

[C#]

public override bool EditComponent(
ITypeDescriptorContext context,
object obj,
IWin32Window parent
);

[C++]

public: bool EditComponent(
ITypeDescriptorContext* context,
Object* obj,
IWin32Window* parent
);

[JScript]

public override function EditComponent(
context : ITypeDescriptorContext,
obj : Object,
parent : IWin32Window
) : Boolean;

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: 

  • Full trust for the immediate caller. This member cannot be used by partially trusted code.

BaseDataListComponentEditor.GetInitialComponentEditorPageIndex Method

Gets the index of the initial component editor page.

[Visual Basic]

Overrides Protected Function GetInitialComponentEditorPageIndex() _
As _
Integer

[C#]

protected override int GetInitialComponentEditorPageIndex();

[C++]

protected: int GetInitialComponentEditorPageIndex();

[JScript]

protected override function GetInitialComponentEditorPageIndex() :
int;

Return Value

The index of the initial page.

Requirements

Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

.NET Framework Security: 

  • Full trust for the immediate caller. This member cannot be used by partially trusted code.

BaseDataListDesigner Class

Provides a base designer class for the DataList Web server control.

System.Object
   System.ComponentModel.Design.ComponentDesigner
      System.Web.UI.Design.HtmlControlDesigner
         System.Web.UI.Design.ControlDesigner
            System.Web.UI.Design.TemplatedControlDesigner
               System.Web.UI.Design.WebControls.BaseDataList-
               Designer
                  System.Web.UI.Design.WebControls.DataGrid-
                  Designer
                  System.Web.UI.Design.WebControls.DataList-
                  Designer

[Visual Basic]

MustInherit Public Class BaseDataListDesigner
Inherits TemplatedControlDesigner
Implements IDataSourceProvider

[C#]

public abstract class BaseDataListDesigner :
TemplatedControlDesigner, IDataSourceProvider

[C++]

public __gc __abstract class BaseDataListDesigner : public
TemplatedControlDesigner, IDataSourceProvider

[JScript]

public abstract class BaseDataListDesigner extends
TemplatedControlDesigner implements IDataSourceProvider

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: 

  • Full trust for the immediate caller. This member cannot be used by partially trusted code.

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();
public: __property void set_DataKeyField(String*);

[JScript]

public function get DataKeyField() : String;
public function set 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: 

  • Full trust for the immediate caller. This member cannot be used by partially trusted code.

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();
public: __property void set_DataMember(String*);

[JScript]

public function get DataMember() : String;
public function set 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: 

  • Full trust for the immediate caller. This member cannot be used by partially trusted code.

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();
public: __property void set_DataSource(String*);

[JScript]

public function get DataSource() : String;
public function set 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: 

  • Full trust for the immediate caller. This member cannot be used by partially trusted code.

BaseDataListDesigner.DesignTimeHtmlRequiresLoadComplete Property

Gets a value indicating whether loading must have completed to display the design-time HTML.

[Visual Basic]

Overrides Public ReadOnly Property _
DesignTimeHtmlRequiresLoadComplete As Boolean

[C#]

public override bool DesignTimeHtmlRequiresLoadComplete {get;}

[C++]

public: __property bool get_DesignTimeHtmlRequiresLoadComplete();

[JScript]

public override function get DesignTimeHtmlRequiresLoadComplete() :
Boolean;

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: 

  • Full trust for the immediate caller. This member cannot be used by partially trusted code.

BaseDataListDesigner.Verbs Property

Gets or sets the collection of verbs available to this designer.

[Visual Basic]

Overrides Public ReadOnly Property Verbs As DesignerVerbCollection  _
Implements IDesigner.Verbs

[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: 

  • Full trust for the immediate caller. This member cannot be used by partially trusted code.

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( _
ByVal disposing As Boolean _
)

[C#]

protected override void Dispose(
bool disposing
);

[C++]

protected: void Dispose(
bool disposing
);

[JScript]

protected override function Dispose(
disposing : Boolean
);

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: 

  • Full trust for the immediate caller. This member cannot be used by partially trusted code.

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( _
ByVal minimumRows As Integer, _
<Out()> ByRef dummyDataSource As Boolean _
) As IEnumerable

[C#]

protected IEnumerable GetDesignTimeDataSource(
int minimumRows,
out bool dummyDataSource
);

[C++]

protected: IEnumerable* GetDesignTimeDataSource(
int minimumRows,
[
Out
] bool* dummyDataSource
);

[JScript]

protected function GetDesignTimeDataSource(
minimumRows : int,
dummyDataSource : Boolean
) : IEnumerable;

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: 

  • Full trust for the immediate caller. This member cannot be used by partially trusted code.

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( _
ByVal selectedDataSource As IEnumerable, _
ByVal minimumRows As Integer, _
<Out()> ByRef dummyDataSource As Boolean _
) As IEnumerable

[C#]

protected IEnumerable GetDesignTimeDataSource(
IEnumerable selectedDataSource,
int minimumRows,
out bool dummyDataSource
);

[C++]

protected: IEnumerable* GetDesignTimeDataSource(
IEnumerable* selectedDataSource,
int minimumRows,
[
Out
] bool* dummyDataSource
);

[JScript]

protected function GetDesignTimeDataSource(
selectedDataSource : IEnumerable,
minimumRows : int,
dummyDataSource : Boolean
) : IEnumerable;

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: 

  • Full trust for the immediate caller. This member cannot be used by partially trusted code.

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 _
IEnumerable Implements _
IDataSourceProvider.GetResolvedSelectedDataSource

[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: 

  • Full trust for the immediate caller. This member cannot be used by partially trusted code.

BaseDataListDesigner.GetSelectedDataSource Method

Gets the selected data source component from the component's container.

[Visual Basic]

Public Overridable Function GetSelectedDataSource() As Object _
Implements IDataSourceProvider.GetSelectedDataSource

[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: 

  • Full trust for the immediate caller. This member cannot be used by partially trusted code.

BaseDataListDesigner.GetTemplateContainerDataSource Method

Gets the data source of the template's container.

[Visual Basic]

Overrides Public Function GetTemplateContainerDataSource( _
ByVal templateName As String _
) As IEnumerable

[C#]

public override IEnumerable GetTemplateContainerDataSource(
string templateName
);

[C++]

public: IEnumerable* GetTemplateContainerDataSource(
String* templateName
);

[JScript]

public override function GetTemplateContainerDataSource(
templateName : String
) : IEnumerable;

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: 

  • Full trust for the immediate caller. This member cannot be used by partially trusted code.

BaseDataListDesigner.Initialize Method

Initializes the designer with the specified DataGrid or DataList control.

[Visual Basic]

Overrides Public Sub Initialize( _
ByVal component As IComponent _
) Implements IDesigner.Initialize

[C#]

public override void Initialize(
IComponent component
);

[C++]

public: void Initialize(
IComponent* component
);

[JScript]

public override function Initialize(
component : IComponent
);

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: 

  • Full trust for the immediate caller. This member cannot be used by partially trusted code.

BaseDataListDesigner.InvokePropertyBuilder Method

Invokes the property builder beginning with the specified page.

[Visual Basic]

Protected Friend Sub InvokePropertyBuilder( _
ByVal initialPage As Integer _
)

[C#]

protected internal void InvokePropertyBuilder(
int initialPage
);

[C++]

protected public: void InvokePropertyBuilder(
int initialPage
);

[JScript]

protected internal function InvokePropertyBuilder(
initialPage : int
);

Parameters

initialPage

   The page to begin with.

Requirements

Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

.NET Framework Security: 

  • Full trust for the immediate caller. This member cannot be used by partially trusted code.

BaseDataListDesigner.OnAutoFormat Method

Represents the method that will handle the AutoFormat event.

[Visual Basic]

Protected Sub OnAutoFormat( _
ByVal sender As Object, _
ByVal e As EventArgs _
)

[C#]

protected void OnAutoFormat(
object sender,
EventArgs e
);

[C++]

protected: void OnAutoFormat(
Object* sender,
EventArgs* e
);

[JScript]

protected function OnAutoFormat(
sender : Object,
e : EventArgs
);

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: 

  • Full trust for the immediate caller. This member cannot be used by partially trusted code.

BaseDataListDesigner.OnComponentChanged Method

Represents the method that will handle the component changed event.

[Visual Basic]

Overrides Public Sub OnComponentChanged( _
ByVal sender As Object, _
ByVal e As ComponentChangedEventArgs _
)

[C#]

public override void OnComponentChanged(
object sender,
ComponentChangedEventArgs e
);

[C++]

public: void OnComponentChanged(
Object* sender,
ComponentChangedEventArgs* e
);

[JScript]

public override function OnComponentChanged(
sender : Object,
e : ComponentChangedEventArgs
);

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: 

  • Full trust for the immediate caller. This member cannot be used by partially trusted code.

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( _
ByVal sender As Object, _
ByVal e As EventArgs _
)

[C#]

protected void OnPropertyBuilder(
object sender,
EventArgs e
);

[C++]

protected: void OnPropertyBuilder(
Object* sender,
EventArgs* e
);

[JScript]

protected function OnPropertyBuilder(
sender : Object,
e : EventArgs
);

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: 

  • Full trust for the immediate caller. This member cannot be used by partially trusted code.

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: 

  • Full trust for the immediate caller. This member cannot be used by partially trusted code.

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: 

  • Full trust for the immediate caller. This member cannot be used by partially trusted code.

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( _
ByVal properties As IDictionary _
)

[C#]

protected override void PreFilterProperties(
IDictionary properties
);

[C++]

protected: void PreFilterProperties(
IDictionary* properties
);

[JScript]

protected override function PreFilterProperties(
properties : IDictionary
);

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: 

  • Full trust for the immediate caller. This member cannot be used by partially trusted code.

BaseValidatorDesigner Class

Extends design-time behavior for controls that derive from BaseValidator.

System.Object
   System.ComponentModel.Design.ComponentDesigner
      System.Web.UI.Design.HtmlControlDesigner
         System.Web.UI.Design.ControlDesigner
            System.Web.UI.Design.WebControls.BaseValidator-
            Designer

[Visual Basic]

Public Class BaseValidatorDesigner
Inherits ControlDesigner

[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: 

  • Full trust for the immediate caller. This member cannot be used by partially trusted code.

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: 

  • Full trust for the immediate caller. This member cannot be used by partially trusted code.

ButtonDesigner Class

Extends design-time behavior for the Button Web server control.

System.Object
   System.ComponentModel.Design.ComponentDesigner
      System.Web.UI.Design.HtmlControlDesigner
         System.Web.UI.Design.ControlDesigner
            System.Web.UI.Design.WebControls.ButtonDesigner

[Visual Basic]

Public Class ButtonDesigner
Inherits ControlDesigner

[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: 

  • Full trust for the immediate caller. This member cannot be used by partially trusted code.

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: 

  • Full trust for the immediate caller. This member cannot be used by partially trusted code.

CalendarAutoFormatDialog Class

Provides an AutoFormat page for a Calendar Web server control.

System.Object
   System.MarshalByRefObject
      System.ComponentModel.Component
         System.Windows.Forms.Control
            System.Windows.Forms.ScrollableControl
               System.Windows.Forms.ContainerControl
                  System.Windows.Forms.Form
                     System.Web.UI.Design.WebControls.Calendar-
                     AutoFormatDialog

[Visual Basic]

Public Class CalendarAutoFormatDialog
Inherits Form

[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( _
ByVal calendar As Calendar _
)

[C#]

public CalendarAutoFormatDialog(
Calendar calendar
);

[C++]

public: CalendarAutoFormatDialog(
Calendar* calendar
);

[JScript]

public function CalendarAutoFormatDialog(
calendar : Calendar
);

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( _
ByVal source As Object, _
ByVal e As EventArgs _
)

[C#]

protected void OnActivated(
object source,
EventArgs e
);

[C++]

protected: void OnActivated(
Object* source,
EventArgs* e
);

[JScript]

protected function OnActivated(
source : Object,
e : EventArgs
);

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: 

  • Full trust for the immediate caller. This member cannot be used by partially trusted code.

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( _
ByVal source As Object, _
ByVal e As EventArgs _
)

[C#]

protected void OnOKClicked(
object source,
EventArgs e
);

[C++]

protected: void OnOKClicked(
Object* source,
EventArgs* e
);

[JScript]

protected function OnOKClicked(
source : Object,
e : EventArgs
);

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( _
ByVal source As Object, _
ByVal e As EventArgs _
)

[C#]

protected void OnSelChangedScheme(
object source,
EventArgs e
);

[C++]

protected: void OnSelChangedScheme(
Object* source,
EventArgs* e
);

[JScript]

protected function OnSelChangedScheme(
source : Object,
e : EventArgs
);

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 Class

Extends design-time behavior for the Calendar Web server control.

System.Object
   System.ComponentModel.Design.ComponentDesigner
      System.Web.UI.Design.HtmlControlDesigner
         System.Web.UI.Design.ControlDesigner
            System.Web.UI.Design.WebControls.CalendarDesigner

[Visual Basic]

Public Class CalendarDesigner
Inherits ControlDesigner

[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: 

  • Full trust for the immediate caller. This member cannot be used by partially trusted code.

CalendarDesigner.Verbs Property

Gets the verbs available to this designer.

[Visual Basic]

Overrides Public ReadOnly Property Verbs As DesignerVerbCollection  _
Implements IDesigner.Verbs

[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: 

  • Full trust for the immediate caller. This member cannot be used by partially trusted code.

CalendarDesigner.Initialize Method

Initializes the designer with the specified component.

[Visual Basic]

Overrides Public Sub Initialize( _
ByVal component As IComponent _
) Implements IDesigner.Initialize

[C#]

public override void Initialize(
IComponent component
);

[C++]

public: void Initialize(
IComponent* component
);

[JScript]

public override function Initialize(
component : IComponent
);

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: 

  • Full trust for the immediate caller. This member cannot be used by partially trusted code.

CalendarDesigner.OnAutoFormat Method

Handles the the AutoFormat event to display a new CalendarAutoFormatDialog.

[Visual Basic]

Protected Sub OnAutoFormat( _
ByVal sender As Object, _
ByVal e As EventArgs _
)

[C#]

protected void OnAutoFormat(
object sender,
EventArgs e
);

[C++]

protected: void OnAutoFormat(
Object* sender,
EventArgs* e
);

[JScript]

protected function OnAutoFormat(
sender : Object,
e : EventArgs
);

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: 

  • Full trust for the immediate caller. This member cannot be used by partially trusted code.

CheckBoxDesigner Class

Extends design-time behavior for the CheckBox Web server control.

System.Object
   System.ComponentModel.Design.ComponentDesigner
      System.Web.UI.Design.HtmlControlDesigner
         System.Web.UI.Design.ControlDesigner
            System.Web.UI.Design.WebControls.CheckBoxDesigner

[Visual Basic]

Public Class CheckBoxDesigner
Inherits ControlDesigner

[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: 

  • Full trust for the immediate caller. This member cannot be used by partially trusted code.

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: 

  • Full trust for the immediate caller. This member cannot be used by partially trusted code.

DataGridColumnCollectionEditor Class

Provides a collection editing user interface for a column collection of a DataGrid Web server control.

System.Object
   System.Drawing.Design.UITypeEditor
      System.Web.UI.Design.WebControls.DataGridColumn-
      CollectionEditor

[Visual Basic]

Public Class DataGridColumnCollectionEditor
Inherits UITypeEditor

[C#]

public class DataGridColumnCollectionEditor : UITypeEditor

[C++]

public __gc class DataGridColumnCollectionEditor : public
UITypeEditor

[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: 

  • Full trust for the immediate caller. This member cannot be used by partially trusted code.

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( _
ByVal context As ITypeDescriptorContext, _
ByVal provider As IServiceProvider, _
ByVal value As Object _
) As Object

[C#]

public override object EditValue(
ITypeDescriptorContext context,
IServiceProvider provider,
object value
);

[C++]

public: Object* EditValue(
ITypeDescriptorContext* context,
IServiceProvider* provider,
Object* value
);

[JScript]

public override function EditValue(
context : ITypeDescriptorContext,
provider : IServiceProvider,
value : Object
) : Object;

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: 

  • Full trust for the immediate caller. This member cannot be used by partially trusted code.

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( _
ByVal context As ITypeDescriptorContext _
) As UITypeEditorEditStyle

[C#]

public override UITypeEditorEditStyle GetEditStyle(
ITypeDescriptorContext context
);

[C++]

public: UITypeEditorEditStyle GetEditStyle(
ITypeDescriptorContext* context
);

[JScript]

public override function GetEditStyle(
context : ITypeDescriptorContext
) : UITypeEditorEditStyle;

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: 

  • Full trust for the immediate caller. This member cannot be used by partially trusted code.


Next



Last Updated: March 12, 2003
Top of Page