internal static int PositionYSetter = 0;
internal static int PositionZGetter = 0;
internal static int PositionZSetter = 0;
+internal static int StyleNameGetter = 0;
+internal static int StyleNameSetter = 0;
+internal static int KeyInputFocusGetter = 0;
+internal static int KeyInputFocusSetter = 0;
+internal static int ColorGetter = 0;
+internal static int ColorSetter = 0;
+
+
+internal static int ColorRedSetter = 0;
+internal static int ColorGreenSetter = 0;
+internal static int ColorBlueSetter = 0;
+internal static int StateSetter = 0;
+internal static int SubStateSetter = 0;
+internal static int FlexSetter = 0;
+internal static int AlignSelfSetter = 0;
+internal static int FlexMarginSetter = 0;
+internal static int CellIndexSetter = 0;
+internal static int RowSpanSetter = 0;
+internal static int ColumnSpanSetter = 0;
+internal static int CellHorizontalAlignmentSetter = 0;
+internal static int CellVerticalAlignmentSetter = 0;
+internal static int OpacitySetter = 0;
+internal static int PositionUsesPivotPointSetter = 0;
+internal static int ParentOriginSetter = 0;
+internal static int PivotPointSetter = 0;
+internal static int OrientationSetter = 0;
+internal static int ScaleSetter = 0;
+internal static int ScaleXSetter = 0;
+internal static int ScaleYSetter = 0;
+internal static int ScaleZSetter = 0;
+internal static int NameSetter = 0;
+internal static int SensitiveSetter = 0;
+internal static int IsEnabledSetter = 0;
+internal static int DispatchKeyEventsSetter = 0;
+internal static int LeaveRequiredSetter = 0;
+internal static int InheritOrientationSetter = 0;
+internal static int InheritScaleSetter = 0;
+internal static int DrawModeSetter = 0;
+internal static int SizeModeFactorSetter = 0;
+internal static int WidthResizePolicySetter = 0;
+internal static int HeightResizePolicySetter = 0;
+internal static int SizeScalePolicySetter = 0;
+internal static int WidthForHeightSetter = 0;
+internal static int HeightForWidthSetter = 0;
+internal static int InheritPositionSetter = 0;
+internal static int ClippingModeSetter = 0;
+internal static int InheritLayoutDirectionSetter = 0;
+internal static int LayoutDirectionSetter = 0;
+internal static int UpdateAreaHintSetter = 0;
+internal static int AccessibilityNameSetter = 0;
+internal static int AccessibilityDescriptionSetter = 0;
+internal static int AccessibilityTranslationDomainSetter = 0;
+internal static int AccessibilityRoleSetter = 0;
+internal static int AccessibilityHighlightableSetter = 0;
+internal static int AccessibilityHiddenSetter = 0;
+internal static int AutomationIdSetter = 0;
+
+internal static int ColorRedGetter = 0;
+internal static int ColorGreenGetter = 0;
+internal static int ColorBlueGetter = 0;
+internal static int StateGetter = 0;
+internal static int SubStateGetter = 0;
+internal static int FlexGetter = 0;
+internal static int AlignSelfGetter = 0;
+internal static int FlexMarginGetter = 0;
+internal static int CellIndexGetter = 0;
+internal static int RowSpanGetter = 0;
+internal static int ColumnSpanGetter = 0;
+internal static int CellHorizontalAlignmentGetter = 0;
+internal static int CellVerticalAlignmentGetter = 0;
+internal static int OpacityGetter = 0;
+internal static int PositionUsesPivotPointGetter = 0;
+internal static int ParentOriginGetter = 0;
+internal static int PivotPointGetter = 0;
+internal static int OrientationGetter = 0;
+internal static int ScaleGetter = 0;
+internal static int ScaleXGetter = 0;
+internal static int ScaleYGetter = 0;
+internal static int ScaleZGetter = 0;
+internal static int NameGetter = 0;
+internal static int SensitiveGetter = 0;
+internal static int IsEnabledGetter = 0;
+internal static int DispatchKeyEventsGetter = 0;
+internal static int LeaveRequiredGetter = 0;
+internal static int InheritOrientationGetter = 0;
+internal static int InheritScaleGetter = 0;
+internal static int DrawModeGetter = 0;
+internal static int SizeModeFactorGetter = 0;
+internal static int WidthResizePolicyGetter = 0;
+internal static int HeightResizePolicyGetter = 0;
+internal static int SizeScalePolicyGetter = 0;
+internal static int WidthForHeightGetter = 0;
+internal static int HeightForWidthGetter = 0;
+internal static int InheritPositionGetter = 0;
+internal static int ClippingModeGetter = 0;
+internal static int InheritLayoutDirectionGetter = 0;
+internal static int LayoutDirectionGetter = 0;
+internal static int UpdateAreaHintGetter = 0;
+internal static int AccessibilityNameGetter = 0;
+internal static int AccessibilityDescriptionGetter = 0;
+internal static int AccessibilityTranslationDomainGetter = 0;
+internal static int AccessibilityRoleGetter = 0;
+internal static int AccessibilityHighlightableGetter = 0;
+internal static int AccessibilityHiddenGetter = 0;
+internal static int AutomationIdGetter = 0;
+
+
#endif
static View()
{
get
{
+#if NUI_PROPERTY_CHANGE_DEBUG
+StyleNameGetter++;
+#endif
return (string)GetValue(StyleNameProperty);
}
set
{
+#if NUI_PROPERTY_CHANGE_DEBUG
+StyleNameSetter++;
+#endif
SetValue(StyleNameProperty, value);
NotifyPropertyChanged();
}
{
get
{
+#if NUI_PROPERTY_CHANGE_DEBUG
+KeyInputFocusGetter++;
+#endif
return (bool)GetValue(KeyInputFocusProperty);
}
set
{
+#if NUI_PROPERTY_CHANGE_DEBUG
+KeyInputFocusSetter++;
+#endif
SetValue(KeyInputFocusProperty, value);
NotifyPropertyChanged();
}
{
get
{
+#if NUI_PROPERTY_CHANGE_DEBUG
+StateGetter++;
+#endif
return (States)GetValue(StateProperty);
}
set
{
+#if NUI_PROPERTY_CHANGE_DEBUG
+StateSetter++;
+#endif
SetValue(StateProperty, value);
NotifyPropertyChanged();
}
{
get
{
+#if NUI_PROPERTY_CHANGE_DEBUG
+SubStateGetter++;
+#endif
return (States)GetValue(SubStateProperty);
}
set
{
+#if NUI_PROPERTY_CHANGE_DEBUG
+SubStateSetter++;
+#endif
SetValue(SubStateProperty, value);
NotifyPropertyChanged();
}
{
get
{
+#if NUI_PROPERTY_CHANGE_DEBUG
+FlexGetter++;
+#endif
return (float)GetValue(FlexProperty);
}
set
{
+#if NUI_PROPERTY_CHANGE_DEBUG
+FlexSetter++;
+#endif
SetValue(FlexProperty, value);
NotifyPropertyChanged();
}
{
get
{
+#if NUI_PROPERTY_CHANGE_DEBUG
+AlignSelfGetter++;
+#endif
return (int)GetValue(AlignSelfProperty);
}
set
{
+#if NUI_PROPERTY_CHANGE_DEBUG
+AlignSelfSetter++;
+#endif
SetValue(AlignSelfProperty, value);
NotifyPropertyChanged();
}
{
get
{
+#if NUI_PROPERTY_CHANGE_DEBUG
+FlexMarginGetter++;
+#endif
Vector4 temp = (Vector4)GetValue(FlexMarginProperty);
return new Vector4(OnFlexMarginChanged, temp.X, temp.Y, temp.Z, temp.W);
}
set
{
+#if NUI_PROPERTY_CHANGE_DEBUG
+FlexMarginSetter++;
+#endif
SetValue(FlexMarginProperty, value);
NotifyPropertyChanged();
}
{
get
{
+#if NUI_PROPERTY_CHANGE_DEBUG
+CellIndexGetter++;
+#endif
return (Vector2)GetValue(CellIndexProperty);
}
set
{
+#if NUI_PROPERTY_CHANGE_DEBUG
+CellIndexSetter++;
+#endif
SetValue(CellIndexProperty, value);
NotifyPropertyChanged();
}
{
get
{
+#if NUI_PROPERTY_CHANGE_DEBUG
+RowSpanGetter++;
+#endif
return (float)GetValue(RowSpanProperty);
}
set
{
+#if NUI_PROPERTY_CHANGE_DEBUG
+RowSpanSetter++;
+#endif
SetValue(RowSpanProperty, value);
NotifyPropertyChanged();
}
{
get
{
+#if NUI_PROPERTY_CHANGE_DEBUG
+ColumnSpanGetter++;
+#endif
return (float)GetValue(ColumnSpanProperty);
}
set
{
+#if NUI_PROPERTY_CHANGE_DEBUG
+ColumnSpanSetter++;
+#endif
SetValue(ColumnSpanProperty, value);
NotifyPropertyChanged();
}
{
get
{
+#if NUI_PROPERTY_CHANGE_DEBUG
+CellHorizontalAlignmentGetter++;
+#endif
return (HorizontalAlignmentType)GetValue(CellHorizontalAlignmentProperty);
}
set
{
+#if NUI_PROPERTY_CHANGE_DEBUG
+CellHorizontalAlignmentSetter++;
+#endif
SetValue(CellHorizontalAlignmentProperty, value);
NotifyPropertyChanged();
}
{
get
{
+#if NUI_PROPERTY_CHANGE_DEBUG
+CellVerticalAlignmentGetter++;
+#endif
return (VerticalAlignmentType)GetValue(CellVerticalAlignmentProperty);
}
set
{
+#if NUI_PROPERTY_CHANGE_DEBUG
+CellVerticalAlignmentSetter++;
+#endif
SetValue(CellVerticalAlignmentProperty, value);
NotifyPropertyChanged();
}
{
get
{
+#if NUI_PROPERTY_CHANGE_DEBUG
+OpacityGetter++;
+#endif
return (float)GetValue(OpacityProperty);
}
set
{
+#if NUI_PROPERTY_CHANGE_DEBUG
+OpacitySetter++;
+#endif
SetValue(OpacityProperty, value);
NotifyPropertyChanged();
}
{
get
{
+#if NUI_PROPERTY_CHANGE_DEBUG
+PositionUsesPivotPointGetter++;
+#endif
return (bool)GetValue(PositionUsesPivotPointProperty);
}
set
{
+#if NUI_PROPERTY_CHANGE_DEBUG
+PositionUsesPivotPointSetter++;
+#endif
SetValue(PositionUsesPivotPointProperty, value);
NotifyPropertyChanged();
}
{
get
{
+#if NUI_PROPERTY_CHANGE_DEBUG
+ParentOriginGetter++;
+#endif
Position tmp = (Position)GetValue(ParentOriginProperty);
return new Position(OnParentOriginChanged, tmp.X, tmp.Y, tmp.Z);
}
set
{
+#if NUI_PROPERTY_CHANGE_DEBUG
+ParentOriginSetter++;
+#endif
SetValue(ParentOriginProperty, value);
NotifyPropertyChanged();
}
{
get
{
+#if NUI_PROPERTY_CHANGE_DEBUG
+PivotPointGetter++;
+#endif
return (Position)GetValue(PivotPointProperty);
}
set
{
+#if NUI_PROPERTY_CHANGE_DEBUG
+PivotPointSetter++;
+#endif
SetValue(PivotPointProperty, value);
NotifyPropertyChanged();
}
{
get
{
+#if NUI_PROPERTY_CHANGE_DEBUG
+OrientationGetter++;
+#endif
return (Rotation)GetValue(OrientationProperty);
}
set
{
+#if NUI_PROPERTY_CHANGE_DEBUG
+OrientationSetter++;
+#endif
SetValue(OrientationProperty, value);
NotifyPropertyChanged();
}
{
get
{
+#if NUI_PROPERTY_CHANGE_DEBUG
+ScaleGetter++;
+#endif
return (Vector3)GetValue(ScaleProperty);
}
set
{
+#if NUI_PROPERTY_CHANGE_DEBUG
+ScaleSetter++;
+#endif
SetValue(ScaleProperty, value);
NotifyPropertyChanged();
}
{
get
{
+#if NUI_PROPERTY_CHANGE_DEBUG
+ScaleXGetter++;
+#endif
return (float)GetValue(ScaleXProperty);
}
set
{
+#if NUI_PROPERTY_CHANGE_DEBUG
+ScaleXSetter++;
+#endif
SetValue(ScaleXProperty, value);
NotifyPropertyChanged();
}
{
get
{
+#if NUI_PROPERTY_CHANGE_DEBUG
+ScaleYGetter++;
+#endif
return (float)GetValue(ScaleYProperty);
}
set
{
+#if NUI_PROPERTY_CHANGE_DEBUG
+ScaleYSetter++;
+#endif
SetValue(ScaleYProperty, value);
NotifyPropertyChanged();
}
{
get
{
+#if NUI_PROPERTY_CHANGE_DEBUG
+ScaleZGetter++;
+#endif
return (float)GetValue(ScaleZProperty);
}
set
{
+#if NUI_PROPERTY_CHANGE_DEBUG
+ScaleZSetter++;
+#endif
SetValue(ScaleZProperty, value);
NotifyPropertyChanged();
}
{
get
{
+#if NUI_PROPERTY_CHANGE_DEBUG
+NameGetter++;
+#endif
return (string)GetValue(NameProperty);
}
set
{
+#if NUI_PROPERTY_CHANGE_DEBUG
+NameSetter++;
+#endif
SetValue(NameProperty, value);
NotifyPropertyChanged();
}
{
get
{
+#if NUI_PROPERTY_CHANGE_DEBUG
+SensitiveGetter++;
+#endif
return (bool)GetValue(SensitiveProperty);
}
set
{
+#if NUI_PROPERTY_CHANGE_DEBUG
+SensitiveSetter++;
+#endif
SetValue(SensitiveProperty, value);
NotifyPropertyChanged();
}
{
get
{
+#if NUI_PROPERTY_CHANGE_DEBUG
+IsEnabledGetter++;
+#endif
return (bool)GetValue(IsEnabledProperty);
}
set
{
+#if NUI_PROPERTY_CHANGE_DEBUG
+IsEnabledSetter++;
+#endif
SetValue(IsEnabledProperty, value);
NotifyPropertyChanged();
}
{
get
{
+#if NUI_PROPERTY_CHANGE_DEBUG
+LeaveRequiredGetter++;
+#endif
return (bool)GetValue(LeaveRequiredProperty);
}
set
{
+#if NUI_PROPERTY_CHANGE_DEBUG
+LeaveRequiredSetter++;
+#endif
SetValue(LeaveRequiredProperty, value);
NotifyPropertyChanged();
}
{
get
{
+#if NUI_PROPERTY_CHANGE_DEBUG
+InheritScaleGetter++;
+#endif
return (bool)GetValue(InheritScaleProperty);
}
set
{
+#if NUI_PROPERTY_CHANGE_DEBUG
+InheritScaleSetter++;
+#endif
SetValue(InheritScaleProperty, value);
NotifyPropertyChanged();
}
{
get
{
+#if NUI_PROPERTY_CHANGE_DEBUG
+DrawModeGetter++;
+#endif
return (DrawModeType)GetValue(DrawModeProperty);
}
set
{
+#if NUI_PROPERTY_CHANGE_DEBUG
+DrawModeSetter++;
+#endif
SetValue(DrawModeProperty, value);
NotifyPropertyChanged();
}
{
get
{
+#if NUI_PROPERTY_CHANGE_DEBUG
+SizeModeFactorGetter++;
+#endif
return (Vector3)GetValue(SizeModeFactorProperty);
}
set
{
+#if NUI_PROPERTY_CHANGE_DEBUG
+SizeModeFactorSetter++;
+#endif
SetValue(SizeModeFactorProperty, value);
NotifyPropertyChanged();
}
{
get
{
+#if NUI_PROPERTY_CHANGE_DEBUG
+WidthResizePolicyGetter++;
+#endif
return (ResizePolicyType)GetValue(WidthResizePolicyProperty);
}
set
{
+#if NUI_PROPERTY_CHANGE_DEBUG
+WidthResizePolicySetter++;
+#endif
SetValue(WidthResizePolicyProperty, value);
NotifyPropertyChanged();
}
{
get
{
+#if NUI_PROPERTY_CHANGE_DEBUG
+HeightResizePolicyGetter++;
+#endif
return (ResizePolicyType)GetValue(HeightResizePolicyProperty);
}
set
{
+#if NUI_PROPERTY_CHANGE_DEBUG
+HeightResizePolicySetter++;
+#endif
SetValue(HeightResizePolicyProperty, value);
NotifyPropertyChanged();
}
{
get
{
+#if NUI_PROPERTY_CHANGE_DEBUG
+SizeScalePolicyGetter++;
+#endif
return (SizeScalePolicyType)GetValue(SizeScalePolicyProperty);
}
set
{
+#if NUI_PROPERTY_CHANGE_DEBUG
+SizeScalePolicySetter++;
+#endif
SetValue(SizeScalePolicyProperty, value);
NotifyPropertyChanged();
}
{
get
{
+#if NUI_PROPERTY_CHANGE_DEBUG
+WidthForHeightGetter++;
+#endif
return (bool)GetValue(WidthForHeightProperty);
}
set
{
+#if NUI_PROPERTY_CHANGE_DEBUG
+WidthForHeightSetter++;
+#endif
SetValue(WidthForHeightProperty, value);
NotifyPropertyChanged();
}
{
get
{
+#if NUI_PROPERTY_CHANGE_DEBUG
+HeightForWidthGetter++;
+#endif
return (bool)GetValue(HeightForWidthProperty);
}
set
{
+#if NUI_PROPERTY_CHANGE_DEBUG
+HeightForWidthSetter++;
+#endif
SetValue(HeightForWidthProperty, value);
NotifyPropertyChanged();
}
{
get
{
+#if NUI_PROPERTY_CHANGE_DEBUG
+InheritPositionGetter++;
+#endif
return (bool)GetValue(InheritPositionProperty);
}
set
{
+#if NUI_PROPERTY_CHANGE_DEBUG
+InheritPositionSetter++;
+#endif
SetValue(InheritPositionProperty, value);
NotifyPropertyChanged();
}
{
get
{
+#if NUI_PROPERTY_CHANGE_DEBUG
+ClippingModeGetter++;
+#endif
return (ClippingModeType)GetValue(ClippingModeProperty);
}
set
{
+#if NUI_PROPERTY_CHANGE_DEBUG
+ClippingModeSetter++;
+#endif
SetValue(ClippingModeProperty, value);
NotifyPropertyChanged();
}
{
get
{
+#if NUI_PROPERTY_CHANGE_DEBUG
+InheritLayoutDirectionGetter++;
+#endif
return (bool)GetValue(InheritLayoutDirectionProperty);
}
set
{
+#if NUI_PROPERTY_CHANGE_DEBUG
+InheritLayoutDirectionSetter++;
+#endif
SetValue(InheritLayoutDirectionProperty, value);
NotifyPropertyChanged();
}
{
get
{
+#if NUI_PROPERTY_CHANGE_DEBUG
+LayoutDirectionGetter++;
+#endif
return (ViewLayoutDirectionType)GetValue(LayoutDirectionProperty);
}
set
{
+#if NUI_PROPERTY_CHANGE_DEBUG
+LayoutDirectionSetter++;
+#endif
SetValue(LayoutDirectionProperty, value);
NotifyPropertyChanged();
layout?.RequestLayout();
{
get
{
+#if NUI_PROPERTY_CHANGE_DEBUG
+ColorGetter++;
+#endif
return (Color)GetValue(ColorProperty);
}
set
{
+#if NUI_PROPERTY_CHANGE_DEBUG
+ColorSetter++;
+#endif
SetValue(ColorProperty, value);
NotifyPropertyChanged();
}
{
get
{
+#if NUI_PROPERTY_CHANGE_DEBUG
+ColorRedGetter++;
+#endif
return (float)GetValue(ColorRedProperty);
}
set
{
+#if NUI_PROPERTY_CHANGE_DEBUG
+ColorRedSetter++;
+#endif
SetValue(ColorRedProperty, value);
NotifyPropertyChanged();
}
{
get
{
+#if NUI_PROPERTY_CHANGE_DEBUG
+ColorGreenGetter++;
+#endif
return (float)GetValue(ColorGreenProperty);
}
set
{
+#if NUI_PROPERTY_CHANGE_DEBUG
+ColorGreenSetter++;
+#endif
SetValue(ColorGreenProperty, value);
NotifyPropertyChanged();
}
{
get
{
+#if NUI_PROPERTY_CHANGE_DEBUG
+ColorBlueGetter++;
+#endif
return (float)GetValue(ColorBlueProperty);
}
set
{
+#if NUI_PROPERTY_CHANGE_DEBUG
+ColorBlueSetter++;
+#endif
SetValue(ColorBlueProperty, value);
NotifyPropertyChanged();
}
{
get
{
+#if NUI_PROPERTY_CHANGE_DEBUG
+UpdateAreaHintGetter++;
+#endif
return (Vector4)GetValue(UpdateAreaHintProperty);
}
set
{
+#if NUI_PROPERTY_CHANGE_DEBUG
+UpdateAreaHintSetter++;
+#endif
SetValue(UpdateAreaHintProperty, value);
NotifyPropertyChanged();
}
{
get
{
+#if NUI_PROPERTY_CHANGE_DEBUG
+DispatchKeyEventsGetter++;
+#endif
return (bool)GetValue(DispatchKeyEventsProperty);
}
set
{
+#if NUI_PROPERTY_CHANGE_DEBUG
+DispatchKeyEventsSetter++;
+#endif
SetValue(DispatchKeyEventsProperty, value);
NotifyPropertyChanged();
}
if (newValue != null)
{
string styleName = (string)newValue;
+#if NUI_PROPERTY_CHANGE_1
+ Interop.Actor.InternalSetPropertyString(view.SwigCPtr, View.Property.StyleName, styleName);
+#else
Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)view.SwigCPtr, View.Property.StyleName, new Tizen.NUI.PropertyValue(styleName));
-
+#endif
view.styleName = styleName;
if (string.IsNullOrEmpty(styleName)) return;
if (!string.IsNullOrEmpty(view.styleName)) return view.styleName;
+#if NUI_PROPERTY_CHANGE_1
+ return Interop.Actor.InternalGetPropertyString(view.SwigCPtr, View.Property.StyleName);
+#else
string temp;
Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)view.SwigCPtr, View.Property.StyleName).Get(out temp);
return temp;
+#endif
}));
/// <summary>
var view = (View)bindable;
if (newValue != null)
{
+#if NUI_PROPERTY_CHANGE_1
+ Interop.Actor.InternalSetPropertyBool(view.SwigCPtr, View.Property.KeyInputFocus, (bool)newValue);
+#else
Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)view.SwigCPtr, View.Property.KeyInputFocus, new Tizen.NUI.PropertyValue((bool)newValue));
+#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var view = (View)bindable;
+#if NUI_PROPERTY_CHANGE_1
+ return Interop.Actor.InternalGetPropertyBool(view.SwigCPtr, View.Property.KeyInputFocus);
+#else
bool temp = false;
Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)view.SwigCPtr, View.Property.KeyInputFocus).Get(out temp);
return temp;
+#endif
}));
/// <summary>
defaultValueCreator: (bindable) =>
{
var view = (View)bindable;
+#if NUI_PROPERTY_CHANGE_1
+ if (view.internalColor == null)
+ {
+ view.internalColor = new Color(view.OnColorChanged, 0, 0, 0, 0);
+ }
+ Interop.Actor.InternalRetrievingPropertyVector4(view.SwigCPtr, View.Property.COLOR, view.internalColor.SwigCPtr);
+#else
var tmpProperty = view.GetProperty(View.Property.COLOR);
if (view.internalColor == null)
tmpProperty?.Get(view.internalColor);
tmpProperty?.Dispose();
-
+#endif
return view.internalColor;
}
);
defaultValueCreator: (bindable) =>
{
var view = (View)bindable;
+#if NUI_PROPERTY_CHANGE_1
+ return Interop.Actor.InternalGetPropertyFloat(view.SwigCPtr, View.Property.ColorRed);
+#else
float temp = 0.0f;
Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)view.SwigCPtr, View.Property.ColorRed).Get(out temp);
return temp;
+#endif
}
);
defaultValueCreator: (bindable) =>
{
var view = (View)bindable;
+#if NUI_PROPERTY_CHANGE_1
+ return Interop.Actor.InternalGetPropertyFloat(view.SwigCPtr, View.Property.ColorGreen);
+#else
float temp = 0.0f;
Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)view.SwigCPtr, View.Property.ColorGreen).Get(out temp);
return temp;
+#endif
}
);
defaultValueCreator: (bindable) =>
{
var view = (View)bindable;
+#if NUI_PROPERTY_CHANGE_1
+ return Interop.Actor.InternalGetPropertyFloat(view.SwigCPtr, View.Property.ColorBlue);
+#else
float temp = 0.0f;
Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)view.SwigCPtr, View.Property.ColorBlue).Get(out temp);
return temp;
+#endif
}
);
var view = (View)bindable;
if (newValue != null)
{
+#if NUI_PROPERTY_CHANGE_1
+ Interop.Actor.InternalSetPropertyInt(view.SwigCPtr, View.Property.STATE, (int)newValue);
+#else
Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)view.SwigCPtr, View.Property.STATE, new Tizen.NUI.PropertyValue((int)newValue));
+#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var view = (View)bindable;
int temp = 0;
+#if NUI_PROPERTY_CHANGE_1
+ temp = Interop.Actor.InternalGetPropertyInt(view.SwigCPtr, View.Property.STATE);
+#else
if (Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)view.SwigCPtr, View.Property.STATE).Get(out temp) == false)
{
NUILog.Error("State get error!");
}
+#endif
switch (temp)
{
case 0: return States.Normal;
if (newValue != null)
{
valueToString = ((States)newValue).GetDescription();
+#if NUI_PROPERTY_CHANGE_1
+ Interop.Actor.InternalSetPropertyString(view.SwigCPtr, View.Property.SubState, valueToString);
+#else
Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)view.SwigCPtr, View.Property.SubState, new Tizen.NUI.PropertyValue(valueToString));
+#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var view = (View)bindable;
string temp;
+#if NUI_PROPERTY_CHANGE_1
+ temp = Interop.Actor.InternalGetPropertyString(view.SwigCPtr, View.Property.SubState);
+#else
if (Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)view.SwigCPtr, View.Property.SubState).Get(out temp) == false)
{
NUILog.Error("subState get error!");
}
+#endif
return temp.GetValueByDescription<States>();
}));
var view = (View)bindable;
if (newValue != null)
{
+#if NUI_PROPERTY_CHANGE_1
+ Interop.Actor.InternalSetPropertyFloat(view.SwigCPtr, FlexContainer.ChildProperty.FLEX, (float)newValue);
+#else
Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)view.SwigCPtr, FlexContainer.ChildProperty.FLEX, new Tizen.NUI.PropertyValue((float)newValue));
+#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var view = (View)bindable;
+#if NUI_PROPERTY_CHANGE_1
+ return Interop.Actor.InternalGetPropertyFloat(view.SwigCPtr, FlexContainer.ChildProperty.FLEX);
+#else
float temp = 0.0f;
Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)view.SwigCPtr, FlexContainer.ChildProperty.FLEX).Get(out temp);
return temp;
+#endif
}));
/// <summary>
var view = (View)bindable;
if (newValue != null)
{
+#if NUI_PROPERTY_CHANGE_1
+ Interop.Actor.InternalSetPropertyInt(view.SwigCPtr, FlexContainer.ChildProperty.AlignSelf, (int)newValue);
+#else
Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)view.SwigCPtr, FlexContainer.ChildProperty.AlignSelf, new Tizen.NUI.PropertyValue((int)newValue));
+#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var view = (View)bindable;
+#if NUI_PROPERTY_CHANGE_1
+ return Interop.Actor.InternalGetPropertyInt(view.SwigCPtr, FlexContainer.ChildProperty.AlignSelf);
+#else
int temp = 0;
Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)view.SwigCPtr, FlexContainer.ChildProperty.AlignSelf).Get(out temp);
return temp;
+#endif
}));
/// <summary>
var view = (View)bindable;
if (newValue != null)
{
+#if NUI_PROPERTY_CHANGE_1
+ Interop.Actor.InternalSetPropertyVector4(view.SwigCPtr, FlexContainer.ChildProperty.FlexMargin, ((Vector4)newValue).SwigCPtr);
+#else
Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)view.SwigCPtr, FlexContainer.ChildProperty.FlexMargin, new Tizen.NUI.PropertyValue((Vector4)newValue));
+#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var view = (View)bindable;
Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
+#if NUI_PROPERTY_CHANGE_1
+ Interop.Actor.InternalRetrievingPropertyVector4(view.SwigCPtr, FlexContainer.ChildProperty.FlexMargin, temp.SwigCPtr);
+#else
Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)view.SwigCPtr, FlexContainer.ChildProperty.FlexMargin).Get(temp);
+#endif
return temp;
}));
var view = (View)bindable;
if (newValue != null)
{
+#if NUI_PROPERTY_CHANGE_1
+ Interop.Actor.InternalSetPropertyVector2(view.SwigCPtr, TableView.ChildProperty.CellIndex, ((Vector2)newValue).SwigCPtr);
+#else
var tmp = new PropertyValue((Vector2)newValue);
Object.SetProperty(view.SwigCPtr, TableView.ChildProperty.CellIndex, tmp);
tmp.Dispose();
+#endif
}
},
defaultValueCreator: (bindable) =>
{
var view = (View)bindable;
+#if NUI_PROPERTY_CHANGE_1
+ if (view.internalCellIndex == null)
+ {
+ view.internalCellIndex = new Vector2(view.OnCellIndexChanged, 0, 0);
+ }
+ Interop.Actor.InternalRetrievingPropertyVector2(view.SwigCPtr, TableView.ChildProperty.CellIndex, view.internalCellIndex.SwigCPtr);
+#else
if (view.internalCellIndex == null)
{
view.internalCellIndex = new Vector2(view.OnCellIndexChanged, 0, 0);
var tmp = Object.GetProperty(view.SwigCPtr, TableView.ChildProperty.CellIndex);
tmp?.Get(view.internalCellIndex);
tmp?.Dispose();
-
+#endif
return view.internalCellIndex;
}
);
var view = (View)bindable;
if (newValue != null)
{
+#if NUI_PROPERTY_CHANGE_1
+ Interop.Actor.InternalSetPropertyFloat(view.SwigCPtr, TableView.ChildProperty.RowSpan, (float)newValue);
+#else
Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)view.SwigCPtr, TableView.ChildProperty.RowSpan, new Tizen.NUI.PropertyValue((float)newValue));
+#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var view = (View)bindable;
+#if NUI_PROPERTY_CHANGE_1
+ return Interop.Actor.InternalGetPropertyFloat(view.SwigCPtr, TableView.ChildProperty.RowSpan);
+#else
float temp = 0.0f;
Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)view.SwigCPtr, TableView.ChildProperty.RowSpan).Get(out temp);
return temp;
+#endif
}));
/// <summary>
var view = (View)bindable;
if (newValue != null)
{
+#if NUI_PROPERTY_CHANGE_1
+ Interop.Actor.InternalSetPropertyFloat(view.SwigCPtr, TableView.ChildProperty.ColumnSpan, (float)newValue);
+#else
Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)view.SwigCPtr, TableView.ChildProperty.ColumnSpan, new Tizen.NUI.PropertyValue((float)newValue));
+#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var view = (View)bindable;
+#if NUI_PROPERTY_CHANGE_1
+ return Interop.Actor.InternalGetPropertyFloat(view.SwigCPtr, TableView.ChildProperty.ColumnSpan);
+#else
float temp = 0.0f;
Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)view.SwigCPtr, TableView.ChildProperty.ColumnSpan).Get(out temp);
return temp;
+#endif
}));
/// <summary>
if (newValue != null)
{
valueToString = ((HorizontalAlignmentType)newValue).GetDescription();
+#if NUI_PROPERTY_CHANGE_1
+ Interop.Actor.InternalSetPropertyString(view.SwigCPtr, TableView.ChildProperty.CellHorizontalAlignment, valueToString);
+#else
Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)view.SwigCPtr, TableView.ChildProperty.CellHorizontalAlignment, new Tizen.NUI.PropertyValue(valueToString));
+#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var view = (View)bindable;
string temp;
+#if NUI_PROPERTY_CHANGE_1
+ temp = Interop.Actor.InternalGetPropertyString(view.SwigCPtr, TableView.ChildProperty.CellHorizontalAlignment);
+#else
if (Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)view.SwigCPtr, TableView.ChildProperty.CellHorizontalAlignment).Get(out temp) == false)
{
NUILog.Error("CellHorizontalAlignment get error!");
}
-
+#endif
return temp.GetValueByDescription<HorizontalAlignmentType>();
}));
if (newValue != null)
{
valueToString = ((VerticalAlignmentType)newValue).GetDescription();
+#if NUI_PROPERTY_CHANGE_1
+ Interop.Actor.InternalSetPropertyString(view.SwigCPtr, TableView.ChildProperty.CellVerticalAlignment, valueToString);
+#else
Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)view.SwigCPtr, TableView.ChildProperty.CellVerticalAlignment, new Tizen.NUI.PropertyValue(valueToString));
+#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var view = (View)bindable;
string temp;
+#if NUI_PROPERTY_CHANGE_1
+ temp = Interop.Actor.InternalGetPropertyString(view.SwigCPtr, TableView.ChildProperty.CellVerticalAlignment);
+#else
Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)view.SwigCPtr, TableView.ChildProperty.CellVerticalAlignment).Get(out temp);
{
NUILog.Error("CellVerticalAlignment get error!");
}
-
+#endif
return temp.GetValueByDescription<VerticalAlignmentType>();
}));
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var view = (View)bindable;
+#if NUI_PROPERTY_CHANGE_1
+ return Interop.Actor.InternalGetPropertyFloat(view.SwigCPtr, View.Property.OPACITY);
+#else
float temp = 0.0f;
Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)view.SwigCPtr, View.Property.OPACITY).Get(out temp);
return temp;
+#endif
}));
/// <summary>
var view = (View)bindable;
if (newValue != null)
{
+#if NUI_PROPERTY_CHANGE_1
+ Interop.Actor.InternalSetPropertyBool(view.SwigCPtr, View.Property.PositionUsesAnchorPoint, (bool)newValue);
+#else
Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)view.SwigCPtr, View.Property.PositionUsesAnchorPoint, new Tizen.NUI.PropertyValue((bool)newValue));
+#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var view = (View)bindable;
+#if NUI_PROPERTY_CHANGE_1
+ return Interop.Actor.InternalGetPropertyBool(view.SwigCPtr, View.Property.PositionUsesAnchorPoint);
+#else
bool temp = false;
Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)view.SwigCPtr, View.Property.PositionUsesAnchorPoint).Get(out temp);
return temp;
+#endif
}));
/// <summary>
var view = (View)bindable;
if (newValue != null)
{
+#if NUI_PROPERTY_CHANGE_1
+ Interop.Actor.InternalSetPropertyVector3(view.SwigCPtr, View.Property.ParentOrigin, ((Position)newValue).SwigCPtr);
+#else
Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)view.SwigCPtr, View.Property.ParentOrigin, new Tizen.NUI.PropertyValue((Position)newValue));
+#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var view = (View)bindable;
Position temp = new Position(0.0f, 0.0f, 0.0f);
+#if NUI_PROPERTY_CHANGE_1
+ Interop.Actor.InternalRetrievingPropertyVector3(view.SwigCPtr, View.Property.ParentOrigin, temp.SwigCPtr);
+#else
+
Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)view.SwigCPtr, View.Property.ParentOrigin).Get(temp);
+#endif
return temp;
})
);
defaultValueCreator: (bindable) =>
{
var view = (View)bindable;
+#if NUI_PROPERTY_CHANGE_1
+ if (view.internalPivotPoint == null)
+ {
+ view.internalPivotPoint = new Position(view.OnPivotPointChanged, 0, 0, 0);
+ }
+ Interop.Actor.InternalRetrievingPropertyVector3(view.SwigCPtr, View.Property.AnchorPoint, view.internalPivotPoint.SwigCPtr);
+#else
if (view.internalPivotPoint == null)
{
view.internalPivotPoint = new Position(view.OnPivotPointChanged, 0, 0, 0);
var tmp = Object.GetProperty(view.SwigCPtr, Property.AnchorPoint);
tmp?.Get(view.internalPivotPoint);
tmp?.Dispose();
-
+#endif
return view.internalPivotPoint;
}
);
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var view = (View)bindable;
- float temp = 0.0f;
#if NUI_PROPERTY_CHANGE_1
- Interop.Actor.InternalRetrievingPropertyFloat(view.SwigCPtr, View.Property.SizeWidth, out temp);
+ return Interop.Actor.InternalGetPropertyFloat(view.SwigCPtr, View.Property.SizeWidth);
#else
+ float temp = 0.0f;
Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)view.SwigCPtr, View.Property.SizeWidth).Get(out temp);
-#endif
return temp;
+#endif
}));
/// <summary>
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var view = (View)bindable;
- float temp = 0.0f;
#if NUI_PROPERTY_CHANGE_1
- Interop.Actor.InternalRetrievingPropertyFloat(view.SwigCPtr, View.Property.SizeHeight, out temp);
+ return Interop.Actor.InternalGetPropertyFloat(view.SwigCPtr, View.Property.SizeHeight);
#else
+ float temp = 0.0f;
Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)view.SwigCPtr, View.Property.SizeHeight).Get(out temp);
-#endif
return temp;
+#endif
}));
/// <summary>
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var view = (View)bindable;
- float temp = 0.0f;
#if NUI_PROPERTY_CHANGE_1
- Interop.Actor.InternalRetrievingPropertyFloat(view.SwigCPtr, View.Property.PositionX, out temp);
+ return Interop.Actor.InternalGetPropertyFloat(view.SwigCPtr, View.Property.PositionX);
#else
+ float temp = 0.0f;
Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)view.SwigCPtr, View.Property.PositionX).Get(out temp);
-#endif
return temp;
+#endif
}));
/// <summary>
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var view = (View)bindable;
- float temp = 0.0f;
#if NUI_PROPERTY_CHANGE_1
- Interop.Actor.InternalRetrievingPropertyFloat(view.SwigCPtr, View.Property.PositionY, out temp);
+ return Interop.Actor.InternalGetPropertyFloat(view.SwigCPtr, View.Property.PositionY);
#else
+ float temp = 0.0f;
Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)view.SwigCPtr, View.Property.PositionY).Get(out temp);
-#endif
return temp;
+#endif
}));
/// <summary>
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var view = (View)bindable;
- float temp = 0.0f;
#if NUI_PROPERTY_CHANGE_1
- Interop.Actor.InternalRetrievingPropertyFloat(view.SwigCPtr, View.Property.PositionZ, out temp);
+ return Interop.Actor.InternalGetPropertyFloat(view.SwigCPtr, View.Property.PositionZ);
#else
+ float temp = 0.0f;
Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)view.SwigCPtr, View.Property.PositionZ).Get(out temp);
-#endif
return temp;
+#endif
}));
/// <summary>
var view = (View)bindable;
if (newValue != null)
{
+#if NUI_PROPERTY_CHANGE_1
+ Interop.Actor.InternalSetPropertyVector3(view.SwigCPtr, View.Property.ORIENTATION, ((Rotation)newValue).SwigCPtr);
+#else
Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)view.SwigCPtr, View.Property.ORIENTATION, new Tizen.NUI.PropertyValue((Rotation)newValue));
+#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var view = (View)bindable;
Rotation temp = new Rotation();
+#if NUI_PROPERTY_CHANGE_1
+ Interop.Actor.InternalRetrievingPropertyVector3(view.SwigCPtr, View.Property.ORIENTATION, temp.SwigCPtr);
+#else
Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)view.SwigCPtr, View.Property.ORIENTATION).Get(temp);
+#endif
return temp;
}));
defaultValueCreator: (bindable) =>
{
var view = (View)bindable;
+#if NUI_PROPERTY_CHANGE_1
+ if (view.internalScale == null)
+ {
+ view.internalScale = new Vector3(view.OnScaleChanged, 0, 0, 0);
+ }
+ Interop.Actor.InternalRetrievingPropertyVector3(view.SwigCPtr, View.Property.SCALE, view.internalScale.SwigCPtr);
+#else
if (view.internalScale == null)
{
view.internalScale = new Vector3(view.OnScaleChanged, 0, 0, 0);
var tmpPropery = Object.GetProperty(view.SwigCPtr, Property.SCALE);
tmpPropery?.Get(view.internalScale);
tmpPropery?.Dispose();
-
+#endif
return view.internalScale;
}
);
var view = (View)bindable;
if (newValue != null)
{
+#if NUI_PROPERTY_CHANGE_1
+ Interop.Actor.InternalSetPropertyFloat(view.SwigCPtr, View.Property.ScaleX, (float)newValue);
+#else
Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)view.SwigCPtr, View.Property.ScaleX, new Tizen.NUI.PropertyValue((float)newValue));
+#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var view = (View)bindable;
+#if NUI_PROPERTY_CHANGE_1
+ return Interop.Actor.InternalGetPropertyFloat(view.SwigCPtr, View.Property.ScaleX);
+#else
float temp = 0.0f;
Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)view.SwigCPtr, View.Property.ScaleX).Get(out temp);
return temp;
+#endif
}));
/// <summary>
var view = (View)bindable;
if (newValue != null)
{
+#if NUI_PROPERTY_CHANGE_1
+ Interop.Actor.InternalSetPropertyFloat(view.SwigCPtr, View.Property.ScaleY, (float)newValue);
+#else
Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)view.SwigCPtr, View.Property.ScaleY, new Tizen.NUI.PropertyValue((float)newValue));
+#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var view = (View)bindable;
+#if NUI_PROPERTY_CHANGE_1
+ return Interop.Actor.InternalGetPropertyFloat(view.SwigCPtr, View.Property.ScaleY);
+#else
float temp = 0.0f;
Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)view.SwigCPtr, View.Property.ScaleY).Get(out temp);
return temp;
+#endif
}));
/// <summary>
var view = (View)bindable;
if (newValue != null)
{
+#if NUI_PROPERTY_CHANGE_1
+ Interop.Actor.InternalSetPropertyFloat(view.SwigCPtr, View.Property.ScaleZ, (float)newValue);
+#else
Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)view.SwigCPtr, View.Property.ScaleZ, new Tizen.NUI.PropertyValue((float)newValue));
+#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var view = (View)bindable;
+#if NUI_PROPERTY_CHANGE_1
+ return Interop.Actor.InternalGetPropertyFloat(view.SwigCPtr, View.Property.ScaleZ);
+#else
float temp = 0.0f;
Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)view.SwigCPtr, View.Property.ScaleZ).Get(out temp);
return temp;
+#endif
}));
/// <summary>
var view = (View)bindable;
if (newValue != null)
{
+#if NUI_PROPERTY_CHANGE_1
+ Interop.Actor.InternalSetPropertyString(view.SwigCPtr, View.Property.NAME, (string)newValue);
+#else
view.SetName((string)newValue);
+#endif
}
},
defaultValueCreator: (bindable) =>
{
var view = (View)bindable;
+#if NUI_PROPERTY_CHANGE_1
+ return Interop.Actor.InternalGetPropertyString(view.SwigCPtr, View.Property.NAME);
+#else
string temp;
temp = view.GetName();
return temp;
+#endif
}
);
var view = (View)bindable;
if (newValue != null)
{
+#if NUI_PROPERTY_CHANGE_1
+ Interop.Actor.InternalSetPropertyBool(view.SwigCPtr, View.Property.SENSITIVE, (bool)newValue);
+#else
Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)view.SwigCPtr, View.Property.SENSITIVE, new Tizen.NUI.PropertyValue((bool)newValue));
+#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var view = (View)bindable;
+#if NUI_PROPERTY_CHANGE_1
+ return Interop.Actor.InternalGetPropertyBool(view.SwigCPtr, View.Property.SENSITIVE);
+#else
bool temp = false;
Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)view.SwigCPtr, View.Property.SENSITIVE).Get(out temp);
return temp;
+#endif
}));
/// <summary>
var view = (View)bindable;
if (newValue != null)
{
+#if NUI_PROPERTY_CHANGE_1
+ Interop.Actor.InternalSetPropertyBool(view.SwigCPtr, View.Property.UserInteractionEnabled, (bool)newValue);
+#else
Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)view.SwigCPtr, View.Property.UserInteractionEnabled, new Tizen.NUI.PropertyValue((bool)newValue));
+#endif
view.OnEnabled((bool)newValue);
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var view = (View)bindable;
+#if NUI_PROPERTY_CHANGE_1
+ return Interop.Actor.InternalGetPropertyBool(view.SwigCPtr, View.Property.UserInteractionEnabled);
+#else
bool temp = false;
Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)view.SwigCPtr, View.Property.UserInteractionEnabled).Get(out temp);
return temp;
+#endif
}));
/// <summary>
var view = (View)bindable;
if (newValue != null)
{
+#if NUI_PROPERTY_CHANGE_1
+ Interop.Actor.InternalSetPropertyBool(view.SwigCPtr, View.Property.DispatchKeyEvents, (bool)newValue);
+#else
Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)view.SwigCPtr, View.Property.DispatchKeyEvents, new Tizen.NUI.PropertyValue((bool)newValue));
+#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var view = (View)bindable;
+#if NUI_PROPERTY_CHANGE_1
+ return Interop.Actor.InternalGetPropertyBool(view.SwigCPtr, View.Property.DispatchKeyEvents);
+#else
bool temp = false;
Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)view.SwigCPtr, View.Property.DispatchKeyEvents).Get(out temp);
return temp;
+#endif
}));
/// <summary>
var view = (View)bindable;
if (newValue != null)
{
+#if NUI_PROPERTY_CHANGE_1
+ Interop.Actor.InternalSetPropertyBool(view.SwigCPtr, View.Property.LeaveRequired, (bool)newValue);
+#else
Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)view.SwigCPtr, View.Property.LeaveRequired, new Tizen.NUI.PropertyValue((bool)newValue));
+#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var view = (View)bindable;
+#if NUI_PROPERTY_CHANGE_1
+ return Interop.Actor.InternalGetPropertyBool(view.SwigCPtr, View.Property.LeaveRequired);
+#else
bool temp = false;
Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)view.SwigCPtr, View.Property.LeaveRequired).Get(out temp);
return temp;
+#endif
}));
/// <summary>
var view = (View)bindable;
if (newValue != null)
{
+#if NUI_PROPERTY_CHANGE_1
+ Interop.Actor.InternalSetPropertyBool(view.SwigCPtr, View.Property.InheritOrientation, (bool)newValue);
+#else
Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)view.SwigCPtr, View.Property.InheritOrientation, new Tizen.NUI.PropertyValue((bool)newValue));
+#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var view = (View)bindable;
+#if NUI_PROPERTY_CHANGE_1
+ return Interop.Actor.InternalGetPropertyBool(view.SwigCPtr, View.Property.InheritOrientation);
+#else
bool temp = false;
Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)view.SwigCPtr, View.Property.InheritOrientation).Get(out temp);
return temp;
+#endif
}));
/// <summary>
var view = (View)bindable;
if (newValue != null)
{
+#if NUI_PROPERTY_CHANGE_1
+ Interop.Actor.InternalSetPropertyBool(view.SwigCPtr, View.Property.InheritScale, (bool)newValue);
+#else
Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)view.SwigCPtr, View.Property.InheritScale, new Tizen.NUI.PropertyValue((bool)newValue));
+#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var view = (View)bindable;
+#if NUI_PROPERTY_CHANGE_1
+ return Interop.Actor.InternalGetPropertyBool(view.SwigCPtr, View.Property.InheritScale);
+#else
bool temp = false;
Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)view.SwigCPtr, View.Property.InheritScale).Get(out temp);
return temp;
+#endif
}));
/// <summary>
var view = (View)bindable;
if (newValue != null)
{
+#if NUI_PROPERTY_CHANGE_1
+ Interop.Actor.InternalSetPropertyInt(view.SwigCPtr, View.Property.DrawMode, (int)newValue);
+#else
Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)view.SwigCPtr, View.Property.DrawMode, new Tizen.NUI.PropertyValue((int)newValue));
+#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var view = (View)bindable;
+#if NUI_PROPERTY_CHANGE_1
+ return (DrawModeType)Interop.Actor.InternalGetPropertyInt(view.SwigCPtr, View.Property.DrawMode);
+#else
int temp;
if (Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)view.SwigCPtr, View.Property.DrawMode).Get(out temp) == false)
{
NUILog.Error("DrawMode get error!");
}
return (DrawModeType)temp;
+#endif
}));
/// <summary>
var view = (View)bindable;
if (newValue != null)
{
+#if NUI_PROPERTY_CHANGE_1
+ Interop.Actor.InternalSetPropertyVector3(view.SwigCPtr, View.Property.SizeModeFactor, ((Vector3)newValue).SwigCPtr);
+#else
var tmp = new PropertyValue((Vector3)newValue);
Object.SetProperty(view.SwigCPtr, Property.SizeModeFactor, tmp);
tmp?.Dispose();
+#endif
}
},
defaultValueCreator: (bindable) =>
{
var view = (View)bindable;
+#if NUI_PROPERTY_CHANGE_1
+ if (view.internalSizeModeFactor == null)
+ {
+ view.internalSizeModeFactor = new Vector3(view.OnSizeModeFactorChanged, 0, 0, 0);
+ }
+ Interop.Actor.InternalRetrievingPropertyVector3(view.SwigCPtr, View.Property.SizeModeFactor, view.internalSizeModeFactor.SwigCPtr);
+#else
if (view.internalSizeModeFactor == null)
{
view.internalSizeModeFactor = new Vector3(view.OnSizeModeFactorChanged, 0, 0, 0);
var tmp = Object.GetProperty(view.SwigCPtr, Property.SizeModeFactor);
tmp?.Get(view.internalSizeModeFactor);
tmp?.Dispose();
-
+#endif
return view.internalSizeModeFactor;
}
);
view.widthConstraint = new EqualConstraintWithParentFloat((System.Runtime.InteropServices.HandleRef)view.SwigCPtr, View.Property.SizeWidth, View.Property.SizeWidth);
view.widthConstraint.Apply();
}
+#if NUI_PROPERTY_CHANGE_1
+ Interop.Actor.InternalSetPropertyInt(view.SwigCPtr, View.Property.WidthResizePolicy, (int)ResizePolicyType.FillToParent);
+#else
Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)view.SwigCPtr, View.Property.WidthResizePolicy, new Tizen.NUI.PropertyValue((int)ResizePolicyType.FillToParent));
+#endif
}
else
{
view.widthConstraint?.Remove();
view.widthConstraint?.Dispose();
view.widthConstraint = null;
+#if NUI_PROPERTY_CHANGE_1
+ Interop.Actor.InternalSetPropertyInt(view.SwigCPtr, View.Property.WidthResizePolicy, (int)newValue);
+#else
Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)view.SwigCPtr, View.Property.WidthResizePolicy, new Tizen.NUI.PropertyValue((int)newValue));
+#endif
}
// Match ResizePolicy to new Layouting.
// Parent relative policies can not be mapped at this point as parent size unknown.
{
var view = (View)bindable;
string temp;
+#if NUI_PROPERTY_CHANGE_1
+ temp = Interop.Actor.InternalGetPropertyString(view.SwigCPtr, View.Property.WidthResizePolicy);
+#else
if (Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)view.SwigCPtr, View.Property.WidthResizePolicy).Get(out temp) == false)
{
NUILog.Error("WidthResizePolicy get error!");
}
+#endif
return temp.GetValueByDescription<ResizePolicyType>();
}));
view.heightConstraint = new EqualConstraintWithParentFloat((System.Runtime.InteropServices.HandleRef)view.SwigCPtr, View.Property.SizeHeight, View.Property.SizeHeight);
view.heightConstraint.Apply();
}
+#if NUI_PROPERTY_CHANGE_1
+ Interop.Actor.InternalSetPropertyInt(view.SwigCPtr, View.Property.HeightResizePolicy, (int)ResizePolicyType.FillToParent);
+#else
Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)view.SwigCPtr, View.Property.HeightResizePolicy, new Tizen.NUI.PropertyValue((int)ResizePolicyType.FillToParent));
+#endif
}
else
{
view.heightConstraint?.Remove();
view.heightConstraint?.Dispose();
view.heightConstraint = null;
+#if NUI_PROPERTY_CHANGE_1
+ Interop.Actor.InternalSetPropertyInt(view.SwigCPtr, View.Property.HeightResizePolicy, (int)newValue);
+#else
Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)view.SwigCPtr, View.Property.HeightResizePolicy, new Tizen.NUI.PropertyValue((int)newValue));
+#endif
}
// Match ResizePolicy to new Layouting.
// Parent relative policies can not be mapped at this point as parent size unknown.
{
var view = (View)bindable;
string temp;
+#if NUI_PROPERTY_CHANGE_1
+ temp = Interop.Actor.InternalGetPropertyString(view.SwigCPtr, View.Property.HeightResizePolicy);
+#else
if (Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)view.SwigCPtr, View.Property.HeightResizePolicy).Get(out temp) == false)
{
NUILog.Error("HeightResizePolicy get error!");
}
+#endif
return temp.GetValueByDescription<ResizePolicyType>();
}));
if (newValue != null)
{
valueToString = ((SizeScalePolicyType)newValue).GetDescription();
+#if NUI_PROPERTY_CHANGE_1
+ Interop.Actor.InternalSetPropertyString(view.SwigCPtr, View.Property.SizeScalePolicy, valueToString);
+#else
Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)view.SwigCPtr, View.Property.SizeScalePolicy, new Tizen.NUI.PropertyValue(valueToString));
+#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var view = (View)bindable;
+#if NUI_PROPERTY_CHANGE_1
+ return (SizeScalePolicyType)Interop.Actor.InternalGetPropertyInt(view.SwigCPtr, View.Property.SizeScalePolicy);
+#else
int temp;
if (Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)view.SwigCPtr, View.Property.SizeScalePolicy).Get(out temp) == false)
{
NUILog.Error("SizeScalePolicy get error!");
}
return (SizeScalePolicyType)temp;
+#endif
}));
/// <summary>
var view = (View)bindable;
if (newValue != null)
{
+#if NUI_PROPERTY_CHANGE_1
+ Interop.Actor.InternalSetPropertyBool(view.SwigCPtr, View.Property.WidthForHeight, (bool)newValue);
+#else
Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)view.SwigCPtr, View.Property.WidthForHeight, new Tizen.NUI.PropertyValue((bool)newValue));
+#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var view = (View)bindable;
+#if NUI_PROPERTY_CHANGE_1
+ return Interop.Actor.InternalGetPropertyBool(view.SwigCPtr, View.Property.WidthForHeight);
+#else
bool temp = false;
Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)view.SwigCPtr, View.Property.WidthForHeight).Get(out temp);
return temp;
+#endif
}));
/// <summary>
var view = (View)bindable;
if (newValue != null)
{
+#if NUI_PROPERTY_CHANGE_1
+ Interop.Actor.InternalSetPropertyBool(view.SwigCPtr, View.Property.HeightForWidth, (bool)newValue);
+#else
Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)view.SwigCPtr, View.Property.HeightForWidth, new Tizen.NUI.PropertyValue((bool)newValue));
+#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var view = (View)bindable;
+#if NUI_PROPERTY_CHANGE_1
+ return Interop.Actor.InternalGetPropertyBool(view.SwigCPtr, View.Property.HeightForWidth);
+#else
bool temp = false;
Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)view.SwigCPtr, View.Property.HeightForWidth).Get(out temp);
return temp;
+#endif
}));
/// <summary>
}
);
-#if NUI_PROPERTY_CHANGE_1
/// <summary>
/// SizeProperty
/// </summary>
view.WidthSpecification = (int)System.Math.Ceiling(((Size)newValue).Width);
view.HeightSpecification = (int)System.Math.Ceiling(((Size)newValue).Height);
- Interop.Actor.InternalSetPropertyVector2(view.SwigCPtr, View.Property.SIZE, ((Size)newValue).SwigCPtr);
+ view.SetSize(((Size)newValue).Width, ((Size)newValue).Height, ((Size)newValue).Depth);
}
},
defaultValueCreator: (bindable) =>
{
var view = (View)bindable;
-
+#if NUI_PROPERTY_CHANGE_1
if (view.internalSize == null)
{
view.internalSize = new Size(view.OnSizeChanged, 0, 0, 0);
}
- Interop.Actor.InternalRetrievingPropertyVector2(view.SwigCPtr, View.Property.SIZE, view.internalSize.SwigCPtr);
- return view.internalSize;
- }
- );
+ Interop.Actor.InternalRetrievingPropertyVector3(view.SwigCPtr, View.Property.SIZE, view.internalSize.SwigCPtr);
#else
- /// <summary>
- /// SizeProperty
- /// </summary>
- [EditorBrowsable(EditorBrowsableState.Never)]
- public static readonly BindableProperty SizeProperty = BindableProperty.Create(nameof(Size), typeof(Size), typeof(View), null,
- propertyChanged: (bindable, oldValue, newValue) =>
- {
- var view = (View)bindable;
- if (newValue != null)
- {
- // Size property setter is only used by user.
- // Framework code uses SetSize() instead of Size property setter.
- // Size set by user is returned by GetUserSize2D() for SuggestedMinimumWidth/Height.
- // SuggestedMinimumWidth/Height is used by Layout calculation.
- view.userSizeWidth = ((Size)newValue).Width;
- view.userSizeHeight = ((Size)newValue).Height;
-
- // Set Specification so when layouts measure this View it matches the value set here.
- // All Views are currently Layouts.
- view.WidthSpecification = (int)System.Math.Ceiling(((Size)newValue).Width);
- view.HeightSpecification = (int)System.Math.Ceiling(((Size)newValue).Height);
-
- view.SetSize(((Size)newValue).Width, ((Size)newValue).Height, ((Size)newValue).Depth);
- }
- },
- defaultValueCreator: (bindable) =>
- {
- var view = (View)bindable;
-
var tmpProperty = Object.GetProperty(view.SwigCPtr, Property.SIZE);
if (view.internalSize == null)
{
}
tmpProperty?.Get(view.internalSize);
tmpProperty?.Dispose();
-
+#endif
return view.internalSize;
}
);
-#endif
+
/// <summary>
/// MinimumSizeProperty
/// </summary>
var view = (View)bindable;
if (newValue != null)
{
+#if NUI_PROPERTY_CHANGE_1
+ Interop.Actor.InternalSetPropertyBool(view.SwigCPtr, View.Property.InheritPosition, (bool)newValue);
+#else
Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)view.SwigCPtr, View.Property.InheritPosition, new Tizen.NUI.PropertyValue((bool)newValue));
+#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var view = (View)bindable;
+#if NUI_PROPERTY_CHANGE_1
+ return Interop.Actor.InternalGetPropertyBool(view.SwigCPtr, View.Property.InheritPosition);
+#else
bool temp = false;
Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)view.SwigCPtr, View.Property.InheritPosition).Get(out temp);
return temp;
+#endif
}));
/// <summary>
var view = (View)bindable;
if (newValue != null)
{
+#if NUI_PROPERTY_CHANGE_1
+ Interop.Actor.InternalSetPropertyInt(view.SwigCPtr, View.Property.ClippingMode, (int)newValue);
+#else
Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)view.SwigCPtr, View.Property.ClippingMode, new Tizen.NUI.PropertyValue((int)newValue));
+#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var view = (View)bindable;
+#if NUI_PROPERTY_CHANGE_1
+ return (ClippingModeType)Interop.Actor.InternalGetPropertyInt(view.SwigCPtr, View.Property.ClippingMode);
+#else
int temp = 0;
if (Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)view.SwigCPtr, View.Property.ClippingMode).Get(out temp) == false)
{
NUILog.Error("ClippingMode get error!");
}
return (ClippingModeType)temp;
+#endif
}));
/// <summary>
var view = (View)bindable;
if (newValue != null)
{
+#if NUI_PROPERTY_CHANGE_1
+ Interop.Actor.InternalSetPropertyBool(view.SwigCPtr, View.Property.InheritLayoutDirection, (bool)newValue);
+#else
Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)view.SwigCPtr, View.Property.InheritLayoutDirection, new Tizen.NUI.PropertyValue((bool)newValue));
+#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var view = (View)bindable;
+#if NUI_PROPERTY_CHANGE_1
+ return Interop.Actor.InternalGetPropertyBool(view.SwigCPtr, View.Property.InheritLayoutDirection);
+#else
bool temp = false;
Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)view.SwigCPtr, View.Property.InheritLayoutDirection).Get(out temp);
return temp;
+#endif
}));
/// <summary>
var view = (View)bindable;
if (newValue != null)
{
+#if NUI_PROPERTY_CHANGE_1
+ Interop.Actor.InternalSetPropertyInt(view.SwigCPtr, View.Property.LayoutDirection, (int)newValue);
+#else
Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)view.SwigCPtr, View.Property.LayoutDirection, new Tizen.NUI.PropertyValue((int)newValue));
+#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var view = (View)bindable;
+#if NUI_PROPERTY_CHANGE_1
+ return (ViewLayoutDirectionType)Interop.Actor.InternalGetPropertyInt(view.SwigCPtr, View.Property.LayoutDirection);
+#else
int temp;
if (false == Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)view.SwigCPtr, View.Property.LayoutDirection).Get(out temp))
{
NUILog.Error("LAYOUT_DIRECTION get error!");
}
return (ViewLayoutDirectionType)temp;
+#endif
}));
/// <summary>
var view = (View)bindable;
if (newValue != null)
{
+#if NUI_PROPERTY_CHANGE_1
+ Interop.Actor.InternalSetPropertyVector4(view.SwigCPtr, Interop.ActorProperty.UpdateAreaHintGet(), ((Vector4)newValue).SwigCPtr);
+#else
Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)view.SwigCPtr, Interop.ActorProperty.UpdateAreaHintGet(), new Tizen.NUI.PropertyValue((Vector4)newValue));
+#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var view = (View)bindable;
Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
+#if NUI_PROPERTY_CHANGE_1
+ Interop.Actor.InternalRetrievingPropertyVector4(view.SwigCPtr, Interop.ActorProperty.UpdateAreaHintGet(), temp.SwigCPtr);
+#else
Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)view.SwigCPtr, Interop.ActorProperty.UpdateAreaHintGet()).Get(temp);
+#endif
return temp;
}));
var view = (View)bindable;
if (newValue != null)
{
+#if NUI_PROPERTY_CHANGE_1
+ Interop.Actor.InternalSetPropertyString(view.SwigCPtr, View.Property.AccessibilityName, (string)newValue);
+#else
Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)view.SwigCPtr, View.Property.AccessibilityName, new Tizen.NUI.PropertyValue((string)newValue));
+#endif
}
},
defaultValueCreator: (bindable) =>
{
var view = (View)bindable;
-
+#if NUI_PROPERTY_CHANGE_1
+ return Interop.Actor.InternalGetPropertyString(view.SwigCPtr, View.Property.AccessibilityName);
+#else
string temp;
Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)view.SwigCPtr, View.Property.AccessibilityName).Get(out temp);
return temp;
+#endif
});
/// <summary>
var view = (View)bindable;
if (newValue != null)
{
+#if NUI_PROPERTY_CHANGE_1
+ Interop.Actor.InternalSetPropertyString(view.SwigCPtr, View.Property.AccessibilityDescription, (string)newValue);
+#else
Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)view.SwigCPtr, View.Property.AccessibilityDescription, new Tizen.NUI.PropertyValue((string)newValue));
+#endif
}
},
defaultValueCreator: (bindable) =>
{
var view = (View)bindable;
-
+#if NUI_PROPERTY_CHANGE_1
+ return Interop.Actor.InternalGetPropertyString(view.SwigCPtr, View.Property.AccessibilityDescription);
+#else
string temp;
Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)view.SwigCPtr, View.Property.AccessibilityDescription).Get(out temp);
return temp;
+#endif
});
/// <summary>
var view = (View)bindable;
if (newValue != null)
{
+#if NUI_PROPERTY_CHANGE_1
+ Interop.Actor.InternalSetPropertyString(view.SwigCPtr, View.Property.AccessibilityTranslationDomain, (string)newValue);
+#else
Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)view.SwigCPtr, View.Property.AccessibilityTranslationDomain, new Tizen.NUI.PropertyValue((string)newValue));
+#endif
}
},
defaultValueCreator: (bindable) =>
{
var view = (View)bindable;
-
+#if NUI_PROPERTY_CHANGE_1
+ return Interop.Actor.InternalGetPropertyString(view.SwigCPtr, View.Property.AccessibilityTranslationDomain);
+#else
string temp;
Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)view.SwigCPtr, View.Property.AccessibilityTranslationDomain).Get(out temp);
return temp;
+#endif
});
/// <summary>
var view = (View)bindable;
if (newValue != null)
{
+#if NUI_PROPERTY_CHANGE_1
+ Interop.Actor.InternalSetPropertyInt(view.SwigCPtr, View.Property.AccessibilityRole, (int)newValue);
+#else
Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)view.SwigCPtr, View.Property.AccessibilityRole, new Tizen.NUI.PropertyValue((int)newValue));
+#endif
}
},
defaultValueCreator: (bindable) =>
{
var view = (View)bindable;
-
+#if NUI_PROPERTY_CHANGE_1
+ return (Role)Interop.Actor.InternalGetPropertyInt(view.SwigCPtr, View.Property.AccessibilityRole);
+#else
int temp = 0;
Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)view.SwigCPtr, View.Property.AccessibilityRole).Get(out temp);
return (Role)temp;
+#endif
});
/// <summary>
var view = (View)bindable;
if (newValue != null)
{
+#if NUI_PROPERTY_CHANGE_1
+ Interop.Actor.InternalSetPropertyBool(view.SwigCPtr, View.Property.AccessibilityHighlightable, (bool)newValue);
+#else
Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)view.SwigCPtr, View.Property.AccessibilityHighlightable, new Tizen.NUI.PropertyValue((bool)newValue));
+#endif
}
},
defaultValueCreator: (bindable) =>
{
var view = (View)bindable;
+#if NUI_PROPERTY_CHANGE_1
+ return Interop.Actor.InternalGetPropertyBool(view.SwigCPtr, View.Property.AccessibilityHighlightable);
+#else
bool temp = false;
Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)view.SwigCPtr, View.Property.AccessibilityHighlightable).Get(out temp);
return temp;
+#endif
});
/// <summary>
var view = (View)bindable;
if (newValue != null)
{
+#if NUI_PROPERTY_CHANGE_1
+ Interop.Actor.InternalSetPropertyBool(view.SwigCPtr, View.Property.AccessibilityHidden, (bool)newValue);
+#else
Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)view.SwigCPtr, View.Property.AccessibilityHidden, new Tizen.NUI.PropertyValue((bool)newValue));
+#endif
}
},
defaultValueCreator: (bindable) =>
{
var view = (View)bindable;
+#if NUI_PROPERTY_CHANGE_1
+ return Interop.Actor.InternalGetPropertyBool(view.SwigCPtr, View.Property.AccessibilityHidden);
+#else
bool temp = false;
Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)view.SwigCPtr, View.Property.AccessibilityHidden).Get(out temp);
return temp;
+#endif
});
/// <summary>
var instance = (Tizen.NUI.BaseComponents.View)bindable;
if (newValue != null)
{
+#if NUI_PROPERTY_CHANGE_1
+ Interop.Actor.InternalSetPropertyString(instance.SwigCPtr, View.Property.AutomationId, (string)newValue);
+#else
Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)instance.SwigCPtr, View.Property.AutomationId, new Tizen.NUI.PropertyValue((string)newValue));
+#endif
}
},
defaultValueCreator: (bindable) =>
{
var instance = (Tizen.NUI.BaseComponents.View)bindable;
+#if NUI_PROPERTY_CHANGE_1
+ return Interop.Actor.InternalGetPropertyString(instance.SwigCPtr, View.Property.AutomationId);
+#else
string temp = "";
Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)instance.SwigCPtr, View.Property.AutomationId).Get(out temp);
return temp;
+#endif
});
/// <summary>
if (backgroundExtraData == null)
{
+#if NUI_PROPERTY_CHANGE_1
+ Interop.Actor.InternalSetPropertyString(SwigCPtr, View.Property.BACKGROUND, value);
+ BackgroundImageSynchronousLoading = backgroundImageSynchronousLoading;
+#else
var propertyValue = new PropertyValue(value);
Object.SetProperty(SwigCPtr, Property.BACKGROUND, propertyValue);
BackgroundImageSynchronousLoading = backgroundImageSynchronousLoading;
propertyValue?.Dispose();
+#endif
return;
}
if (backgroundExtraData == null)
{
+#if NUI_PROPERTY_CHANGE_1
+ Interop.Actor.InternalSetPropertyVector4(SwigCPtr, View.Property.BACKGROUND, ((Color)value).SwigCPtr);
+#else
var background = new PropertyValue(value);
Object.SetProperty(SwigCPtr, Property.BACKGROUND, background);
background?.Dispose();
+#endif
return;
}
{
return;
}
-
+#if NUI_PROPERTY_CHANGE_1
+ Interop.Actor.InternalSetPropertyFloat(SwigCPtr, View.Property.ColorRed, (float)value);
+#else
using var propertyValue = new Tizen.NUI.PropertyValue((float)value);
Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)SwigCPtr, View.Property.ColorRed, propertyValue);
+#endif
if (NDalicPINVOKE.SWIGPendingException.Pending)
throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
{
return;
}
-
+#if NUI_PROPERTY_CHANGE_1
+ Interop.Actor.InternalSetPropertyFloat(SwigCPtr, View.Property.ColorGreen, (float)value);
+#else
using var propertyValue = new Tizen.NUI.PropertyValue((float)value);
Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)SwigCPtr, View.Property.ColorGreen, propertyValue);
+#endif
if (NDalicPINVOKE.SWIGPendingException.Pending)
throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
{
return;
}
-
+#if NUI_PROPERTY_CHANGE_1
+ Interop.Actor.InternalSetPropertyFloat(SwigCPtr, View.Property.ColorBlue, (float)value);
+#else
using var propertyValue = new Tizen.NUI.PropertyValue((float)value);
Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)SwigCPtr, View.Property.ColorBlue, propertyValue);
+#endif
if (NDalicPINVOKE.SWIGPendingException.Pending)
throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
{
return;
}
-
+#if NUI_PROPERTY_CHANGE_1
+ Interop.Actor.InternalSetPropertyFloat(SwigCPtr, View.Property.OPACITY, (float)value);
+#else
Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)SwigCPtr, View.Property.OPACITY, new Tizen.NUI.PropertyValue((float)value));
+#endif
}
private void SetShadow(ShadowBase value)