2 instantiations of CharacterRange
System.Windows.Forms (2)
winforms\Managed\System\WinForms\LinkLabel.cs (2)
766
ranges.Add(new
CharacterRange
(charStart, ConvertToCharIndex(link.Start + length, text) - charStart));
772
regions[regions.Length - 1] = new
CharacterRange
(0, text.Length);
17 references to CharacterRange
System.Drawing (12)
commonui\System\Drawing\Advanced\Gdiplus.cs (1)
3047
internal 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
'/>.
72
if (obj.GetType() != typeof(
CharacterRange
))
75
CharacterRange
cr = (
CharacterRange
)obj;
80
public static bool operator ==(
CharacterRange
cr1,
CharacterRange
cr2)
86
public static bool operator !=(
CharacterRange
cr1,
CharacterRange
cr2)
256
public void SetMeasurableCharacterRanges(
CharacterRange
[] ranges) {
System.Windows.Forms (5)
winforms\Managed\System\WinForms\LinkLabel.cs (5)
741
CharacterRange
[] regions = AdjustCharacterRangesForSurrogateChars();
750
private
CharacterRange
[] AdjustCharacterRangesForSurrogateChars(){
754
return new
CharacterRange
[]{};
770
CharacterRange
[] regions = new
CharacterRange
[ranges.Count + 1];