2 instantiations of CharacterRange
System.Windows.Forms (2)
winforms\Managed\System\WinForms\LinkLabel.cs (2)
766ranges.Add(new CharacterRange(charStart, ConvertToCharIndex(link.Start + length, text) - charStart)); 772regions[regions.Length - 1] = new CharacterRange(0, text.Length);
17 references to CharacterRange
System.Drawing (12)
commonui\System\Drawing\Advanced\Gdiplus.cs (1)
3047internal static extern int GdipSetStringFormatMeasurableCharacterRanges(HandleRef format, int rangeCount, [In, Out] CharacterRange[] range);
commonui\System\Drawing\Advanced\StringFormat.cs (11)
32/// Initializes a new instance of the <see cref='System.Drawing.CharacterRange'/> class 44/// Gets the First character position of this <see cref='System.Drawing.CharacterRange'/>. 58/// Gets the Length of this <see cref='System.Drawing.CharacterRange'/>. 72if (obj.GetType() != typeof(CharacterRange)) 75CharacterRange cr = (CharacterRange)obj; 80public static bool operator ==(CharacterRange cr1, CharacterRange cr2) 86public static bool operator !=(CharacterRange cr1, CharacterRange cr2) 256public void SetMeasurableCharacterRanges(CharacterRange[] ranges) {
System.Windows.Forms (5)
winforms\Managed\System\WinForms\LinkLabel.cs (5)
741CharacterRange[] regions = AdjustCharacterRangesForSurrogateChars(); 750private CharacterRange[] AdjustCharacterRangesForSurrogateChars(){ 754return new CharacterRange[]{}; 770CharacterRange[] regions = new CharacterRange[ranges.Count + 1];