1 write to owner
System.Windows.Forms (1)
winforms\Managed\System\WinForms\LinkLabel.cs (1)
1975this.owner = owner;
58 references to owner
System.Windows.Forms (58)
winforms\Managed\System\WinForms\LinkLabel.cs (58)
1984return(Link)owner.links[index]; 1987owner.links[index] = value; 1989owner.links.Sort(LinkLabel.linkComparer); 1991owner.InvalidateTextLayout(); 1992owner.Invalidate(); 2043return owner.links.Count; 2114if (owner.links.Count == 1 2118owner.links.Clear(); 2119owner.FocusLink = null; 2122Link l = new Link(owner); 2142if (owner.links.Count == 1 2146owner.links.Clear(); 2147owner.FocusLink = null; 2151value.Owner = this.owner; 2153owner.links.Add(value); 2155if (this.owner.AutoSize) { 2156LayoutTransaction.DoLayout(this.owner.ParentInternal, this.owner, PropertyNames.Links); 2157this.owner.AdjustSize(); 2158this.owner.Invalidate(); 2161if (owner.Links.Count > 1) { 2162owner.links.Sort(LinkLabel.linkComparer); 2165owner.ValidateNoOverlappingLinks(); 2166owner.UpdateSelectability(); 2167owner.InvalidateTextLayout(); 2168owner.Invalidate(); 2170if (owner.Links.Count > 1) { 2205return owner.links.Contains(link); 2232return owner.links.IndexOf(link); 2292bool doLayout = this.owner.links.Count > 0 && this.owner.AutoSize; 2293owner.links.Clear(); 2296LayoutTransaction.DoLayout(this.owner.ParentInternal, this.owner, PropertyNames.Links); 2297this.owner.AdjustSize(); 2298this.owner.Invalidate(); 2301owner.UpdateSelectability(); 2302owner.InvalidateTextLayout(); 2303owner.Invalidate(); 2309owner.links.CopyTo(dest, index); 2317if (owner.links != null) { 2318return owner.links.GetEnumerator(); 2331if (value.Owner != this.owner) { 2335owner.links.Remove(value); 2337if (this.owner.AutoSize) { 2338LayoutTransaction.DoLayout(this.owner.ParentInternal, this.owner, PropertyNames.Links); 2339this.owner.AdjustSize(); 2340this.owner.Invalidate(); 2343owner.links.Sort(LinkLabel.linkComparer); 2345owner.ValidateNoOverlappingLinks(); 2346owner.UpdateSelectability(); 2347owner.InvalidateTextLayout(); 2348owner.Invalidate(); 2350if (owner.FocusLink == null && owner.links.Count > 0) { 2351owner.FocusLink = (Link)owner.links[0];