แก้ไข

แชร์ผ่าน


DeclarativeCatalogPart.ToolTip Property

Definition

This inherited property is not used by the DeclarativeCatalogPart 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::String ^ ToolTip { System::String ^ get(); void set(System::String ^ value); };
[System.ComponentModel.Browsable(false)]
[System.Web.UI.Themeable(false)]
public override string ToolTip { get; set; }
[<System.ComponentModel.Browsable(false)>]
[<System.Web.UI.Themeable(false)>]
member this.ToolTip : string with get, set
Public Overrides Property ToolTip As String

Property Value

A string that contains the content of a ToolTip.

Attributes

Remarks

The ToolTip property, as a member of the DeclarativeCatalogPart 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 DeclarativeCatalogPart control in Visual Studio, the ToolTip 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 ToolTip 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