Export (0) Print
Expand All

DeclarativeCatalogPart::Direction Property

This inherited property is not used by the DeclarativeCatalogPart control. The property is overridden only for the purpose of preventing it from appearing in Microsoft Visual Studio 2005 designer tools.

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

[ThemeableAttribute(false)]
[BrowsableAttribute(false)]
public:
virtual property ContentDirection Direction {
	ContentDirection get () override;
	void set (ContentDirection value) override;
}
<asp:DeclarativeCatalogPart Direction="ContentDirection" />

Property Value

Type: System.Web.UI.WebControls::ContentDirection
A ContentDirection that indicates the direction in which the content flows in a control.

The Direction property, as a member of the DeclarativeCatalogPart control, is not used anywhere within the Web Parts control set for rendering the control. Therefore, you should not use this property; setting it has no effect on rendering.

To prevent developers from using this property, code attributes are set on it to hide it in Visual Studio. When you work with a DeclarativeCatalogPart control in Visual Studio, the Direction property is not visible in the Properties pane or IntelliSense.

If you want to use this property, you need to create a custom class that inherits from the CatalogPart class. The custom class can either use the inherited Direction property as it is, or override it and change its behavior.

This property cannot be set by themes or style sheet themes. For more information, see ThemeableAttribute and ASP.NET Themes and Skins.

.NET Framework

Supported in: 4.5.2, 4.5.1, 4.5, 4, 3.5, 3.0, 2.0

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Show:
© 2014 Microsoft