private LongPressGesture _longPressGesture;
/// <summary>
- /// View - the attached view.
+ /// View the attached view.
/// </summary>
/// <since_tizen> 5 </since_tizen>
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
{
lock (this)
{
- // Restricted to only one listener
+ // Restricted to only one listener.
if (_longPressGestureEventHandler == null)
{
_longPressGestureEventHandler += value;
{
DetectedEventArgs e = new DetectedEventArgs();
- // Populate all members of "e" (LongPressGestureEventArgs) with real data
+ // Populate all members of "e" (LongPressGestureEventArgs) with real data.
e.View = Registry.GetManagedBaseHandleFromNativePtr(actor) as View;
e.LongPressGesture = Tizen.NUI.LongPressGesture.GetLongPressGestureFromPtr(longPressGesture);
if (_longPressGestureEventHandler != null)
{
- //here we send all data to user event handlers
+ //Here we send all data to user event handlers.
_longPressGestureEventHandler(this, e);
}
/// Creates an initialized LongPressGestureDetector with the number of touches required.<br />
/// A long press gesture will be emitted from this detector if the number of fingers touching the screen is equal to the touches required.<br />
/// </summary>
- /// <param name="touchesRequired">The number of touches required</param>
+ /// <param name="touchesRequired">The number of touches required.</param>
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public LongPressGestureDetector(uint touchesRequired) : this(NDalicPINVOKE.LongPressGestureDetector_New__SWIG_1(touchesRequired), true)
/// Creates an initialized LongPressGestureDetector with the minimum and maximum number of touches required.<br />
/// A long press gesture will be emitted from this detector if the number of fingers touching the screen falls between the minimum and maximum touches set.<br />
/// </summary>
- /// <param name="minTouches">The minimum number of touches required</param>
- /// <param name="maxTouches">The maximum number of touches required</param>
+ /// <param name="minTouches">The minimum number of touches required.</param>
+ /// <param name="maxTouches">The maximum number of touches required.</param>
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public LongPressGestureDetector(uint minTouches, uint maxTouches) : this(NDalicPINVOKE.LongPressGestureDetector_New__SWIG_2(minTouches, maxTouches), true)
/// <summary>
/// Sets the number of touches required.<br />
- /// The number of touches corresponds to the number of fingers a user has on the screen. The default is 1.<br />
+ /// The number of touches corresponds to the number of fingers a user has on the screen. The default value is 1.<br />
/// </summary>
/// <param name="touches">Touches required</param>
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
/// <summary>
/// Sets the minimum and maximum touches required.
/// </summary>
- /// <param name="minTouches">Minimum Touches required</param>
- /// <param name="maxTouches">Maximum Touches required</param>
+ /// <param name="minTouches">Minimum touches required.</param>
+ /// <param name="maxTouches">Maximum touches required.</param>
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public void SetTouchesRequired(uint minTouches, uint maxTouches)