ToolTip.IsOpen 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.
public:
property bool IsOpen { bool get(); void set(bool value); };
bool IsOpen();
void IsOpen(bool value);
public bool IsOpen { get; set; }
var boolean = toolTip.isOpen;
toolTip.isOpen = boolean;
Public Property IsOpen As Boolean
Property Value
bool
true if the ToolTip is visible; otherwise, false. The default is false.
Remarks
This property is not typically set in XAML.
A ToolTip must be assigned to another UI element that is its owner. In XAML, use the ToolTipService.Tooltip attached property to assign the ToolTip to an owner. In code, use the ToolTipService.SetToolTip method to assign the ToolTip to an owner. If you set the IsOpen property to true in your app code before the ToolTip is assigned to an owner, an exception is thrown.