Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ParseChildrenAttribute::ChildControlType Property

 

Gets a value indicating the allowed type of a control.

Namespace:   System.Web.UI
Assembly:  System.Web (in System.Web.dll)

public:
property Type^ ChildControlType {
	Type^ get();
}

Property Value

Type: System::Type^

The control type. The default is System.Web.UI::Control.

If the allowed control type is null, meaning that it has not been specified, the default type, which is a System.Web.UI::Control control, is returned.

The following code example demonstrates how to query the ChildControlType property. For definitions of the CollectionPropertyControl and Employee classes that are used in this code example, see ParseChildrenAttribute.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show:
© 2017 Microsoft