pascalabcnet/Utils/NodesGeneratorNew/Scintilla/Sources/ScintillaNET/HotspotClickEventArgs.cs
Бондарев Иван e6e67c193c initial commit
2015-05-14 21:35:07 +02:00

56 lines
1.4 KiB
C#

#region Using Directives
using System;
using System.Collections.Generic;
using System.Text;
#endregion Using Directives
namespace ScintillaNET
{
/// <summary>
/// Provides data for the <see cref="Scintilla.HotspotClick" />, <see cref="Scintilla.HotspotDoubleClick" />, and
/// <see cref="Scintilla.HotspotReleaseClick" /> events.
/// </summary>
public class HotspotClickEventArgs : EventArgs
{
#region Fields
private int _position;
#endregion Fields
#region Properties
/// <summary>
/// Gets the byte offset in the document of the character that was clicked.
/// </summary>
/// <returns>An <see cref="Int32" /> representing the byte offset in the document of the character that was clicked.</returns>
public int Position
{
get
{
return _position;
}
}
#endregion Properties
#region Constructors
/// <summary>
/// Initializes a new instance of the <see cref="HotspotClickEventArgs" /> class.
/// </summary>
/// <param name="position">The byte offset in the document of the character that was clicked.</param>
public HotspotClickEventArgs(int position)
{
_position = position;
}
#endregion Constructors
}
}