PanelContainerDesigner.AddDesignTimeCssAttributes(IDictionary) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds string representations of style attributes to a collection to be used in the design-time rendering of the control.
protected:
override void AddDesignTimeCssAttributes(System::Collections::IDictionary ^ styleAttributes);
protected override void AddDesignTimeCssAttributes (System.Collections.IDictionary styleAttributes);
override this.AddDesignTimeCssAttributes : System.Collections.IDictionary -> unit
Protected Overrides Sub AddDesignTimeCssAttributes (styleAttributes As IDictionary)
Parameters
- styleAttributes
- IDictionary
A collection of style attributes implementing the IDictionary.
Remarks
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.