<Deterministic>True</Deterministic>
<ProduceReferenceAssembly>True</ProduceReferenceAssembly>
<ProduceReferenceAssemblyInOutDir>True</ProduceReferenceAssemblyInOutDir>
+ <NoWarn>$(NoWarn);CS0618;CS0809</NoWarn>
</PropertyGroup>
<PropertyGroup>
break;
}
}
- catch (Exception err)
+ finally
{
Dispose();
- throw;
}
}
instance.curValue = value;
}
- instance.sliderValueChangedHandler?.Invoke(instance, new SliderValueChangedEventArgs {
+ instance.sliderValueChangedHandler?.Invoke(instance, new SliderValueChangedEventArgs
+ {
CurrentValue = instance.curValue
- });
+ });
if (Accessibility.Accessibility.IsEnabled && instance.IsHighlighted)
{
instance.EmitAccessibilityEvent(AccessibilityPropertyChangeEvent.Value);
}
else
{
- /// TODO : Currently we set the velocity of value as 1% hardly.
- /// Can we use AccessibilityGetMinimumIncrement?
+ // TODO : Currently we set the velocity of value as 1% hardly.
+ // Can we use AccessibilityGetMinimumIncrement?
valueDiff = (maxValue - minValue) * 0.01f;
}
if ((direction == DirectionType.Horizontal && key.KeyPressedName == "Left") ||
UpdateState(isFocused, true);
- sliderSlidingStartedHandler?.Invoke(this, new SliderSlidingStartedEventArgs {
+ sliderSlidingStartedHandler?.Invoke(this, new SliderSlidingStartedEventArgs
+ {
CurrentValue = curValue
- });
+ });
Vector2 pos = e.Touch.GetLocalPosition(0);
CalculateCurrentValueByTouch(pos);
UpdateState(isFocused, false);
- sliderSlidingFinishedHandler?.Invoke(this, new SliderSlidingFinishedEventArgs {
+ sliderSlidingFinishedHandler?.Invoke(this, new SliderSlidingFinishedEventArgs
+ {
CurrentValue = curValue
- });
+ });
}
return false;
}
}
}
+ /// <summary>
/// Set/Get the ImageBasedLight ScaleFactor.
/// Scale factor controls light source intensity in [0.0f, 1.0f]
/// </summary>
/// <since_tizen> 8 </since_tizen>
/// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
- public class CircularPagination: Control
+ public class CircularPagination : Control
{
private CircularPaginationStyle circularPaginationStyle;
for (int i = (indicatorCount + 1); i <= value; i++)
{
- CreateIndicator( arrayIndex );
+ CreateIndicator(arrayIndex);
arrayIndex++;
}
{
for (int i = (middleIndex - value); i < (middleIndex - leftIndicatorCount); i++)
{
- CreateIndicator( i );
+ CreateIndicator(i);
selectedIndex++;
}
}
{
for (int i = (middleIndex + rightIndicatorCount + 1); i <= (middleIndex + value); i++)
{
- CreateIndicator( i );
+ CreateIndicator(i);
}
}
else
if (selectedIndex >= 0)
{
- if ( (isSymmetrical && selectedIndex < indicatorCount) ||
- (!isSymmetrical && selectedIndex <= (middleIndex + rightIndicatorCount) ) )
+ if ((isSymmetrical && selectedIndex < indicatorCount) ||
+ (!isSymmetrical && selectedIndex <= (middleIndex + rightIndicatorCount)))
{
CheckCenterIndicator(selectedIndex);
SelectOut(indicatorList[selectedIndex]);
selectedIndex = value;
if (selectedIndex >= 0)
{
- if ( (isSymmetrical && selectedIndex < indicatorCount) ||
- (!isSymmetrical && selectedIndex <= (middleIndex + rightIndicatorCount) ) )
+ if ((isSymmetrical && selectedIndex < indicatorCount) ||
+ (!isSymmetrical && selectedIndex <= (middleIndex + rightIndicatorCount)))
{
CheckCenterIndicator(selectedIndex);
SelectIn(indicatorList[selectedIndex]);
{
if (isCenterImageSet &&
(isSymmetrical && (index == indicatorCount / 2)) ||
- (!isSymmetrical && (index == leftIndicatorCount)) )
+ (!isSymmetrical && (index == leftIndicatorCount)))
{
- isCurrentIndicatorCentered = true;
+ isCurrentIndicatorCentered = true;
}
else
{
{
newOne.URL = circularPaginationStyle.IndicatorImageURL.Normal;
}
- newOne.Opacity = 0.5f;
+ newOne.Opacity = 0.5f;
container.AddVisual("Indicator" + i, newOne);
indicatorList.Add(newOne);
}
/// <summary>Bindable property of IsEnabled</summary>
[EditorBrowsable(EditorBrowsableState.Never)]
- public static readonly BindableProperty IsEnabledProperty = BindableProperty.Create(nameof(IsEnabled), typeof(bool), typeof(CircularProgress), true, propertyChanged: (bindable, oldValue, newValue) =>
+ public new static readonly BindableProperty IsEnabledProperty = BindableProperty.Create(nameof(IsEnabled), typeof(bool), typeof(CircularProgress), true, propertyChanged: (bindable, oldValue, newValue) =>
{
var instance = (CircularProgress)bindable;
if (newValue != null)
/// Flag to be enabled or disabled in CircularProgress.
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
- public bool IsEnabled
+ public new bool IsEnabled
{
get
{
/// <summary>Bindable property of ThumbSize</summary>
[EditorBrowsable(EditorBrowsableState.Never)]
- public static readonly BindableProperty ThumbSizeProperty = BindableProperty.Create(nameof(ThumbSize), typeof(Size), typeof(CircularSlider), new Size(0,0), propertyChanged: (bindable, oldValue, newValue) =>
+ public static readonly BindableProperty ThumbSizeProperty = BindableProperty.Create(nameof(ThumbSize), typeof(Size), typeof(CircularSlider), new Size(0, 0), propertyChanged: (bindable, oldValue, newValue) =>
{
var instance = (CircularSlider)bindable;
if (newValue != null)
/// <summary>Bindable property of IsEnabled</summary>
[EditorBrowsable(EditorBrowsableState.Never)]
- public static readonly BindableProperty IsEnabledProperty = BindableProperty.Create(nameof(IsEnabled), typeof(bool), typeof(CircularSlider), true, propertyChanged: (bindable, oldValue, newValue) =>
+ public new static readonly BindableProperty IsEnabledProperty = BindableProperty.Create(nameof(IsEnabled), typeof(bool), typeof(CircularSlider), true, propertyChanged: (bindable, oldValue, newValue) =>
{
var instance = (CircularSlider)bindable;
if (newValue != null)
/// Flag to be enabled or disabled in CircularSlider.
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
- public bool IsEnabled
+ public new bool IsEnabled
{
get
{
StartAngle = 0.0f,
SweepAngle = 0.0f
};
- this.AddVisual(ThumbVisualName, thumbVisual);
+ this.AddVisual(ThumbVisualName, thumbVisual);
HandleProgressVisualVisibility();
return scrollPosition;
}
+ /// <inheritdoc/>
public override View RequestNextFocusableView(View currentFocusedView, View.FocusDirection direction, bool loopEnabled)
{
View nextFocusedView = null;
return scrollPosition;
}
+ /// <inheritdoc/>
public override View RequestNextFocusableView(View currentFocusedView, View.FocusDirection direction, bool loopEnabled)
{
View nextFocusedView = null;
private int totalItemCount = 15;
private List<PropertyNotification> notifications = new List<PropertyNotification>();
+ /// <summary>
+ /// Default constructor.
+ /// </summary>
public RecyclerView() : base()
{
Initialize(new RecycleAdapter(), new RecycleLayoutManager());
}
/// <summary>
- /// Default constructor.
+ /// A constructor of <see cref="RecyclerView" />.
/// </summary>
/// <param name="adapter">Recycle adapter of RecyclerView.</param>
/// <param name="layoutManager">Recycle layoutManager of RecyclerView.</param>
/// <summary>Bindable property of IsEnabled</summary>
[EditorBrowsable(EditorBrowsableState.Never)]
- public static readonly BindableProperty IsEnabledProperty = BindableProperty.Create(nameof(IsEnabled), typeof(bool?), typeof(CircularProgressStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
+ public new static readonly BindableProperty IsEnabledProperty = BindableProperty.Create(nameof(IsEnabled), typeof(bool?), typeof(CircularProgressStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
{
((CircularProgressStyle)bindable).isEnabled = (bool?)newValue;
},
/// Flag to be enabled or disabled in CircularProgress.
/// </summary>
/// <since_tizen> 8 </since_tizen>
- public bool? IsEnabled
+ public new bool? IsEnabled
{
get
{
/// <summary>Bindable property of ThumbSize</summary>
[EditorBrowsable(EditorBrowsableState.Never)]
- public static readonly BindableProperty ThumbSizeProperty = BindableProperty.Create(nameof(ThumbSize), typeof(Size), typeof(CircularSliderStyle), new Size(0,0), propertyChanged: (bindable, oldValue, newValue) =>
+ public static readonly BindableProperty ThumbSizeProperty = BindableProperty.Create(nameof(ThumbSize), typeof(Size), typeof(CircularSliderStyle), new Size(0, 0), propertyChanged: (bindable, oldValue, newValue) =>
{
((CircularSliderStyle)bindable).thumbSize = (Size)newValue;
},
/// <summary>Bindable property of IsEnabled</summary>
[EditorBrowsable(EditorBrowsableState.Never)]
- public static readonly BindableProperty IsEnabledProperty = BindableProperty.Create(nameof(IsEnabled), typeof(bool?), typeof(CircularSliderStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
+ public new static readonly BindableProperty IsEnabledProperty = BindableProperty.Create(nameof(IsEnabled), typeof(bool?), typeof(CircularSliderStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
{
((CircularSliderStyle)bindable).isEnabled = (bool?)newValue;
},
/// Flag to be enabled or disabled in CircularSlider.
/// </summary>
/// <since_tizen> 8 </since_tizen>
- public bool? IsEnabled
+ public new bool? IsEnabled
{
get
{
return _impl.GetAttMtu(clientAddress);
}
+ /// <summary>
/// The AttMtuChanged event is raised when the MTU value changed.
/// </summary>
/// <since_tizen> 9 </since_tizen>
_parent = parent;
ReleaseHandleOwnership();
}
- }
+ }
}
/// <summary>
/// <remarks>throws in case of internal error.</remarks>
/// <exception cref="InvalidOperationException">Thrown when the create GATT descriptor procedure fails.</exception>
/// <since_tizen> 3 </since_tizen>
- public BluetoothGattDescriptor(string uuid, BluetoothGattPermission permisions, byte[] value) : base (uuid, permisions)
+ public BluetoothGattDescriptor(string uuid, BluetoothGattPermission permisions, byte[] value) : base(uuid, permisions)
{
_impl = new BluetoothGattDescriptorImpl(uuid, permisions, value);
}