4 writes to IsPersistent
System.Windows.Forms (3)
System\Windows\Forms\ToolTip\ToolTip.cs (3)
83
IsPersistent
= OsVersion.IsWindows11_OrGreater();
95
IsPersistent
= OsVersion.IsWindows11_OrGreater();
1184
IsPersistent
= false;
System.Windows.Forms.Tests (1)
KeyboardTooltipStateMachineTests.cs (1)
97
toolTip.
IsPersistent
= isPersistent;
12 references to IsPersistent
System.Windows.Forms (4)
System\Windows\Forms\ToolTip\KeyboardToolTipStateMachine.cs (3)
197
int autoPopDelay = toolTip.
IsPersistent
?
211
if (!toolTip.
IsPersistent
)
291
if (currentToolTip?.
IsPersistent
== true)
System\Windows\Forms\ToolTip\ToolTip.cs (1)
1516
if (!
IsPersistent
)
System.Windows.Forms.Tests (8)
System\Windows\Forms\ToolTipTests.cs (8)
301
Assert.Equal(persistentToolTipSupported, toolTip.
IsPersistent
);
306
Assert.Equal(persistentToolTipSupported, toolTip.
IsPersistent
);
309
Assert.Equal(persistentToolTipSupported, toolTip.
IsPersistent
);
312
Assert.Equal(persistentToolTipSupported, toolTip.
IsPersistent
);
315
Assert.Equal(persistentToolTipSupported, toolTip.
IsPersistent
);
326
Assert.Equal(persistentToolTipSupported, toolTip.
IsPersistent
);
329
Assert.False(toolTip.
IsPersistent
);
333
Assert.False(toolTip.
IsPersistent
);