ClassRadOffice2007ScreenTipElement
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
RadOffice2007ScreenTipElement()
Declaration
public RadOffice2007ScreenTipElement()
Fields
CaptionVisibleProperty
Defines the dependency property for controlling caption visibility in the screen tip.
Declaration
public static RadProperty CaptionVisibleProperty
Field Value
FooterVisibleProperty
Defines the dependency property for controlling footer visibility in the screen tip.
Declaration
public static RadProperty FooterVisibleProperty
Field Value
Properties
CaptionLabel
Gets the element that displays the caption
Declaration
public RadLabelElement CaptionLabel { get; }
Property Value
CaptionVisible
Gets or sets a value indicating whether the caption section of the screen tip is visible.
Declaration
public bool CaptionVisible { get; set; }
Property Value
Remarks
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.
FooterLine
Gets the element that displays the footer line
FooterTextLabel
Gets the element that displays the Footer
Declaration
public RadLabelElement FooterTextLabel { get; }
Property Value
FooterVisible
Gets or sets a value indicating whether the footer section of the screen tip is visible.
Declaration
public bool FooterVisible { get; set; }
Property Value
Remarks
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.
MainTextLabel
Gets the element that displays the Text
Declaration
public RadLabelElement MainTextLabel { get; }
Property Value
ScreenTipBorder
Gets the BorderPrimitive instance that represents the screen tip border.
Declaration
[Browsable(false)]
public BorderPrimitive ScreenTipBorder { get; }
Property Value
ScreenTipFill
Gets the FillPrimitive instance that represents the screen tip fill.
Declaration
[Browsable(false)]
public FillPrimitive ScreenTipFill { get; }
Property Value
Methods
CreateChildElements()
Creates and initializes the child elements that compose the Office 2007 screen tip layout.
Declaration
protected override void CreateChildElements()
Overrides
Remarks
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.
OnPropertyChanged(RadPropertyChangedEventArgs)
Handles property change notifications and updates the visual state of child elements accordingly.
Declaration
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
Parameters
e
The event arguments containing information about the changed property.
Overrides
Remarks
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.