PageCatalogPart.Height Property
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.
This inherited property is not used by the Web Parts control set when rendering a PageCatalogPart control. 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 Height { 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 Height { get; set; }
[<System.ComponentModel.Browsable(false)>]
[<System.Web.UI.Themeable(false)>]
member this.Height : System.Web.UI.WebControls.Unit with get, set
Public Overrides Property Height As Unit
Property Value
A Unit value that indicates the height of the control.
- Attributes
Remarks
The Height property, as a member of the PageCatalogPart control, is not used anywhere within the Web Parts control set for rendering the control. Therefore, you should not use this property; setting it has no effect on rendering.
To prevent developers from using this property, code attributes are set on it to hide it in Visual Studio. When you work with a PageCatalogPart control in Visual Studio, the Height property is not visible in the Properties pane or IntelliSense.
If you want to use this property, you need to create a custom class that inherits from the CatalogPart class. The custom class can either use the inherited Height property as it is, or override it and change its behavior.
This property cannot be set by themes or style sheet themes. For more information, see ThemeableAttribute and ASP.NET Themes and Skins.
Applies to
See also
Atsauksmes
https://aka.ms/ContentUserFeedback.
Drīzumā: 2024. gada laikā mēs pakāpeniski pārtrauksim izmantot “GitHub problēmas” kā atsauksmju par saturu mehānismu un aizstāsim to ar jaunu atsauksmju sistēmu. Papildinformāciju skatiet:Iesniegt un skatīt atsauksmes par