CPF/CPF.Mac/Mac/AppKit/NSTextViewClickedEventArgs.cs
2023-11-21 23:05:03 +08:00

34 lines
466 B
C#

using CPF.Mac.CoreGraphics;
using System;
namespace CPF.Mac.AppKit
{
public class NSTextViewClickedEventArgs : EventArgs
{
public NSTextAttachmentCell Cell
{
get;
set;
}
public CGRect CellFrame
{
get;
set;
}
public ulong CharIndex
{
get;
set;
}
public NSTextViewClickedEventArgs(NSTextAttachmentCell cell, CGRect cellFrame, ulong charIndex)
{
Cell = cell;
CellFrame = cellFrame;
CharIndex = charIndex;
}
}
}