2 writes to VisualRegion
System.Windows.Forms (2)
System\Windows\Forms\Controls\Labels\LinkLabel.cs (2)
548Links[i].VisualRegion = textRegions[regionIndex]; 594Links[0].VisualRegion = visualRegion;
12 references to VisualRegion
System.Windows.Forms (12)
System\Windows\Forms\Controls\Labels\LinkLabel.cs (10)
681if (link.VisualRegion is not null && link.VisualRegion.IsVisible(x, y, g)) 699if (link is null || link.VisualRegion is null || IsLabelFilledByOneLink()) 705Invalidate(link.VisualRegion); 1034if (link.VisualRegion is not null) 1036g.ExcludeClip(link.VisualRegion); 1054else if (_links[0].VisualRegion?.GetRegionScans(e.GraphicsInternal.Transform) is { } regionRectangles 1251if (link.VisualRegion is null) 1279g.Clip = IsLabelFilledByOneLink() ? new Region(focusRectangle) : link.VisualRegion; 1320&& 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;