-/** Copyright (c) 2017 Samsung Electronics Co., Ltd.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*
-*/
+/*
+ * Copyright(c) 2017 Samsung Electronics Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
namespace Tizen.NUI.UIComponents
{
using Tizen.NUI.BaseComponents;
/// <summary>
- /// Slider is a control to enable sliding an indicator between two values.
+ /// The slider is a control to enable sliding an indicator between two values.
/// </summary>
public class Slider : View
{
}
/// <summary>
- /// Dispose
+ /// Dispose.
/// </summary>
protected override void Dispose(DisposeTypes type)
{
}
/// <summary>
- /// Value changed event arguments.
+ /// The ValueChanged event arguments.
/// </summary>
public class ValueChangedEventArgs : EventArgs
{
private float _slideValue;
/// <summary>
- /// Slider.
+ /// The slider.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Slider Slider
{
get
}
/// <summary>
- /// Slider value.
+ /// The slider value.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float SlideValue
{
get
}
/// <summary>
- /// Sliding finished event arguments.
+ /// The SlidingFinished event arguments.
/// </summary>
public class SlidingFinishedEventArgs : EventArgs
{
private float _slideValue;
/// <summary>
- /// Slider.
+ /// The slider.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Slider Slider
{
get
}
/// <summary>
- /// Slider value.
+ /// The slider value.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float SlideValue
{
get
}
/// <summary>
- /// Mark reached event arguments.
+ /// The MarkReached event arguments.
/// </summary>
public class MarkReachedEventArgs : EventArgs
{
private int _slideValue;
/// <summary>
- /// Slider.
+ /// The slider.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Slider Slider
{
get
}
/// <summary>
- /// Slider value.
+ /// The slider value.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public int SlideValue
{
get
private MarkReachedCallbackDelegate _sliderMarkReachedCallbackDelegate;
/// <summary>
- /// Event emitted when the slider value changes.
+ /// An event emitted when the slider value changes.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public event EventHandlerWithReturnType<object, ValueChangedEventArgs, bool> ValueChanged
{
add
}
/// <summary>
- /// Event emitted when the sliding is finished.
+ /// An event emitted when the sliding is finished.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public event EventHandlerWithReturnType<object, SlidingFinishedEventArgs, bool> SlidingFinished
{
add
}
/// <summary>
- /// Event emitted when the slider handle reaches a mark.
+ /// An event emitted when the slider handle reaches a mark.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public event EventHandlerWithReturnType<object, MarkReachedEventArgs, bool> MarkReached
{
add
}
/// <summary>
- /// Get Slider from the pointer.
+ /// Gets the slider from the pointer.
/// </summary>
- /// <param name="cPtr">The pointer of Slider</param>
- /// <returns>Object of Slider type</returns>
+ /// <param name="cPtr">The pointer of the slider.</param>
+ /// <returns>The object of the slider type.</returns>
internal static Slider GetSliderFromPtr(global::System.IntPtr cPtr)
{
Slider ret = new Slider(cPtr, false);
}
}
+ /// <since_tizen> 3 </since_tizen>
public void Dispose()
{
//Throw excpetion if Dispose() is called in separate thread.
}
/// <summary>
- /// Creates the Slider control.
+ /// Creates the slider control.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Slider() : this(NDalicPINVOKE.Slider_New(), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
/// <summary>
- /// Downcasts an Object handle to Slider.<br>
- /// If handle points to a Slider, the downcast produces valid handle.<br>
- /// If not, the returned handle is left uninitialized.<br>
+ /// Downcasts an object handle to the slider.<br />
+ /// If the handle points to a slider, then the downcast produces a valid handle.<br />
+ /// If not, then the returned handle is left uninitialized.<br />
/// </summary>
- /// <param name="handle">Handle to an object</param>
- /// <returns>Handle to a Slider or an uninitialized handle</returns>
+ /// <param name="handle">The handle to an object.</param>
+ /// <returns>The handle to a slider or an uninitialized handle.</returns>
+ /// <since_tizen> 3 </since_tizen>
public new static Slider DownCast(BaseHandle handle)
{
Slider ret = Registry.GetManagedBaseHandleFromNativePtr(handle) as Slider;
}
/// <summary>
- /// Lower bound property
+ /// The lower bound property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float LowerBound
{
get
}
/// <summary>
- /// Upper bound property
+ /// The upper bound property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float UpperBound
{
get
}
/// <summary>
- /// Value property
+ /// The value property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float Value
{
get
}
/// <summary>
- /// Track visual property
+ /// The track visual property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public PropertyMap TrackVisual
{
get
}
/// <summary>
- /// Handle visual property
+ /// The handle visual property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public PropertyMap HandleVisual
{
get
}
/// <summary>
- /// Progress visual property
+ /// The progress visual property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public PropertyMap ProgressVisual
{
get
}
/// <summary>
- /// Popup visual property
+ /// The popup visual property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public PropertyMap PopupVisual
{
get
}
/// <summary>
- /// Popup arrow visual property
+ /// The popup arrow visual property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public PropertyMap PopupArrowVisual
{
get
}
/// <summary>
- /// Disable color property
+ /// The disable color property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Vector4 DisabledColor
{
get
}
/// <summary>
- /// Value presicion property
+ /// The value precision property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public int ValuePrecision
{
get
}
/// <summary>
- /// Show popup property
+ /// The show popup property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public bool ShowPopup
{
get
}
/// <summary>
- /// Show value property
+ /// The show value property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public bool ShowValue
{
get
}
/// <summary>
- /// Marks property
+ /// The marks property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public Tizen.NUI.PropertyArray Marks
{
get
}
/// <summary>
- /// Snap to marks property
+ /// The snap to marks property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public bool SnapToMarks
{
get
}
/// <summary>
- /// Mark tolerance property
+ /// The mark tolerance property.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public float MarkTolerance
{
get
}
-}
+}
\ No newline at end of file