37 references to LinkBehavior
System.Windows.Forms (37)
winforms\Managed\System\WinForms\DataGridViewLinkCell.cs (10)
138
[DefaultValue(
LinkBehavior
.SystemDefault)]
139
public
LinkBehavior
LinkBehavior
147
return (
LinkBehavior
)linkBehavior;
149
return
LinkBehavior
.SystemDefault;
154
if (!ClientUtils.IsEnumValid(value, (int)value, (int)
LinkBehavior
.SystemDefault, (int)
LinkBehavior
.NeverUnderline))
156
throw new InvalidEnumArgumentException("value", (int)value, typeof(
LinkBehavior
));
176
internal
LinkBehavior
LinkBehaviorInternal
180
Debug.Assert(value >=
LinkBehavior
.SystemDefault && value <=
LinkBehavior
.NeverUnderline);
winforms\Managed\System\WinForms\DataGridViewLinkColumn.cs (2)
101
DefaultValue(
LinkBehavior
.SystemDefault),
105
public
LinkBehavior
LinkBehavior
winforms\Managed\System\WinForms\LinkLabel.cs (7)
77
LinkBehavior
linkBehavior = System.Windows.Forms.
LinkBehavior
.SystemDefault;
278
DefaultValue(
LinkBehavior
.SystemDefault),
282
public
LinkBehavior
LinkBehavior {
288
if (!ClientUtils.IsEnumValid(value, (int)value, (int)
LinkBehavior
.SystemDefault, (int)
LinkBehavior
.NeverUnderline)){
289
throw new InvalidEnumArgumentException("LinkBehavior", (int)value, typeof(
LinkBehavior
));
winforms\Managed\System\WinForms\LinkUtilities.cs (10)
125
public static
LinkBehavior
GetIELinkBehavior() {
147
return
LinkBehavior
.NeverUnderline;
150
return
LinkBehavior
.HoverUnderline;
153
return
LinkBehavior
.AlwaysUnderline;
161
return
LinkBehavior
.AlwaysUnderline;
164
public static void EnsureLinkFonts(Font baseFont,
LinkBehavior
link, ref Font linkFont, ref Font hoverLinkFont) {
172
if (link ==
LinkBehavior
.SystemDefault) {
177
case
LinkBehavior
.AlwaysUnderline:
181
case
LinkBehavior
.HoverUnderline:
185
case
LinkBehavior
.NeverUnderline:
winforms\Managed\System\WinForms\PropertyGridInternal\HotCommands.cs (1)
77
label.LinkBehavior =
LinkBehavior
.AlwaysUnderline;
winforms\Managed\System\WinForms\ToolStripLabel.cs (7)
27
private
LinkBehavior
linkBehavior =
LinkBehavior
.SystemDefault;
121
DefaultValue(
LinkBehavior
.SystemDefault),
125
public
LinkBehavior
LinkBehavior {
131
if (!ClientUtils.IsEnumValid(value, (int)value, (int)
LinkBehavior
.SystemDefault, (int)
LinkBehavior
.NeverUnderline))
133
throw new InvalidEnumArgumentException("LinkBehavior", (int)value, typeof(
LinkBehavior
));