DeclarativeCatalogPart.Width Propriedade
Definição
Essa propriedade herdada não é usada pelo controle DeclarativeCatalogPart.This inherited property is not used by the DeclarativeCatalogPart 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::Web::UI::WebControls::Unit Width { System::Web::UI::WebControls::Unit get(); void set(System::Web::UI::WebControls::Unit value); };
[System.ComponentModel.Browsable(false)]
[System.Web.UI.Themeable(false)]
public override System.Web.UI.WebControls.Unit Width { get; set; }
[<System.ComponentModel.Browsable(false)>]
[<System.Web.UI.Themeable(false)>]
member this.Width : System.Web.UI.WebControls.Unit with get, set
Public Overrides Property Width As Unit
Valor da propriedade
Um Unit que indica a largura do controle.A Unit that indicates the width of the control.
- Atributos
Comentários
A Width propriedade, como um membro do DeclarativeCatalogPart controle, não é usada em nenhum lugar dentro do conjunto de controle de Web Parts para renderizar o controle.The Width property, as a member of the DeclarativeCatalogPart 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 DeclarativeCatalogPart controle no Visual Studio, a Width propriedade não é visível no painel Propriedades ou no IntelliSense.When you work with a DeclarativeCatalogPart control in Visual Studio, the Width 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 Width como ela está, ou substituí-la e alterar seu comportamento.The custom class can either use the inherited Width 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.