PanelContainerDesigner.AddDesignTimeCssAttributes Method

Adds string representations of style attributes to a collection to be used in the design-time rendering of the control.

Namespace: System.Web.UI.Design.WebControls
Assembly: System.Design (in system.design.dll)

protected:
virtual void AddDesignTimeCssAttributes (
	IDictionary^ styleAttributes
) override
protected void AddDesignTimeCssAttributes (
	IDictionary styleAttributes
)
protected override function AddDesignTimeCssAttributes (
	styleAttributes : IDictionary
)
Not applicable.

Parameters

styleAttributes

A collection of style attributes implementing the IDictionary.

The AddDesignTimeCssAttributes method calls the ContainerControlDesigner.AddDesignTimeCssAttributes base method, which adds string representations of style attributes to the styleAttributes collection. These attributes are based on the style properties of the associated Panel control.

The AddDesignTimeCssAttributes sets the direction of styleAttribute to a code indicating left-to-right or right-to-left, based on the value of the Direction property of the associated control.

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show: