Represents a Microsoft Office 2007-style screen tip element that displays rich tooltip content with caption, main text, and optional footer sections.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class RadOffice2007ScreenTipElement : RadScreenTipElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IBindableComponent, IComponent, IDisposable, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IScreenTipContent
Inheritance: objectDisposableObjectRadObjectRadElementVisualElementRadComponentElementRadItemRadScreenTipElementRadOffice2007ScreenTipElement...
Implements:
Inherited Members
Constructors
public RadOffice2007ScreenTipElement()
Fields
Defines the dependency property for controlling caption visibility in the screen tip.
public static RadProperty CaptionVisibleProperty
Defines the dependency property for controlling footer visibility in the screen tip.
public static RadProperty FooterVisibleProperty
Properties
Gets the element that displays the caption
public RadLabelElement CaptionLabel { get; }
Gets or sets a value indicating whether the caption section of the screen tip is visible.
public bool CaptionVisible { get; set; }
When set to false, the caption label will be collapsed and not displayed in the screen tip. This property affects the layout and automatically adjusts the visual appearance of the tip.
Gets the element that displays the footer line
public RadLineItem FooterLine { get; }
Gets the element that displays the Footer
public RadLabelElement FooterTextLabel { get; }
Gets or sets a value indicating whether the footer section of the screen tip is visible.
public bool FooterVisible { get; set; }
When set to true, both the footer separator line and footer text will be displayed at the bottom of the screen tip. This property affects the layout and automatically shows or hides the footer elements.
Gets the element that displays the Text
public RadLabelElement MainTextLabel { get; }
Gets the BorderPrimitive instance that represents the screen tip border.
[Browsable(false)]
public BorderPrimitive ScreenTipBorder { get; }
Gets the FillPrimitive instance that represents the screen tip fill.
[Browsable(false)]
public FillPrimitive ScreenTipFill { get; }
Methods
Creates and initializes the child elements that compose the Office 2007 screen tip layout.
protected override void CreateChildElements()
Overrides:
This method sets up the complete visual structure including background fill, border, and content panels. The layout consists of a vertical stack panel containing caption, main text, footer line, and footer text elements. Each element is assigned appropriate CSS classes for theming and styling purposes.
Handles property change notifications and updates the visual state of child elements accordingly.
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
The event arguments containing information about the changed property.
Overrides:
This method responds to changes in CaptionVisible and FooterVisible properties by updating the visibility state of the corresponding UI elements. When caption visibility changes, the caption label is shown or hidden. When footer visibility changes, both the footer line separator and footer text elements are affected.