PageCatalogPart.CssClass Propriedade
Definição
Esta propriedade herdada não é usada pelo conjunto de controles de Web Parts definido ao renderizar um controle PageCatalogPart.This inherited property is not used by the Web Parts control set when rendering a PageCatalogPart control. A propriedade é substituída somente com a finalidade de impedir que ela apareça nas ferramentas de designer Microsoft Visual Studio 2005.The property is overridden only for the purpose of preventing it from appearing in Microsoft Visual Studio 2005 designer tools.
public:
virtual property System::String ^ CssClass { System::String ^ get(); void set(System::String ^ value); };
[System.ComponentModel.Browsable(false)]
[System.Web.UI.Themeable(false)]
public override string CssClass { get; set; }
[<System.ComponentModel.Browsable(false)>]
[<System.Web.UI.Themeable(false)>]
member this.CssClass : string with get, set
Public Overrides Property CssClass As String
Valor da propriedade
Uma cadeia de caracteres que contém o nome de uma classe CSS (folha de estilos em cascata) usada para atribuir características de estilo a um controle.A string that contains the name of a cascading style sheet (CSS) class used to assign style characteristics to a control.
- Atributos
Comentários
A CssClass propriedade, como um membro do PageCatalogPart controle, não é usada em nenhum lugar dentro do conjunto de controle de Web Parts para renderizar o controle.The CssClass property, as a member of the PageCatalogPart control, is not used anywhere within the Web Parts control set for rendering the control. Portanto, você não deve usar essa propriedade; defini-lo não tem nenhum efeito na renderização.Therefore, you should not use this property; setting it has no effect on rendering.
Para impedir que os desenvolvedores usem essa propriedade, os atributos de código são definidos para ocultá-lo no Visual Studio.To prevent developers from using this property, code attributes are set on it to hide it in Visual Studio. Quando você trabalha com um PageCatalogPart controle no Visual Studio, a CssClass propriedade não é visível no painel Propriedades ou no IntelliSense.When you work with a PageCatalogPart control in Visual Studio, the CssClass property is not visible in the Properties pane or IntelliSense.
Se você quiser usar essa propriedade, você precisará criar uma classe personalizada que herda da CatalogPart classe.If you want to use this property, you need to create a custom class that inherits from the CatalogPart class. A classe personalizada pode usar a propriedade herdada CssClass como ela está, ou substituí-la e alterar seu comportamento.The custom class can either use the inherited CssClass property as it is, or override it and change its behavior.
Esta propriedade não pode ser definida por temas ou temas de folha de estilo.This property cannot be set by themes or style sheet themes. Para obter mais informações, consulte ThemeableAttribute e temas e capas do ASP.net.For more information, see ThemeableAttribute and ASP.NET Themes and Skins.