2 writes to VisualRegion
System.Windows.Forms (2)
System\Windows\Forms\Controls\Labels\LinkLabel.cs (2)
545
Links[i].
VisualRegion
= textRegions[regionIndex];
591
Links[0].
VisualRegion
= visualRegion;
12 references to VisualRegion
System.Windows.Forms (12)
System\Windows\Forms\Controls\Labels\LinkLabel.cs (10)
678
if (link.
VisualRegion
is not null && link.
VisualRegion
.IsVisible(x, y, g))
696
if (link is null || link.
VisualRegion
is null || IsLabelFilledByOneLink())
702
Invalidate(link.
VisualRegion
);
1033
if (link.
VisualRegion
is not null)
1035
g.ExcludeClip(link.
VisualRegion
);
1053
else if (_links[0].
VisualRegion
?.GetRegionScans(e.GraphicsInternal.Transform) is { } regionRectangles
1250
if (link.
VisualRegion
is null)
1278
g.Clip = IsLabelFilledByOneLink() ? new Region(focusRectangle) : link.
VisualRegion
;
1319
&& link.
VisualRegion
.GetRegionScans(g.Transform) is { } regionRectangles && regionRectangles.Length > 0)
System\Windows\Forms\Controls\Labels\LinkLabel.Link.LinkAccessibleObject.cs (2)
36
Region? region = _owningLink.
VisualRegion
;
43
region = _owningLink.
VisualRegion
;