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