PanelContainerDesigner.AddDesignTimeCssAttributes(IDictionary) Método
Definição
Adiciona as representações de cadeia de caracteres de atributos de estilo para uma coleção a ser usada no processamento de tempo de design do controle.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)
Parâmetros
- styleAttributes
- IDictionary
Uma coleção de atributos de estilo implementando IDictionary.A collection of style attributes implementing the IDictionary.
Comentários
O AddDesignTimeCssAttributes método chama o ContainerControlDesigner.AddDesignTimeCssAttributes método base, que adiciona representações de cadeia de caracteres de atributos de estilo à styleAttributes coleção.The AddDesignTimeCssAttributes method calls the ContainerControlDesigner.AddDesignTimeCssAttributes base method, which adds string representations of style attributes to the styleAttributes collection. Esses atributos se baseiam nas propriedades de estilo do Panel controle associado.These attributes are based on the style properties of the associated Panel control.
O AddDesignTimeCssAttributes define a direção de styleAttribute como um código que indica da esquerda para a direita ou da direita para a esquerda, com base no valor da Direction Propriedade do controle associado.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.