<LangVersion>8.0</LangVersion>
</PropertyGroup>
<PropertyGroup>
- <DefineConstants>NUI_DEBUG_OFF;NUI_PROPERTY_CHANGE_1;NUI_PROPERTY_CHANGE_2;NUI_PROPERTY_CHANGE_3;NUI_VISUAL_PROPERTY_CHANGE_1;NUI_ANIMATION_PROPERTY_CHANGE_1;</DefineConstants>
+ <DefineConstants>NUI_DEBUG_OFF;</DefineConstants>
</PropertyGroup>
<ItemGroup>
<TizenPreloadFile Include="Tizen.NUI.preload"
Interop.Handle.SetProperty(handle, index, PropertyValue.getCPtr(propertyValue));
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
-#if NUI_PROPERTY_CHANGE_1
+
internal static int InternalSetPropertyString(HandleRef actor, int propertyType, string valString)
{
if (actor.Handle == System.IntPtr.Zero)
}
return ret;
}
-
-#endif
}
}
return PropertyValue.CreateFromObject(refined);
}
-#if NUI_ANIMATION_PROPERTY_CHANGE_1
+
// Refine object as IntPtr of PropertyValue to optimize.
// Warning : This API don't automatically release memory.
internal global::System.IntPtr RefineValueIntPtr(object value)
return PropertyValue.CreateFromObjectIntPtr(refined);
}
-#endif
internal KeyFrames RefineKeyFrames(KeyFrames keyFrames)
{
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Actor_CalculateScreenExtents")]
public static extern global::System.IntPtr CalculateScreenExtents(global::System.Runtime.InteropServices.HandleRef jarg1);
-#if NUI_PROPERTY_CHANGE_1
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Actor_InternalRetrievingPropertyVector2")]
public static extern int InternalRetrievingPropertyVector2(HandleRef actor, int propertyType, HandleRef retrievingVector2);
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Actor_InternalSetPropertyInt")]
public static extern int InternalSetPropertyInt(HandleRef actor, int propertyType, int valInt);
-
-#endif
}
}
}
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_DevelActor_Property_GetTouchAreaOffset")]
public static extern void GetTouchAreaOffset(global::System.Runtime.InteropServices.HandleRef jarg1, out int jarg2, out int jarg3, out int jarg4, out int jarg5);
-#if NUI_PROPERTY_CHANGE_3
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Actor_RetrieveTargetSize")]
public static extern int RetrieveTargetSize(HandleRef actor, HandleRef retrievingVector3);
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Actor_RetrieveCurrentPropertyVector4")]
public static extern int RetrieveCurrentPropertyVector4(HandleRef actor, int propertyType, HandleRef retrievingVector4);
-#endif
-
}
}
}
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Animation_AnimateTo__SWIG_3")]
public static extern void AnimateTo(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5);
-#if NUI_ANIMATION_PROPERTY_CHANGE_1
+
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Animation_AnimateBy__SWIG_0")]
public static extern void AnimateBy(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.IntPtr jarg3);
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Animation_AnimateTo__SWIG_3")]
public static extern void AnimateTo(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.IntPtr jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5);
-#endif
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Animation_AnimateBetween__SWIG_0")]
public static extern void AnimateBetween(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3);
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_delete_Property_Value")]
public static extern void DeletePropertyValue(global::System.Runtime.InteropServices.HandleRef jarg1);
-#if NUI_ANIMATION_PROPERTY_CHANGE_1
+
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_delete_Property_Value")]
public static extern void DeletePropertyValueIntPtr(global::System.IntPtr jarg1);
-#endif
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Property_Value_GetType")]
public static extern int PropertyValueGetType(global::System.Runtime.InteropServices.HandleRef jarg1);
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_View_DoActionExtension")]
public static extern void DoActionExtension(global::System.Runtime.InteropServices.HandleRef control, int visualIndex, int actionId, int id, string keyPath, int property, global::System.IntPtr callback);
-#if NUI_VISUAL_PROPERTY_CHANGE_1
+
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_View_DoActionWithEmptyAttributes")]
public static extern void DoActionWithEmptyAttributes(HandleRef control, int visualIndex, int actionId);
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Actor_InternalRetrievingVisualPropertyVector4")]
public static extern int InternalRetrievingVisualPropertyVector4(HandleRef actor, int visualIndex, int visualPropertyIndex, HandleRef retrievingVector4);
-#endif
}
}
}
var current = result;
while (current != null)
{
-#if NUI_ANIMATION_PROPERTY_CHANGE_1
+
var targetValueIntPtr = current.RefineValueIntPtr(relativeValue);
if (targetValueIntPtr == global::System.IntPtr.Zero)
{
}
AnimateByIntPtr(current.Property, targetValueIntPtr, alphaFunction);
Interop.PropertyValue.DeletePropertyValueIntPtr(targetValueIntPtr);
-#else
- var targetValue = current.RefineValue(relativeValue) ?? throw new ArgumentException("Invalid " + nameof(relativeValue));
- AnimateBy(current.Property, targetValue, alphaFunction);
- targetValue.Dispose();
-#endif
current = current.NextResult;
}
}
using (var time = new TimePeriod(startTime, endTime - startTime))
while (current != null)
{
-#if NUI_ANIMATION_PROPERTY_CHANGE_1
+
var targetValueIntPtr = current.RefineValueIntPtr(relativeValue);
if (targetValueIntPtr == global::System.IntPtr.Zero)
{
}
AnimateByIntPtr(current.Property, targetValueIntPtr, alphaFunction, time);
Interop.PropertyValue.DeletePropertyValueIntPtr(targetValueIntPtr);
-#else
- var targetValue = current.RefineValue(relativeValue) ?? throw new ArgumentException("Invalid " + nameof(relativeValue));
- AnimateBy(current.Property, targetValue, alphaFunction, time);
- targetValue.Dispose();
-#endif
current = current.NextResult;
}
}
var current = result;
while (current != null)
{
-#if NUI_ANIMATION_PROPERTY_CHANGE_1
+
var targetValueIntPtr = current.RefineValueIntPtr(destinationValue);
if (targetValueIntPtr == global::System.IntPtr.Zero)
{
}
AnimateToIntPtr(current.Property, targetValueIntPtr, alphaFunction);
Interop.PropertyValue.DeletePropertyValueIntPtr(targetValueIntPtr);
-#else
- var targetValue = current.RefineValue(destinationValue) ?? throw new ArgumentException("Invalid " + nameof(destinationValue));
- AnimateTo(current.Property, targetValue, alphaFunction);
- targetValue.Dispose();
-#endif
current = current.NextResult;
}
}
using (var time = new TimePeriod(startTime, endTime - startTime))
while (current != null)
{
-#if NUI_ANIMATION_PROPERTY_CHANGE_1
+
var targetValueIntPtr = current.RefineValueIntPtr(destinationValue);
if (targetValueIntPtr == global::System.IntPtr.Zero)
{
}
AnimateToIntPtr(current.Property, targetValueIntPtr, alphaFunction, time);
Interop.PropertyValue.DeletePropertyValueIntPtr(targetValueIntPtr);
-#else
- var targetValue = current.RefineValue(destinationValue) ?? throw new ArgumentException("Invalid " + nameof(destinationValue));
- AnimateTo(current.Property, targetValue, alphaFunction, time);
- targetValue.Dispose();
-#endif
current = current.NextResult;
}
}
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
-#if NUI_ANIMATION_PROPERTY_CHANGE_1
+
internal void AnimateByIntPtr(Property target, global::System.IntPtr relativeValueIntPtr, AlphaFunction alpha)
{
if (alpha == null)
}
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
-#endif
internal void AnimateBetween(Property target, KeyFrames keyFrames)
{
private TriggerableSelector<string> resourceUrlSelector;
private TriggerableSelector<Rectangle> borderSelector;
-#if NUI_PROPERTY_CHANGE_2
private RelativeVector4 internalPixelArea;
-#endif
/// <summary>
/// Creates an initialized ImageView.
{
get
{
-#if NUI_PROPERTY_CHANGE_DEBUG
-PreMultipliedAlphaGetter++;
-#endif
return (bool)GetValue(PreMultipliedAlphaProperty);
}
set
{
-#if NUI_PROPERTY_CHANGE_DEBUG
-PreMultipliedAlphaSetter++;
-#endif
SetValue(PreMultipliedAlphaProperty, value);
NotifyPropertyChanged();
}
{
get
{
-#if NUI_PROPERTY_CHANGE_DEBUG
-PixelAreaGetter++;
-#endif
-
-#if NUI_PROPERTY_CHANGE_2
return (RelativeVector4)GetValue(PixelAreaProperty);
-#else
- RelativeVector4 temp = (RelativeVector4)GetValue(PixelAreaProperty);
- return new RelativeVector4(OnPixelAreaChanged, temp.X, temp.Y, temp.Z, temp.W);
-#endif
}
set
{
-#if NUI_PROPERTY_CHANGE_DEBUG
-PixelAreaSetter++;
-#endif
SetValue(PixelAreaProperty, value);
NotifyPropertyChanged();
}
// Sync as current properties
UpdateImage();
-#if NUI_VISUAL_PROPERTY_CHANGE_1
+
Interop.View.DoActionWithEmptyAttributes(this.SwigCPtr, ImageView.Property.IMAGE, ActionReload);
-#else
- PropertyValue attributes = new PropertyValue(0);
- this.DoAction(ImageView.Property.IMAGE, ActionReload, attributes);
- attributes?.Dispose();
-#endif
}
/// <summary>
// Sync as current properties
UpdateImage();
-#if NUI_VISUAL_PROPERTY_CHANGE_1
+
Interop.View.DoActionWithEmptyAttributes(this.SwigCPtr, ImageView.Property.IMAGE, ActionPlay);
-#else
- PropertyValue attributes = new PropertyValue(0);
- this.DoAction(ImageView.Property.IMAGE, ActionPlay, attributes);
- attributes?.Dispose();
-#endif
}
/// <summary>
// Sync as current properties
UpdateImage();
-#if NUI_VISUAL_PROPERTY_CHANGE_1
+
Interop.View.DoActionWithEmptyAttributes(this.SwigCPtr, ImageView.Property.IMAGE, ActionPause);
-#else
- PropertyValue attributes = new PropertyValue(0);
- this.DoAction(ImageView.Property.IMAGE, ActionPause, attributes);
- attributes?.Dispose();
-#endif
}
/// <summary>
UpdateImage();
-#if NUI_VISUAL_PROPERTY_CHANGE_1
+
Interop.View.DoActionWithEmptyAttributes(this.SwigCPtr, ImageView.Property.IMAGE, ActionStop);
-#else
- PropertyValue attributes = new PropertyValue(0);
- this.DoAction(ImageView.Property.IMAGE, ActionStop, attributes);
- attributes?.Dispose();
-#endif
}
/// <summary>
if (backgroundExtraData == null) return;
-#if NUI_VISUAL_PROPERTY_CHANGE_1
+
// Update corner radius properties to image by ActionUpdateProperty
if (backgroundExtraData.CornerRadius != null)
{
Interop.View.InternalUpdateVisualPropertyVector4(this.SwigCPtr, ImageView.Property.IMAGE, Visual.Property.CornerRadius, Vector4.getCPtr(backgroundExtraData.CornerRadius));
}
Interop.View.InternalUpdateVisualPropertyInt(this.SwigCPtr, ImageView.Property.IMAGE, Visual.Property.CornerRadiusPolicy, (int)backgroundExtraData.CornerRadiusPolicy);
-#else
- // Apply corner radius to IMAGE.
- var cornerRadiusValue = backgroundExtraData.CornerRadius == null ? new PropertyValue() : new PropertyValue(backgroundExtraData.CornerRadius);
- var cornerRadiusPolicyValue = new PropertyValue((int)backgroundExtraData.CornerRadiusPolicy);
-
- // Make current propertyMap
- PropertyMap currentPropertyMap = new PropertyMap();
- currentPropertyMap[Visual.Property.CornerRadius] = cornerRadiusValue;
- currentPropertyMap[Visual.Property.CornerRadiusPolicy] = cornerRadiusPolicyValue;
- var temp = new PropertyValue(currentPropertyMap);
-
- // Update corner radius properties to image by ActionUpdateProperty
- this.DoAction(ImageView.Property.IMAGE, ActionUpdateProperty, temp);
-
- temp.Dispose();
- currentPropertyMap.Dispose();
- cornerRadiusValue.Dispose();
- cornerRadiusPolicyValue.Dispose();
-#endif
}
internal override void ApplyBorderline()
if (backgroundExtraData == null) return;
-#if NUI_VISUAL_PROPERTY_CHANGE_1
+
// Update borderline properties to image by ActionUpdateProperty
Interop.View.InternalUpdateVisualPropertyFloat(this.SwigCPtr, ImageView.Property.IMAGE, Visual.Property.BorderlineWidth, backgroundExtraData.BorderlineWidth);
Interop.View.InternalUpdateVisualPropertyVector4(this.SwigCPtr, ImageView.Property.IMAGE, Visual.Property.BorderlineColor, Vector4.getCPtr(backgroundExtraData.BorderlineColor ?? Color.Black));
Interop.View.InternalUpdateVisualPropertyFloat(this.SwigCPtr, ImageView.Property.IMAGE, Visual.Property.BorderlineOffset, backgroundExtraData.BorderlineOffset);
-#else
- // Apply borderline to IMAGE.
- var borderlineWidthValue = new PropertyValue(backgroundExtraData.BorderlineWidth);
- var borderlineColorValue = backgroundExtraData.BorderlineColor == null ? new PropertyValue(Color.Black) : new PropertyValue(backgroundExtraData.BorderlineColor);
- var borderlineOffsetValue = new PropertyValue(backgroundExtraData.BorderlineOffset);
-
- // Make current propertyMap
- PropertyMap currentPropertyMap = new PropertyMap();
- currentPropertyMap[Visual.Property.BorderlineWidth] = borderlineWidthValue;
- currentPropertyMap[Visual.Property.BorderlineColor] = borderlineColorValue;
- currentPropertyMap[Visual.Property.BorderlineOffset] = borderlineOffsetValue;
- var temp = new PropertyValue(currentPropertyMap);
-
- // Update borderline properties to image by ActionUpdateProperty
- this.DoAction(ImageView.Property.IMAGE, ActionUpdateProperty, temp);
-
- temp.Dispose();
- currentPropertyMap.Dispose();
- borderlineWidthValue.Dispose();
- borderlineColorValue.Dispose();
- borderlineOffsetValue.Dispose();
-#endif
}
internal ResourceLoadingStatusType GetResourceStatus()
return;
}
-#if NUI_PROPERTY_CHANGE_2
internalPixelArea?.Dispose();
-#endif
if (type == DisposeTypes.Explicit)
{
else
{
// Else, we don't need to re-create view. Get value from current ImageView.
-#if NUI_PROPERTY_CHANGE_2
Object.InternalSetPropertyBool(imageView.SwigCPtr, ImageView.Property.PreMultipliedAlpha, (bool)newValue);
-#else
- Tizen.NUI.Object.SetProperty((HandleRef)imageView.SwigCPtr, ImageView.Property.PreMultipliedAlpha, new Tizen.NUI.PropertyValue((bool)newValue));
-#endif
}
}
}),
else
{
// Else, PremultipliedAlpha may not setuped in cached property. Get value from current ImageView.
-#if NUI_PROPERTY_CHANGE_2
temp = Object.InternalGetPropertyBool(imageView.SwigCPtr, ImageView.Property.PreMultipliedAlpha);
-#else
- Tizen.NUI.Object.GetProperty((HandleRef)imageView.SwigCPtr, ImageView.Property.PreMultipliedAlpha).Get(out temp);
-#endif
}
return temp;
}));
var imageView = (ImageView)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyVector4(imageView.SwigCPtr, ImageView.Property.PixelArea, ((RelativeVector4)newValue).SwigCPtr);
-#else
- Tizen.NUI.Object.SetProperty((HandleRef)imageView.SwigCPtr, ImageView.Property.PixelArea, new Tizen.NUI.PropertyValue((RelativeVector4)newValue));
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var imageView = (ImageView)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
if (imageView.internalPixelArea == null)
{
imageView.internalPixelArea = new RelativeVector4(imageView.OnPixelAreaChanged, 0, 0, 0, 0);
}
Object.InternalRetrievingPropertyVector4(imageView.SwigCPtr, ImageView.Property.PixelArea, imageView.internalPixelArea.SwigCPtr);
return imageView.internalPixelArea;
-#else
- Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
- Tizen.NUI.Object.GetProperty((HandleRef)imageView.SwigCPtr, ImageView.Property.PixelArea).Get(temp);
- RelativeVector4 relativeTemp = new RelativeVector4(temp.X, temp.Y, temp.Z, temp.W);
- return relativeTemp;
-#endif
}));
/// Intenal used, will never be opened.
private bool isSettingTextInCSharp = false;
static private string defaultStyleName = "Tizen.NUI.BaseComponents.TextEditor";
-#if NUI_PROPERTY_CHANGE_2
private Color internalPlaceholderTextColor = null;
private Vector4 internalPrimaryCursorColor = null;
private Vector4 internalSecondaryCursorColor = null;
private Vector4 internalTextColor = null;
private Color internalGrabHandleColor = null;
-#endif
static TextEditor() { }
private void SetInternalFontSizeScale(float fontSizeScale)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyFloat(this.SwigCPtr, TextEditor.Property.FontSizeScale, (float)fontSizeScale);
-#else
- using (var property = new Tizen.NUI.PropertyValue((float)fontSizeScale))
- {
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)this.SwigCPtr, TextEditor.Property.FontSizeScale, property);
- }
-#endif
}
/// <summary>
return;
}
-#if NUI_PROPERTY_CHANGE_2
internalPlaceholderTextColor?.Dispose();
internalPrimaryCursorColor?.Dispose();
internalSecondaryCursorColor?.Dispose();
internalInputColor?.Dispose();
internalTextColor?.Dispose();
internalGrabHandleColor?.Dispose();
-#endif
if (systemlangTextFlag)
{
if (newValue != null)
{
textEditor.isSettingTextInCSharp = true;
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyString(textEditor.SwigCPtr, TextEditor.Property.TEXT, (string)newValue);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.TEXT, new Tizen.NUI.PropertyValue((string)newValue));
-#endif
textEditor.isSettingTextInCSharp = false;
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textEditor = (TextEditor)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
return Object.InternalGetPropertyString(textEditor.SwigCPtr, TextEditor.Property.TEXT);
-#else
- string temp;
- Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.TEXT).Get(out temp);
- return temp;
-#endif
}));
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
var textEditor = (TextEditor)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyVector4(textEditor.SwigCPtr, TextEditor.Property.TextColor, ((Vector4)newValue).SwigCPtr);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.TextColor, new Tizen.NUI.PropertyValue((Vector4)newValue));
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textEditor = (TextEditor)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
if (textEditor.internalTextColor == null)
{
textEditor.internalTextColor = new Vector4(0, 0, 0, 0);
}
Object.InternalRetrievingPropertyVector4(textEditor.SwigCPtr, TextEditor.Property.TextColor, textEditor.internalTextColor.SwigCPtr);
return textEditor.internalTextColor;
-#else
-
- Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
- Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.TextColor).Get(temp);
- return temp;
-#endif
}));
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
var textEditor = (TextEditor)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyString(textEditor.SwigCPtr, TextEditor.Property.FontFamily, (string)newValue);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.FontFamily, new Tizen.NUI.PropertyValue((string)newValue));
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textEditor = (TextEditor)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
return Object.InternalGetPropertyString(textEditor.SwigCPtr, TextEditor.Property.FontFamily);
-#else
- string temp;
- Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.FontFamily).Get(out temp);
- return temp;
-#endif
}));
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
var textEditor = (TextEditor)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyFloat(textEditor.SwigCPtr, TextEditor.Property.PointSize, (float)newValue);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.PointSize, new Tizen.NUI.PropertyValue((float)newValue));
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textEditor = (TextEditor)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
return Object.InternalGetPropertyFloat(textEditor.SwigCPtr, TextEditor.Property.PointSize);
-#else
- float temp = 0.0f;
- Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.PointSize).Get(out temp);
- return temp;
-#endif
}));
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
var textEditor = (TextEditor)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyInt(textEditor.SwigCPtr, TextEditor.Property.HorizontalAlignment, (int)newValue);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.HorizontalAlignment, new Tizen.NUI.PropertyValue((int)newValue));
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textEditor = (TextEditor)bindable;
string temp;
-#if NUI_PROPERTY_CHANGE_2
+
temp = Object.InternalGetPropertyString(textEditor.SwigCPtr, TextEditor.Property.HorizontalAlignment);
-#else
- if (Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.HorizontalAlignment).Get(out temp) == false)
- {
- NUILog.Error("HorizontalAlignment get error!");
- }
-#endif
return temp.GetValueByDescription<HorizontalAlignment>();
}));
[EditorBrowsable(EditorBrowsableState.Never)]
var textEditor = (TextEditor)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyInt(textEditor.SwigCPtr, TextEditor.Property.VerticalAlignment, (int)newValue);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.VerticalAlignment, new Tizen.NUI.PropertyValue((int)newValue));
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textEditor = (TextEditor)bindable;
string temp;
-#if NUI_PROPERTY_CHANGE_2
+
temp = Object.InternalGetPropertyString(textEditor.SwigCPtr, TextEditor.Property.VerticalAlignment);
-#else
- if (Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.VerticalAlignment).Get(out temp) == false)
- {
- NUILog.Error("VerticalAlignment get error!");
- }
-#endif
return temp.GetValueByDescription<VerticalAlignment>();
}));
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
var textEditor = (TextEditor)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyFloat(textEditor.SwigCPtr, TextEditor.Property.ScrollThreshold, (float)newValue);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.ScrollThreshold, new Tizen.NUI.PropertyValue((float)newValue));
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textEditor = (TextEditor)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
return Object.InternalGetPropertyFloat(textEditor.SwigCPtr, TextEditor.Property.ScrollThreshold);
-#else
- float temp = 0.0f;
- Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.ScrollThreshold).Get(out temp);
- return temp;
-#endif
}));
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
var textEditor = (TextEditor)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyFloat(textEditor.SwigCPtr, TextEditor.Property.ScrollSpeed, (float)newValue);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.ScrollSpeed, new Tizen.NUI.PropertyValue((float)newValue));
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textEditor = (TextEditor)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
return Object.InternalGetPropertyFloat(textEditor.SwigCPtr, TextEditor.Property.ScrollSpeed);
-#else
- float temp = 0.0f;
- Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.ScrollSpeed).Get(out temp);
- return temp;
-#endif
}));
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
var textEditor = (TextEditor)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyVector4(textEditor.SwigCPtr, TextEditor.Property.PrimaryCursorColor, ((Vector4)newValue).SwigCPtr);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.PrimaryCursorColor, new Tizen.NUI.PropertyValue((Vector4)newValue));
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textEditor = (TextEditor)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
if (textEditor.internalPrimaryCursorColor == null)
{
textEditor.internalPrimaryCursorColor = new Vector4(0, 0, 0, 0);
}
Object.InternalRetrievingPropertyVector4(textEditor.SwigCPtr, TextEditor.Property.PrimaryCursorColor, textEditor.internalPrimaryCursorColor.SwigCPtr);
return textEditor.internalPrimaryCursorColor;
-#else
- Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
- Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.PrimaryCursorColor).Get(temp);
- return temp;
-#endif
}));
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
var textEditor = (TextEditor)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyVector4(textEditor.SwigCPtr, TextEditor.Property.SecondaryCursorColor, ((Vector4)newValue).SwigCPtr);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.SecondaryCursorColor, new Tizen.NUI.PropertyValue((Vector4)newValue));
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textEditor = (TextEditor)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
if (textEditor.internalSecondaryCursorColor == null)
{
textEditor.internalSecondaryCursorColor = new Vector4(0, 0, 0, 0);
}
Object.InternalRetrievingPropertyVector4(textEditor.SwigCPtr, TextEditor.Property.SecondaryCursorColor, textEditor.internalSecondaryCursorColor.SwigCPtr);
return textEditor.internalSecondaryCursorColor;
-#else
- Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
- Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.SecondaryCursorColor).Get(temp);
- return temp;
-#endif
}));
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
var textEditor = (TextEditor)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyBool(textEditor.SwigCPtr, TextEditor.Property.EnableCursorBlink, (bool)newValue);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.EnableCursorBlink, new Tizen.NUI.PropertyValue((bool)newValue));
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textEditor = (TextEditor)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
return Object.InternalGetPropertyBool(textEditor.SwigCPtr, TextEditor.Property.EnableCursorBlink);
-#else
- bool temp = false;
- Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.EnableCursorBlink).Get(out temp);
- return temp;
-#endif
}));
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
var textEditor = (TextEditor)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyFloat(textEditor.SwigCPtr, TextEditor.Property.CursorBlinkInterval, (float)newValue);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.CursorBlinkInterval, new Tizen.NUI.PropertyValue((float)newValue));
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textEditor = (TextEditor)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
return Object.InternalGetPropertyFloat(textEditor.SwigCPtr, TextEditor.Property.CursorBlinkInterval);
-#else
- float temp = 0.0f;
- Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.CursorBlinkInterval).Get(out temp);
- return temp;
-#endif
}));
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
var textEditor = (TextEditor)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyFloat(textEditor.SwigCPtr, TextEditor.Property.CursorBlinkDuration, (float)newValue);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.CursorBlinkDuration, new Tizen.NUI.PropertyValue((float)newValue));
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textEditor = (TextEditor)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
return Object.InternalGetPropertyFloat(textEditor.SwigCPtr, TextEditor.Property.CursorBlinkDuration);
-#else
- float temp = 0.0f;
- Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.CursorBlinkDuration).Get(out temp);
- return temp;
-#endif
}));
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
var textEditor = (TextEditor)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyInt(textEditor.SwigCPtr, TextEditor.Property.CursorWidth, (int)newValue);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.CursorWidth, new Tizen.NUI.PropertyValue((int)newValue));
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textEditor = (TextEditor)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
return Object.InternalGetPropertyInt(textEditor.SwigCPtr, TextEditor.Property.CursorWidth);
-#else
- int temp = 0;
- Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.CursorWidth).Get(out temp);
- return temp;
-#endif
}));
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
var textEditor = (TextEditor)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyString(textEditor.SwigCPtr, TextEditor.Property.GrabHandleImage, (string)newValue);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.GrabHandleImage, new Tizen.NUI.PropertyValue((string)newValue));
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textEditor = (TextEditor)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
return Object.InternalGetPropertyString(textEditor.SwigCPtr, TextEditor.Property.GrabHandleImage);
-#else
- string temp;
- Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.GrabHandleImage).Get(out temp);
- return temp;
-#endif
}));
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
var textEditor = (TextEditor)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyString(textEditor.SwigCPtr, TextEditor.Property.GrabHandlePressedImage, (string)newValue);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.GrabHandlePressedImage, new Tizen.NUI.PropertyValue((string)newValue));
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textEditor = (TextEditor)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
return Object.InternalGetPropertyString(textEditor.SwigCPtr, TextEditor.Property.GrabHandlePressedImage);
-#else
- string temp;
- Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.GrabHandlePressedImage).Get(out temp);
- return temp;
-#endif
}));
[EditorBrowsable(EditorBrowsableState.Never)]
var textEditor = (TextEditor)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyVector4(textEditor.SwigCPtr, TextEditor.Property.SelectionHighlightColor, ((Vector4)newValue).SwigCPtr);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.SelectionHighlightColor, new Tizen.NUI.PropertyValue((Vector4)newValue));
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textEditor = (TextEditor)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
if (textEditor.internalSelectionHighlightColor == null)
{
textEditor.internalSelectionHighlightColor = new Vector4(0, 0, 0, 0);
}
Object.InternalRetrievingPropertyVector4(textEditor.SwigCPtr, TextEditor.Property.SelectionHighlightColor, textEditor.internalSelectionHighlightColor.SwigCPtr);
return textEditor.internalSelectionHighlightColor;
-#else
- Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
- Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.SelectionHighlightColor).Get(temp);
- return temp;
-#endif
}));
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
var textEditor = (TextEditor)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyBool(textEditor.SwigCPtr, TextEditor.Property.EnableMarkup, (bool)newValue);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.EnableMarkup, new Tizen.NUI.PropertyValue((bool)newValue));
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textEditor = (TextEditor)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
return Object.InternalGetPropertyBool(textEditor.SwigCPtr, TextEditor.Property.EnableMarkup);
-#else
- bool temp = false;
- Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.EnableMarkup).Get(out temp);
- return temp;
-#endif
}));
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
var textEditor = (TextEditor)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyVector4(textEditor.SwigCPtr, TextEditor.Property.InputColor, ((Vector4)newValue).SwigCPtr);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.InputColor, new Tizen.NUI.PropertyValue((Vector4)newValue));
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textEditor = (TextEditor)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
if (textEditor.internalInputColor == null)
{
textEditor.internalInputColor = new Vector4(0, 0, 0, 0);
}
Object.InternalRetrievingPropertyVector4(textEditor.SwigCPtr, TextEditor.Property.InputColor, textEditor.internalInputColor.SwigCPtr);
return textEditor.internalInputColor;
-#else
- Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
- Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.InputColor).Get(temp);
- return temp;
-#endif
}));
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
var textEditor = (TextEditor)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyString(textEditor.SwigCPtr, TextEditor.Property.InputFontFamily, (string)newValue);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.InputFontFamily, new Tizen.NUI.PropertyValue((string)newValue));
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textEditor = (TextEditor)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
return Object.InternalGetPropertyString(textEditor.SwigCPtr, TextEditor.Property.InputFontFamily);
-#else
- string temp;
- Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.InputFontFamily).Get(out temp);
- return temp;
-#endif
}));
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
var textEditor = (TextEditor)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyFloat(textEditor.SwigCPtr, TextEditor.Property.InputPointSize, (float)newValue);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.InputPointSize, new Tizen.NUI.PropertyValue((float)newValue));
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textEditor = (TextEditor)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
return Object.InternalGetPropertyFloat(textEditor.SwigCPtr, TextEditor.Property.InputPointSize);
-#else
- float temp = 0.0f;
- Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.InputPointSize).Get(out temp);
- return temp;
-#endif
}));
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
var textEditor = (TextEditor)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyFloat(textEditor.SwigCPtr, TextEditor.Property.LineSpacing, (float)newValue);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.LineSpacing, new Tizen.NUI.PropertyValue((float)newValue));
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textEditor = (TextEditor)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
return Object.InternalGetPropertyFloat(textEditor.SwigCPtr, TextEditor.Property.LineSpacing);
-#else
- float temp = 0.0f;
- Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.LineSpacing).Get(out temp);
- return temp;
-#endif
}));
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
var textEditor = (TextEditor)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyFloat(textEditor.SwigCPtr, TextEditor.Property.InputLineSpacing, (float)newValue);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.InputLineSpacing, new Tizen.NUI.PropertyValue((float)newValue));
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textEditor = (TextEditor)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
return Object.InternalGetPropertyFloat(textEditor.SwigCPtr, TextEditor.Property.InputLineSpacing);
-#else
- float temp = 0.0f;
- Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.InputLineSpacing).Get(out temp);
- return temp;
-#endif
}));
[EditorBrowsable(EditorBrowsableState.Never)]
public static readonly BindableProperty RelativeLineHeightProperty = BindableProperty.Create(nameof(RelativeLineHeight), typeof(float), typeof(TextEditor), default(float), propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
var textEditor = (TextEditor)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyFloat(textEditor.SwigCPtr, TextEditor.Property.RelativeLineHeight, (float)newValue);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.RelativeLineHeight, new Tizen.NUI.PropertyValue((float)newValue));
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textEditor = (TextEditor)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
return Object.InternalGetPropertyFloat(textEditor.SwigCPtr, TextEditor.Property.RelativeLineHeight);
-#else
- float temp = 0.0f;
- Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.RelativeLineHeight).Get(out temp);
- return temp;
-#endif
}));
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
var textEditor = (TextEditor)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyString(textEditor.SwigCPtr, TextEditor.Property.InputUnderline, (string)newValue);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.InputUnderline, new Tizen.NUI.PropertyValue((string)newValue));
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textEditor = (TextEditor)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
return Object.InternalGetPropertyString(textEditor.SwigCPtr, TextEditor.Property.InputUnderline);
-#else
- string temp;
- Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.InputUnderline).Get(out temp);
- return temp;
-#endif
}));
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
var textEditor = (TextEditor)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyString(textEditor.SwigCPtr, TextEditor.Property.InputShadow, (string)newValue);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.InputShadow, new Tizen.NUI.PropertyValue((string)newValue));
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textEditor = (TextEditor)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
return Object.InternalGetPropertyString(textEditor.SwigCPtr, TextEditor.Property.InputShadow);
-#else
- string temp;
- Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.InputShadow).Get(out temp);
- return temp;
-#endif
}));
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
var textEditor = (TextEditor)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyString(textEditor.SwigCPtr, TextEditor.Property.EMBOSS, (string)newValue);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.EMBOSS, new Tizen.NUI.PropertyValue((string)newValue));
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textEditor = (TextEditor)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
return Object.InternalGetPropertyString(textEditor.SwigCPtr, TextEditor.Property.EMBOSS);
-#else
- string temp;
- Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.EMBOSS).Get(out temp);
- return temp;
-#endif
}));
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
var textEditor = (TextEditor)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyString(textEditor.SwigCPtr, TextEditor.Property.InputEmboss, (string)newValue);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.InputEmboss, new Tizen.NUI.PropertyValue((string)newValue));
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textEditor = (TextEditor)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
return Object.InternalGetPropertyString(textEditor.SwigCPtr, TextEditor.Property.InputEmboss);
-#else
- string temp;
- Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.InputEmboss).Get(out temp);
- return temp;
-#endif
}));
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
var textEditor = (TextEditor)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyString(textEditor.SwigCPtr, TextEditor.Property.InputOutline, (string)newValue);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.InputOutline, new Tizen.NUI.PropertyValue((string)newValue));
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textEditor = (TextEditor)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
return Object.InternalGetPropertyString(textEditor.SwigCPtr, TextEditor.Property.InputOutline);
-#else
- string temp;
- Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.InputOutline).Get(out temp);
- return temp;
-#endif
}));
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
var textEditor = (TextEditor)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyBool(textEditor.SwigCPtr, TextEditor.Property.SmoothScroll, (bool)newValue);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.SmoothScroll, new Tizen.NUI.PropertyValue((bool)newValue));
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textEditor = (TextEditor)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
return Object.InternalGetPropertyBool(textEditor.SwigCPtr, TextEditor.Property.SmoothScroll);
-#else
- bool temp = false;
- Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.SmoothScroll).Get(out temp);
- return temp;
-#endif
}));
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
var textEditor = (TextEditor)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyFloat(textEditor.SwigCPtr, TextEditor.Property.SmoothScrollDuration, (float)newValue);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.SmoothScrollDuration, new Tizen.NUI.PropertyValue((float)newValue));
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textEditor = (TextEditor)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
return Object.InternalGetPropertyFloat(textEditor.SwigCPtr, TextEditor.Property.SmoothScrollDuration);
-#else
- float temp = 0.0f;
- Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.SmoothScrollDuration).Get(out temp);
- return temp;
-#endif
}));
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
var textEditor = (TextEditor)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyBool(textEditor.SwigCPtr, TextEditor.Property.EnableScrollBar, (bool)newValue);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.EnableScrollBar, new Tizen.NUI.PropertyValue((bool)newValue));
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textEditor = (TextEditor)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
return Object.InternalGetPropertyBool(textEditor.SwigCPtr, TextEditor.Property.EnableScrollBar);
-#else
- bool temp = false;
- Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.EnableScrollBar).Get(out temp);
- return temp;
-#endif
}));
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
var textEditor = (TextEditor)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyFloat(textEditor.SwigCPtr, TextEditor.Property.ScrollBarShowDuration, (float)newValue);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.ScrollBarShowDuration, new Tizen.NUI.PropertyValue((float)newValue));
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textEditor = (TextEditor)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
return Object.InternalGetPropertyFloat(textEditor.SwigCPtr, TextEditor.Property.ScrollBarShowDuration);
-#else
- float temp = 0.0f;
- Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.ScrollBarShowDuration).Get(out temp);
- return temp;
-#endif
}));
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
var textEditor = (TextEditor)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyFloat(textEditor.SwigCPtr, TextEditor.Property.ScrollBarFadeDuration, (float)newValue);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.ScrollBarFadeDuration, new Tizen.NUI.PropertyValue((float)newValue));
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textEditor = (TextEditor)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
return Object.InternalGetPropertyFloat(textEditor.SwigCPtr, TextEditor.Property.ScrollBarFadeDuration);
-#else
- float temp = 0.0f;
- Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.ScrollBarFadeDuration).Get(out temp);
- return temp;
-#endif
}));
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
var textEditor = (TextEditor)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyFloat(textEditor.SwigCPtr, TextEditor.Property.PixelSize, (float)newValue);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.PixelSize, new Tizen.NUI.PropertyValue((float)newValue));
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textEditor = (TextEditor)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
return Object.InternalGetPropertyFloat(textEditor.SwigCPtr, TextEditor.Property.PixelSize);
-#else
- float temp = 0.0f;
- Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.PixelSize).Get(out temp);
- return temp;
-#endif
}));
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
var textEditor = (TextEditor)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyString(textEditor.SwigCPtr, TextEditor.Property.PlaceholderText, (string)newValue);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.PlaceholderText, new Tizen.NUI.PropertyValue((string)newValue));
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textEditor = (TextEditor)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
return Object.InternalGetPropertyString(textEditor.SwigCPtr, TextEditor.Property.PlaceholderText);
-#else
- string temp;
- Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.PlaceholderText).Get(out temp);
- return temp;
-#endif
}));
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
var textEditor = (TextEditor)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyVector4(textEditor.SwigCPtr, TextEditor.Property.PlaceholderTextColor, ((Color)newValue).SwigCPtr);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.PlaceholderTextColor, new Tizen.NUI.PropertyValue((Color)newValue));
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textEditor = (TextEditor)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
if (textEditor.internalPlaceholderTextColor == null)
{
textEditor.internalPlaceholderTextColor = new Color(0, 0, 0, 0);
}
Object.InternalRetrievingPropertyVector4(textEditor.SwigCPtr, TextEditor.Property.PlaceholderTextColor, textEditor.internalPlaceholderTextColor.SwigCPtr);
return textEditor.internalPlaceholderTextColor;
-#else
- Color temp = new Color(0.0f, 0.0f, 0.0f, 0.0f);
- Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.PlaceholderTextColor).Get(temp);
- return temp;
-#endif
}));
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
var textEditor = (TextEditor)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyBool(textEditor.SwigCPtr, TextEditor.Property.EnableSelection, (bool)newValue);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.EnableSelection, new Tizen.NUI.PropertyValue((bool)newValue));
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textEditor = (TextEditor)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
return Object.InternalGetPropertyBool(textEditor.SwigCPtr, TextEditor.Property.EnableSelection);
-#else
- bool temp = false;
- Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.EnableSelection).Get(out temp);
- return temp;
-#endif
}));
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
var textEditor = (TextEditor)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyInt(textEditor.SwigCPtr, TextEditor.Property.LineWrapMode, (int)newValue);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.LineWrapMode, new Tizen.NUI.PropertyValue((int)newValue));
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textEditor = (TextEditor)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
return Object.InternalGetPropertyInt(textEditor.SwigCPtr, TextEditor.Property.LineWrapMode);
-#else
- int temp;
- if (Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.LineWrapMode).Get(out temp) == false)
- {
- NUILog.Error("LineWrapMode get error!");
- }
- return (LineWrapMode)temp;
-#endif
}));
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
var textEditor = (TextEditor)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyBool(textEditor.SwigCPtr, TextEditor.Property.EnableShiftSelection, (bool)newValue);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.EnableShiftSelection, new Tizen.NUI.PropertyValue((bool)newValue));
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textEditor = (TextEditor)bindable;
//textEditor.mShiftSelectionFlag(true);
-#if NUI_PROPERTY_CHANGE_2
+
return Object.InternalGetPropertyBool(textEditor.SwigCPtr, TextEditor.Property.EnableShiftSelection);
-#else
- bool temp = false;
- Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.EnableShiftSelection).Get(out temp);
- return temp;
-#endif
}));
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
var textEditor = (TextEditor)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyBool(textEditor.SwigCPtr, TextEditor.Property.MatchSystemLanguageDirection, (bool)newValue);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.MatchSystemLanguageDirection, new Tizen.NUI.PropertyValue((bool)newValue));
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textEditor = (TextEditor)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
return Object.InternalGetPropertyBool(textEditor.SwigCPtr, TextEditor.Property.MatchSystemLanguageDirection);
-#else
- bool temp = false;
- Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.MatchSystemLanguageDirection).Get(out temp);
- return (bool)temp;
-#endif
}));
/// This will be public opened in tizen_6.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
var textEditor = (TextEditor)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyInt(textEditor.SwigCPtr, TextEditor.Property.MaxLength, (int)newValue);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.MaxLength, new Tizen.NUI.PropertyValue((int)newValue));
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textEditor = (TextEditor)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
return Object.InternalGetPropertyInt(textEditor.SwigCPtr, TextEditor.Property.MaxLength);
-#else
- int temp = 0;
- Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.MaxLength).Get(out temp);
- return temp;
-#endif
}));
[EditorBrowsable(EditorBrowsableState.Never)]
var textEditor = (TextEditor)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyBool(textEditor.SwigCPtr, TextEditor.Property.EnableFontSizeScale, (bool)newValue);
-#else
- using (var property = new Tizen.NUI.PropertyValue((bool)newValue))
- {
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.EnableFontSizeScale, property);
- }
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textEditor = (TextEditor)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
return Object.InternalGetPropertyBool(textEditor.SwigCPtr, TextEditor.Property.EnableFontSizeScale);
-#else
- bool temp;
- Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.EnableFontSizeScale).Get(out temp);
- return temp;
-#endif
}));
/// This will be public opened in tizen_6.5 after ACR done. Before ACR, need to be hidden as inhouse API.
var textEditor = (TextEditor)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyVector4(textEditor.SwigCPtr, TextEditor.Property.GrabHandleColor, ((Color)newValue).SwigCPtr);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.GrabHandleColor, new Tizen.NUI.PropertyValue((Color)newValue));
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textEditor = (TextEditor)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
if (textEditor.internalGrabHandleColor == null)
{
textEditor.internalGrabHandleColor = new Color(0, 0, 0, 0);
}
Object.InternalRetrievingPropertyVector4(textEditor.SwigCPtr, TextEditor.Property.GrabHandleColor, textEditor.internalGrabHandleColor.SwigCPtr);
return textEditor.internalGrabHandleColor;
-#else
- Color temp = new Color(0.0f, 0.0f, 0.0f, 0.0f);
- Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.GrabHandleColor).Get(temp);
- return temp;
-#endif
}));
[EditorBrowsable(EditorBrowsableState.Never)]
var textEditor = (TextEditor)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyBool(textEditor.SwigCPtr, TextEditor.Property.EnableGrabHandle, (bool)newValue);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.EnableGrabHandle, new Tizen.NUI.PropertyValue((bool)newValue));
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textEditor = (TextEditor)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
return Object.InternalGetPropertyBool(textEditor.SwigCPtr, TextEditor.Property.EnableGrabHandle);
-#else
- bool temp = false;
- Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.EnableGrabHandle).Get(out temp);
- return temp;
-#endif
}));
[EditorBrowsable(EditorBrowsableState.Never)]
var textEditor = (TextEditor)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyBool(textEditor.SwigCPtr, TextEditor.Property.EnableGrabHandlePopup, (bool)newValue);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.EnableGrabHandlePopup, new Tizen.NUI.PropertyValue((bool)newValue));
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textEditor = (TextEditor)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
return Object.InternalGetPropertyBool(textEditor.SwigCPtr, TextEditor.Property.EnableGrabHandlePopup);
-#else
- bool temp = false;
- Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.EnableGrabHandlePopup).Get(out temp);
- return temp;
-#endif
}));
[EditorBrowsable(EditorBrowsableState.Never)]
var textEditor = (TextEditor)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyBool(textEditor.SwigCPtr, TextEditor.Property.ELLIPSIS, (bool)newValue);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.ELLIPSIS, new Tizen.NUI.PropertyValue((bool)newValue));
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textEditor = (TextEditor)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
return Object.InternalGetPropertyBool(textEditor.SwigCPtr, TextEditor.Property.ELLIPSIS);
-#else
- bool temp = false;
- Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.ELLIPSIS).Get(out temp);
- return temp;
-#endif
}));
/// This will be public opened in tizen_6.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
var textEditor = (TextEditor)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyInt(textEditor.SwigCPtr, TextEditor.Property.EllipsisPosition, (int)newValue);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.EllipsisPosition, new Tizen.NUI.PropertyValue((int)newValue));
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textEditor = (TextEditor)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
return Object.InternalGetPropertyInt(textEditor.SwigCPtr, TextEditor.Property.EllipsisPosition);
-#else
- int temp = 0;
- Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.EllipsisPosition).Get(out temp);
- return (EllipsisPosition)temp;
-#endif
}));
/// currently need to be hidden as inhouse API.
var textEditor = (TextEditor)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyFloat(textEditor.SwigCPtr, TextEditor.Property.MinLineSize, (float)newValue);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.MinLineSize, new Tizen.NUI.PropertyValue((float)newValue));
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textEditor = (TextEditor)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
return Object.InternalGetPropertyFloat(textEditor.SwigCPtr, TextEditor.Property.MinLineSize);
-#else
- float temp = 0.0f;
- Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.MinLineSize).Get(out temp);
- return temp;
-#endif
}));
/// <summary>
var textEditor = (TextEditor)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyFloat(textEditor.SwigCPtr, TextEditor.Property.CharacterSpacing, (float)newValue);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.CharacterSpacing, new Tizen.NUI.PropertyValue((float)newValue));
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textEditor = (TextEditor)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
return Object.InternalGetPropertyFloat(textEditor.SwigCPtr, TextEditor.Property.CharacterSpacing);
-#else
- float temp = 0;
- Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.CharacterSpacing).Get(out temp);
- return temp;
-#endif
}));
}
}
private bool isSettingTextInCSharp = false;
static private string defaultStyleName = "Tizen.NUI.BaseComponents.TextField";
-#if NUI_PROPERTY_CHANGE_2
+
private Vector4 internalPlaceholderTextColor = null;
private Vector4 internalPrimaryCursorColor = null;
private Vector4 internalSecondaryCursorColor = null;
private Color internalTextColor = null;
private Color internalGrabHandleColor = null;
-#endif
static TextField() { }
private void SetInternalFontSizeScale(float fontSizeScale)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyFloat(this.SwigCPtr, TextField.Property.FontSizeScale, (float)fontSizeScale);
-#else
- using (var property = new Tizen.NUI.PropertyValue((float)fontSizeScale))
- {
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)this.SwigCPtr, TextField.Property.FontSizeScale, property);
- }
-#endif
}
/// <summary>
return;
}
-#if NUI_PROPERTY_CHANGE_2
+
internalPlaceholderTextColor?.Dispose();
internalPrimaryCursorColor?.Dispose();
internalSecondaryCursorColor?.Dispose();
internalInputColor?.Dispose();
internalTextColor?.Dispose();
internalGrabHandleColor?.Dispose();
-#endif
if (systemlangTextFlag)
{
if (newValue != null)
{
textField.isSettingTextInCSharp = true;
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyString(textField.SwigCPtr, TextField.Property.TEXT, (string)newValue);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.TEXT, new Tizen.NUI.PropertyValue((string)newValue));
-#endif
textField.isSettingTextInCSharp = false;
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textField = (TextField)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
return Object.InternalGetPropertyString(textField.SwigCPtr, TextField.Property.TEXT);
-#else
- string temp;
- Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.TEXT).Get(out temp);
- return temp;
-#endif
}));
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
var textField = (TextField)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyString(textField.SwigCPtr, TextField.Property.PlaceholderText, (string)newValue);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.PlaceholderText, new Tizen.NUI.PropertyValue((string)newValue));
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textField = (TextField)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
return Object.InternalGetPropertyString(textField.SwigCPtr, TextField.Property.PlaceholderText);
-#else
- string temp;
- Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.PlaceholderText).Get(out temp);
- return temp;
-#endif
}));
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
var textField = (TextField)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyString(textField.SwigCPtr, TextField.Property.PlaceholderTextFocused, (string)newValue);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.PlaceholderTextFocused, new Tizen.NUI.PropertyValue((string)newValue));
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textField = (TextField)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
return Object.InternalGetPropertyString(textField.SwigCPtr, TextField.Property.PlaceholderTextFocused);
-#else
- string temp;
- Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.PlaceholderTextFocused).Get(out temp);
- return temp;
-#endif
}));
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
var textField = (TextField)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyString(textField.SwigCPtr, TextField.Property.FontFamily, (string)newValue);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.FontFamily, new Tizen.NUI.PropertyValue((string)newValue));
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textField = (TextField)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
return Object.InternalGetPropertyString(textField.SwigCPtr, TextField.Property.FontFamily);
-#else
- string temp;
- Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.FontFamily).Get(out temp);
- return temp;
-#endif
}));
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
var textField = (TextField)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyFloat(textField.SwigCPtr, TextField.Property.PointSize, (float)newValue);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.PointSize, new Tizen.NUI.PropertyValue((float)newValue));
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textField = (TextField)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
return Object.InternalGetPropertyFloat(textField.SwigCPtr, TextField.Property.PointSize);
-#else
- float temp = 0.0f;
- Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.PointSize).Get(out temp);
- return temp;
-#endif
}));
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
var textField = (TextField)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyInt(textField.SwigCPtr, TextField.Property.MaxLength, (int)newValue);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.MaxLength, new Tizen.NUI.PropertyValue((int)newValue));
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textField = (TextField)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
return Object.InternalGetPropertyInt(textField.SwigCPtr, TextField.Property.MaxLength);
-#else
- int temp = 0;
- Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.MaxLength).Get(out temp);
- return temp;
-#endif
}));
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
var textField = (TextField)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyInt(textField.SwigCPtr, TextField.Property.ExceedPolicy, (int)newValue);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.ExceedPolicy, new Tizen.NUI.PropertyValue((int)newValue));
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textField = (TextField)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
return Object.InternalGetPropertyInt(textField.SwigCPtr, TextField.Property.ExceedPolicy);
-#else
- int temp = 0;
- Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.ExceedPolicy).Get(out temp);
- return temp;
-#endif
}));
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
var textField = (TextField)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyInt(textField.SwigCPtr, TextField.Property.HorizontalAlignment, (int)newValue);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.HorizontalAlignment, new Tizen.NUI.PropertyValue((int)newValue));
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textField = (TextField)bindable;
string temp;
-#if NUI_PROPERTY_CHANGE_2
+
temp = Object.InternalGetPropertyString(textField.SwigCPtr, TextField.Property.HorizontalAlignment);
-#else
- if (Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.HorizontalAlignment).Get(out temp) == false)
- {
- NUILog.Error("HorizontalAlignment get error!");
- }
-#endif
return temp.GetValueByDescription<HorizontalAlignment>();
}));
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
var textField = (TextField)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyInt(textField.SwigCPtr, TextField.Property.VerticalAlignment, (int)newValue);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.VerticalAlignment, new Tizen.NUI.PropertyValue((int)newValue));
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textField = (TextField)bindable;
string temp;
-#if NUI_PROPERTY_CHANGE_2
+
temp = Object.InternalGetPropertyString(textField.SwigCPtr, TextField.Property.VerticalAlignment);
-#else
- if (Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.VerticalAlignment).Get(out temp) == false)
- {
- NUILog.Error("VerticalAlignment get error!");
- }
-#endif
return temp.GetValueByDescription<VerticalAlignment>();
}));
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
var textField = (TextField)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyVector4(textField.SwigCPtr, TextField.Property.TextColor, ((Color)newValue).SwigCPtr);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.TextColor, new Tizen.NUI.PropertyValue((Color)newValue));
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textField = (TextField)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
if (textField.internalTextColor == null)
{
textField.internalTextColor = new Color(0, 0, 0, 0);
}
Object.InternalRetrievingPropertyVector4(textField.SwigCPtr, TextField.Property.TextColor, textField.internalTextColor.SwigCPtr);
return textField.internalTextColor;
-
-#else
- Color temp = new Color(0.0f, 0.0f, 0.0f, 0.0f);
- Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.TextColor).Get(temp);
- return temp;
-#endif
}));
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
var textField = (TextField)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyVector4(textField.SwigCPtr, TextField.Property.PlaceholderTextColor, ((Vector4)newValue).SwigCPtr);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.PlaceholderTextColor, new Tizen.NUI.PropertyValue((Vector4)newValue));
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textField = (TextField)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
if (textField.internalPlaceholderTextColor == null)
{
textField.internalPlaceholderTextColor = new Vector4(0, 0, 0, 0);
}
Object.InternalRetrievingPropertyVector4(textField.SwigCPtr, TextField.Property.PlaceholderTextColor, textField.internalPlaceholderTextColor.SwigCPtr);
return textField.internalPlaceholderTextColor;
-#else
- Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
- Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.PlaceholderTextColor).Get(temp);
- return temp;
-#endif
}));
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
var textField = (TextField)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyBool(textField.SwigCPtr, TextField.Property.EnableGrabHandle, (bool)newValue);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.EnableGrabHandle, new Tizen.NUI.PropertyValue((bool)newValue));
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textField = (TextField)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
return Object.InternalGetPropertyBool(textField.SwigCPtr, TextField.Property.EnableGrabHandle);
-#else
- bool temp = false;
- Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.EnableGrabHandle).Get(out temp);
- return temp;
-#endif
}));
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
var textField = (TextField)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyBool(textField.SwigCPtr, TextField.Property.EnableGrabHandlePopup, (bool)newValue);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.EnableGrabHandlePopup, new Tizen.NUI.PropertyValue((bool)newValue));
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textField = (TextField)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
return Object.InternalGetPropertyBool(textField.SwigCPtr, TextField.Property.EnableGrabHandlePopup);
-#else
- bool temp = false;
- Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.EnableGrabHandlePopup).Get(out temp);
- return temp;
-#endif
}));
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
var textField = (TextField)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyVector4(textField.SwigCPtr, TextField.Property.PrimaryCursorColor, ((Vector4)newValue).SwigCPtr);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.PrimaryCursorColor, new Tizen.NUI.PropertyValue((Vector4)newValue));
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textField = (TextField)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
if (textField.internalPrimaryCursorColor == null)
{
textField.internalPrimaryCursorColor = new Vector4(0, 0, 0, 0);
}
Object.InternalRetrievingPropertyVector4(textField.SwigCPtr, TextField.Property.PrimaryCursorColor, textField.internalPrimaryCursorColor.SwigCPtr);
return textField.internalPrimaryCursorColor;
-#else
- Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
- Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.PrimaryCursorColor).Get(temp);
- return temp;
-#endif
}));
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
var textField = (TextField)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyVector4(textField.SwigCPtr, TextField.Property.SecondaryCursorColor, ((Vector4)newValue).SwigCPtr);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.SecondaryCursorColor, new Tizen.NUI.PropertyValue((Vector4)newValue));
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textField = (TextField)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
if (textField.internalSecondaryCursorColor == null)
{
textField.internalSecondaryCursorColor = new Vector4(0, 0, 0, 0);
}
Object.InternalRetrievingPropertyVector4(textField.SwigCPtr, TextField.Property.SecondaryCursorColor, textField.internalSecondaryCursorColor.SwigCPtr);
return textField.internalSecondaryCursorColor;
-#else
- Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
- Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.SecondaryCursorColor).Get(temp);
- return temp;
-#endif
}));
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
var textField = (TextField)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyBool(textField.SwigCPtr, TextField.Property.EnableCursorBlink, (bool)newValue);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.EnableCursorBlink, new Tizen.NUI.PropertyValue((bool)newValue));
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textField = (TextField)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
return Object.InternalGetPropertyBool(textField.SwigCPtr, TextField.Property.EnableCursorBlink);
-#else
- bool temp = false;
- Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.EnableCursorBlink).Get(out temp);
- return temp;
-#endif
}));
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
var textField = (TextField)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyFloat(textField.SwigCPtr, TextField.Property.CursorBlinkInterval, (float)newValue);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.CursorBlinkInterval, new Tizen.NUI.PropertyValue((float)newValue));
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textField = (TextField)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
return Object.InternalGetPropertyFloat(textField.SwigCPtr, TextField.Property.CursorBlinkInterval);
-#else
- float temp = 0.0f;
- Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.CursorBlinkInterval).Get(out temp);
- return temp;
-#endif
}));
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
var textField = (TextField)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyFloat(textField.SwigCPtr, TextField.Property.CursorBlinkDuration, (float)newValue);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.CursorBlinkDuration, new Tizen.NUI.PropertyValue((float)newValue));
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textField = (TextField)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
return Object.InternalGetPropertyFloat(textField.SwigCPtr, TextField.Property.CursorBlinkDuration);
-#else
- float temp = 0.0f;
- Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.CursorBlinkDuration).Get(out temp);
- return temp;
-#endif
}));
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
var textField = (TextField)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyInt(textField.SwigCPtr, TextField.Property.CursorWidth, (int)newValue);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.CursorWidth, new Tizen.NUI.PropertyValue((int)newValue));
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textField = (TextField)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
return Object.InternalGetPropertyInt(textField.SwigCPtr, TextField.Property.CursorWidth);
-#else
- int temp = 0;
- Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.CursorWidth).Get(out temp);
- return temp;
-#endif
}));
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
var textField = (TextField)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyString(textField.SwigCPtr, TextField.Property.GrabHandleImage, (string)newValue);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.GrabHandleImage, new Tizen.NUI.PropertyValue((string)newValue));
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textField = (TextField)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
return Object.InternalGetPropertyString(textField.SwigCPtr, TextField.Property.GrabHandleImage);
-#else
- string temp;
- Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.GrabHandleImage).Get(out temp);
- return temp;
-#endif
}));
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
var textField = (TextField)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyString(textField.SwigCPtr, TextField.Property.GrabHandlePressedImage, (string)newValue);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.GrabHandlePressedImage, new Tizen.NUI.PropertyValue((string)newValue));
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textField = (TextField)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
return Object.InternalGetPropertyString(textField.SwigCPtr, TextField.Property.GrabHandlePressedImage);
-#else
- string temp;
- Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.GrabHandlePressedImage).Get(out temp);
- return temp;
-#endif
}));
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
var textField = (TextField)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyFloat(textField.SwigCPtr, TextField.Property.ScrollThreshold, (float)newValue);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.ScrollThreshold, new Tizen.NUI.PropertyValue((float)newValue));
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textField = (TextField)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
return Object.InternalGetPropertyFloat(textField.SwigCPtr, TextField.Property.ScrollThreshold);
-#else
- float temp = 0.0f;
- Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.ScrollThreshold).Get(out temp);
- return temp;
-#endif
}));
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
var textField = (TextField)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyFloat(textField.SwigCPtr, TextField.Property.ScrollSpeed, (float)newValue);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.ScrollSpeed, new Tizen.NUI.PropertyValue((float)newValue));
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textField = (TextField)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
return Object.InternalGetPropertyFloat(textField.SwigCPtr, TextField.Property.ScrollSpeed);
-#else
- float temp = 0.0f;
- Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.ScrollSpeed).Get(out temp);
- return temp;
-#endif
}));
[EditorBrowsable(EditorBrowsableState.Never)]
var textField = (TextField)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyVector4(textField.SwigCPtr, TextField.Property.SelectionHighlightColor, ((Vector4)newValue).SwigCPtr);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.SelectionHighlightColor, new Tizen.NUI.PropertyValue((Vector4)newValue));
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textField = (TextField)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
if (textField.internalSelectionHighlightColor == null)
{
textField.internalSelectionHighlightColor = new Vector4(0, 0, 0, 0);
}
Object.InternalRetrievingPropertyVector4(textField.SwigCPtr, TextField.Property.SelectionHighlightColor, textField.internalSelectionHighlightColor.SwigCPtr);
return textField.internalSelectionHighlightColor;
-#else
- Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
- Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.SelectionHighlightColor).Get(temp);
- return temp;
-#endif
}));
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
var textField = (TextField)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyVector4(textField.SwigCPtr, TextField.Property.InputColor, ((Vector4)newValue).SwigCPtr);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.InputColor, new Tizen.NUI.PropertyValue((Vector4)newValue));
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textField = (TextField)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
if (textField.internalInputColor == null)
{
textField.internalInputColor = new Vector4(0, 0, 0, 0);
}
Object.InternalRetrievingPropertyVector4(textField.SwigCPtr, TextField.Property.InputColor, textField.internalInputColor.SwigCPtr);
return textField.internalInputColor;
-#else
- Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
- Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.InputColor).Get(temp);
- return temp;
-#endif
}));
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
var textField = (TextField)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyBool(textField.SwigCPtr, TextField.Property.EnableMarkup, (bool)newValue);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.EnableMarkup, new Tizen.NUI.PropertyValue((bool)newValue));
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textField = (TextField)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
return Object.InternalGetPropertyBool(textField.SwigCPtr, TextField.Property.EnableMarkup);
-#else
- bool temp = false;
- Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.EnableMarkup).Get(out temp);
- return temp;
-#endif
}));
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
var textField = (TextField)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyString(textField.SwigCPtr, TextField.Property.InputFontFamily, (string)newValue);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.InputFontFamily, new Tizen.NUI.PropertyValue((string)newValue));
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textField = (TextField)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
return Object.InternalGetPropertyString(textField.SwigCPtr, TextField.Property.InputFontFamily);
-#else
- string temp;
- Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.InputFontFamily).Get(out temp);
- return temp;
-#endif
}));
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
var textField = (TextField)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyFloat(textField.SwigCPtr, TextField.Property.InputPointSize, (float)newValue);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.InputPointSize, new Tizen.NUI.PropertyValue((float)newValue));
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textField = (TextField)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
return Object.InternalGetPropertyFloat(textField.SwigCPtr, TextField.Property.InputPointSize);
-#else
- float temp = 0.0f;
- Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.InputPointSize).Get(out temp);
- return temp;
-#endif
}));
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
var textField = (TextField)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyString(textField.SwigCPtr, TextField.Property.InputUnderline, (string)newValue);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.InputUnderline, new Tizen.NUI.PropertyValue((string)newValue));
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textField = (TextField)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
return Object.InternalGetPropertyString(textField.SwigCPtr, TextField.Property.InputUnderline);
-#else
- string temp;
- Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.InputUnderline).Get(out temp);
- return temp;
-#endif
}));
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
var textField = (TextField)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyString(textField.SwigCPtr, TextField.Property.InputShadow, (string)newValue);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.InputShadow, new Tizen.NUI.PropertyValue((string)newValue));
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textField = (TextField)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
return Object.InternalGetPropertyString(textField.SwigCPtr, TextField.Property.InputShadow);
-#else
- string temp;
- Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.InputShadow).Get(out temp);
- return temp;
-#endif
}));
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
var textField = (TextField)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyString(textField.SwigCPtr, TextField.Property.EMBOSS, (string)newValue);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.EMBOSS, new Tizen.NUI.PropertyValue((string)newValue));
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textField = (TextField)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
return Object.InternalGetPropertyString(textField.SwigCPtr, TextField.Property.EMBOSS);
-#else
- string temp;
- Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.EMBOSS).Get(out temp);
- return temp;
-#endif
}));
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
var textField = (TextField)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyString(textField.SwigCPtr, TextField.Property.InputEmboss, (string)newValue);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.InputEmboss, new Tizen.NUI.PropertyValue((string)newValue));
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textField = (TextField)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
return Object.InternalGetPropertyString(textField.SwigCPtr, TextField.Property.InputEmboss);
-#else
- string temp;
- Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.InputEmboss).Get(out temp);
- return temp;
-#endif
}));
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
var textField = (TextField)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyString(textField.SwigCPtr, TextField.Property.InputOutline, (string)newValue);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.InputOutline, new Tizen.NUI.PropertyValue((string)newValue));
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textField = (TextField)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
return Object.InternalGetPropertyString(textField.SwigCPtr, TextField.Property.InputOutline);
-#else
- string temp;
- Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.InputOutline).Get(out temp);
- return temp;
-#endif
}));
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
var textField = (TextField)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyFloat(textField.SwigCPtr, TextField.Property.PixelSize, (float)newValue);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.PixelSize, new Tizen.NUI.PropertyValue((float)newValue));
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textField = (TextField)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
return Object.InternalGetPropertyFloat(textField.SwigCPtr, TextField.Property.PixelSize);
-#else
- float temp = 0.0f;
- Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.PixelSize).Get(out temp);
- return temp;
-#endif
}));
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
var textField = (TextField)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyBool(textField.SwigCPtr, TextField.Property.EnableSelection, (bool)newValue);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.EnableSelection, new Tizen.NUI.PropertyValue((bool)newValue));
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textField = (TextField)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
return Object.InternalGetPropertyBool(textField.SwigCPtr, TextField.Property.EnableSelection);
-#else
- bool temp = false;
- Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.EnableSelection).Get(out temp);
- return temp;
-#endif
}));
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
var textField = (TextField)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyBool(textField.SwigCPtr, TextField.Property.ELLIPSIS, (bool)newValue);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.ELLIPSIS, new Tizen.NUI.PropertyValue((bool)newValue));
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textField = (TextField)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
return Object.InternalGetPropertyBool(textField.SwigCPtr, TextField.Property.ELLIPSIS);
-#else
- bool temp = false;
- Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.ELLIPSIS).Get(out temp);
- return temp;
-#endif
}));
/// This will be public opened in tizen_6.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
var textField = (TextField)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyInt(textField.SwigCPtr, TextField.Property.EllipsisPosition, (int)newValue);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.EllipsisPosition, new Tizen.NUI.PropertyValue((int)newValue));
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textField = (TextField)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
return Object.InternalGetPropertyInt(textField.SwigCPtr, TextField.Property.EllipsisPosition);
-#else
- int temp = 0;
- Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.EllipsisPosition).Get(out temp);
- return (EllipsisPosition)temp;
-#endif
}));
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
var textField = (TextField)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyBool(textField.SwigCPtr, TextField.Property.EnableShiftSelection, (bool)newValue);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.EnableShiftSelection, new Tizen.NUI.PropertyValue((bool)newValue));
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textField = (TextField)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
return Object.InternalGetPropertyBool(textField.SwigCPtr, TextField.Property.EnableShiftSelection);
-#else
- bool temp = false;
- Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.EnableShiftSelection).Get(out temp);
- return temp;
-#endif
}));
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
var textField = (TextField)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyBool(textField.SwigCPtr, TextField.Property.MatchSystemLanguageDirection, (bool)newValue);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.MatchSystemLanguageDirection, new Tizen.NUI.PropertyValue((bool)newValue));
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textField = (TextField)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
return Object.InternalGetPropertyBool(textField.SwigCPtr, TextField.Property.MatchSystemLanguageDirection);
-#else
- bool temp = false;
- Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.MatchSystemLanguageDirection).Get(out temp);
- return (bool)temp;
-#endif
}));
[EditorBrowsable(EditorBrowsableState.Never)]
var textField = (TextField)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyBool(textField.SwigCPtr, TextField.Property.EnableFontSizeScale, (bool)newValue);
-#else
- using (var property = new Tizen.NUI.PropertyValue((bool)newValue))
- {
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.EnableFontSizeScale, property);
- }
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textField = (TextField)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
return Object.InternalGetPropertyBool(textField.SwigCPtr, TextField.Property.EnableFontSizeScale);
-#else
- bool temp;
- Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.EnableFontSizeScale).Get(out temp);
- return temp;
-#endif
}));
/// This will be public opened in tizen_6.5 after ACR done. Before ACR, need to be hidden as inhouse API.
var textField = (TextField)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyVector4(textField.SwigCPtr, TextField.Property.GrabHandleColor, ((Color)newValue).SwigCPtr);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.GrabHandleColor, new Tizen.NUI.PropertyValue((Color)newValue));
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textField = (TextField)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
if (textField.internalGrabHandleColor == null)
{
textField.internalGrabHandleColor = new Color(0, 0, 0, 0);
}
Object.InternalRetrievingPropertyVector4(textField.SwigCPtr, TextField.Property.GrabHandleColor, textField.internalGrabHandleColor.SwigCPtr);
return textField.internalGrabHandleColor;
-#else
- Color temp = new Color(0.0f, 0.0f, 0.0f, 0.0f);
- Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.GrabHandleColor).Get(temp);
- return temp;
-#endif
}));
/// <summary>
var textField = (TextField)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyFloat(textField.SwigCPtr, TextField.Property.CharacterSpacing, (float)newValue);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.CharacterSpacing, new Tizen.NUI.PropertyValue((float)newValue));
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textField = (TextField)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
return Object.InternalGetPropertyFloat(textField.SwigCPtr, TextField.Property.CharacterSpacing);
-#else
- float temp = 0;
- Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.CharacterSpacing).Get(out temp);
- return temp;
-#endif
}));
}
}
private bool hasFontSizeChangedCallback = false;
static private string defaultStyleName = "Tizen.NUI.BaseComponents.TextLabel";
-#if NUI_PROPERTY_CHANGE_2
private Color internalTextColor;
-#endif
/// <summary>
/// Creates the TextLabel control.
private void SetInternalFontSizeScale(float fontSizeScale)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyFloat(this.SwigCPtr, TextLabel.Property.FontSizeScale, (float)fontSizeScale);
-#else
- using (var property = new Tizen.NUI.PropertyValue((float)fontSizeScale))
- {
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)this.SwigCPtr, TextLabel.Property.FontSizeScale, property);
- }
-#endif
RequestLayout();
}
return;
}
-#if NUI_PROPERTY_CHANGE_2
internalTextColor?.Dispose();
-#endif
if (systemlangTextFlag)
{
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textLabel = (TextLabel)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
return Object.InternalGetPropertyString(textLabel.SwigCPtr, TextLabel.Property.TEXT);
-#else
- string temp;
- Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textLabel.SwigCPtr, TextLabel.Property.TEXT).Get(out temp);
- return temp;
-#endif
}));
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textLabel = (TextLabel)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
return Object.InternalGetPropertyString(textLabel.SwigCPtr, TextLabel.Property.FontFamily);
-#else
- string temp;
- Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textLabel.SwigCPtr, TextLabel.Property.FontFamily).Get(out temp);
- return temp;
-#endif
}));
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textLabel = (TextLabel)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
return Object.InternalGetPropertyFloat(textLabel.SwigCPtr, TextLabel.Property.PointSize);
-#else
- float temp = 0.0f;
- Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textLabel.SwigCPtr, TextLabel.Property.PointSize).Get(out temp);
- return temp;
-#endif
}));
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
var textLabel = (TextLabel)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyBool(textLabel.SwigCPtr, TextLabel.Property.MultiLine, (bool)newValue);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textLabel.SwigCPtr, TextLabel.Property.MultiLine, new Tizen.NUI.PropertyValue((bool)newValue));
-#endif
textLabel.RequestLayout();
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textLabel = (TextLabel)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
return Object.InternalGetPropertyBool(textLabel.SwigCPtr, TextLabel.Property.MultiLine);
-#else
- bool temp = false;
- Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textLabel.SwigCPtr, TextLabel.Property.MultiLine).Get(out temp);
- return temp;
-#endif
}));
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
var textLabel = (TextLabel)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyInt(textLabel.SwigCPtr, TextLabel.Property.HorizontalAlignment, (int)newValue);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textLabel.SwigCPtr, TextLabel.Property.HorizontalAlignment, new Tizen.NUI.PropertyValue((int)newValue));
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textLabel = (TextLabel)bindable;
string temp;
-#if NUI_PROPERTY_CHANGE_2
+
temp = Object.InternalGetPropertyString(textLabel.SwigCPtr, TextLabel.Property.HorizontalAlignment);
-#else
- if (Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textLabel.SwigCPtr, TextLabel.Property.HorizontalAlignment).Get(out temp) == false)
- {
- NUILog.Error("HorizontalAlignment get error!");
- }
-#endif
if (System.String.IsNullOrEmpty(temp))
{
return HorizontalAlignment.Begin; // Return default value.
var textLabel = (TextLabel)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyInt(textLabel.SwigCPtr, TextLabel.Property.VerticalAlignment, (int)newValue);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textLabel.SwigCPtr, TextLabel.Property.VerticalAlignment, new Tizen.NUI.PropertyValue((int)newValue));
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textLabel = (TextLabel)bindable;
string temp;
-#if NUI_PROPERTY_CHANGE_2
+
temp = Object.InternalGetPropertyString(textLabel.SwigCPtr, TextLabel.Property.VerticalAlignment);
-#else
- if (Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textLabel.SwigCPtr, TextLabel.Property.VerticalAlignment).Get(out temp) == false)
- {
- NUILog.Error("VerticalAlignment get error!");
- }
-#endif
if (System.String.IsNullOrEmpty(temp))
{
return VerticalAlignment.Top; // Return default value.
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textLabel = (TextLabel)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
if (textLabel.internalTextColor == null)
{
textLabel.internalTextColor = new Color(0, 0, 0, 0);
}
Object.InternalRetrievingPropertyVector4(textLabel.SwigCPtr, TextLabel.Property.TextColor, textLabel.internalTextColor.SwigCPtr);
return textLabel.internalTextColor;
-#else
- Color temp = new Color(0.0f, 0.0f, 0.0f, 0.0f);
- Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textLabel.SwigCPtr, TextLabel.Property.TextColor).Get(temp);
- return temp;
-#endif
}));
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
var textLabel = (TextLabel)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyBool(textLabel.SwigCPtr, TextLabel.Property.EnableMarkup, (bool)newValue);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textLabel.SwigCPtr, TextLabel.Property.EnableMarkup, new Tizen.NUI.PropertyValue((bool)newValue));
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textLabel = (TextLabel)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
return Object.InternalGetPropertyBool(textLabel.SwigCPtr, TextLabel.Property.EnableMarkup);
-#else
- bool temp = false;
- Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textLabel.SwigCPtr, TextLabel.Property.EnableMarkup).Get(out temp);
- return temp;
-#endif
}));
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
var textLabel = (TextLabel)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyBool(textLabel.SwigCPtr, TextLabel.Property.EnableAutoScroll, (bool)newValue);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textLabel.SwigCPtr, TextLabel.Property.EnableAutoScroll, new Tizen.NUI.PropertyValue((bool)newValue));
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textLabel = (TextLabel)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
return Object.InternalGetPropertyBool(textLabel.SwigCPtr, TextLabel.Property.EnableAutoScroll);
-#else
- bool temp = false;
- Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textLabel.SwigCPtr, TextLabel.Property.EnableAutoScroll).Get(out temp);
- return temp;
-#endif
}));
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
var textLabel = (TextLabel)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyInt(textLabel.SwigCPtr, TextLabel.Property.AutoScrollSpeed, (int)newValue);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textLabel.SwigCPtr, TextLabel.Property.AutoScrollSpeed, new Tizen.NUI.PropertyValue((int)newValue));
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textLabel = (TextLabel)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
return Object.InternalGetPropertyInt(textLabel.SwigCPtr, TextLabel.Property.AutoScrollSpeed);
-#else
- int temp = 0;
- Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textLabel.SwigCPtr, TextLabel.Property.AutoScrollSpeed).Get(out temp);
- return temp;
-#endif
}));
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
var textLabel = (TextLabel)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyInt(textLabel.SwigCPtr, TextLabel.Property.AutoScrollLoopCount, (int)newValue);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textLabel.SwigCPtr, TextLabel.Property.AutoScrollLoopCount, new Tizen.NUI.PropertyValue((int)newValue));
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textLabel = (TextLabel)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
return Object.InternalGetPropertyInt(textLabel.SwigCPtr, TextLabel.Property.AutoScrollLoopCount);
-#else
- int temp = 0;
- Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textLabel.SwigCPtr, TextLabel.Property.AutoScrollLoopCount).Get(out temp);
- return temp;
-#endif
}));
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
var textLabel = (TextLabel)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyFloat(textLabel.SwigCPtr, TextLabel.Property.AutoScrollGap, (float)newValue);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textLabel.SwigCPtr, TextLabel.Property.AutoScrollGap, new Tizen.NUI.PropertyValue((float)newValue));
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textLabel = (TextLabel)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
return Object.InternalGetPropertyFloat(textLabel.SwigCPtr, TextLabel.Property.AutoScrollGap);
-#else
- float temp = 0.0f;
- Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textLabel.SwigCPtr, TextLabel.Property.AutoScrollGap).Get(out temp);
- return temp;
-#endif
}));
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
var textLabel = (TextLabel)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyFloat(textLabel.SwigCPtr, TextLabel.Property.LineSpacing, (float)newValue);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textLabel.SwigCPtr, TextLabel.Property.LineSpacing, new Tizen.NUI.PropertyValue((float)newValue));
-#endif
textLabel.RequestLayout();
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textLabel = (TextLabel)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
return Object.InternalGetPropertyFloat(textLabel.SwigCPtr, TextLabel.Property.LineSpacing);
-#else
- float temp = 0.0f;
- Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textLabel.SwigCPtr, TextLabel.Property.LineSpacing).Get(out temp);
- return temp;
-#endif
}));
[EditorBrowsable(EditorBrowsableState.Never)]
public static readonly BindableProperty RelativeLineHeightProperty = BindableProperty.Create(nameof(RelativeLineHeight), typeof(float), typeof(TextLabel), default(float), propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
var textLabel = (TextLabel)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyFloat(textLabel.SwigCPtr, TextLabel.Property.RelativeLineHeight, (float)newValue);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textLabel.SwigCPtr, TextLabel.Property.RelativeLineHeight, new Tizen.NUI.PropertyValue((float)newValue));
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textLabel = (TextLabel)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
return Object.InternalGetPropertyFloat(textLabel.SwigCPtr, TextLabel.Property.RelativeLineHeight);
-#else
- float temp = 0.0f;
- Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textLabel.SwigCPtr, TextLabel.Property.RelativeLineHeight).Get(out temp);
- return temp;
-#endif
}));
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
var textLabel = (TextLabel)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyString(textLabel.SwigCPtr, TextLabel.Property.EMBOSS, (string)newValue);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textLabel.SwigCPtr, TextLabel.Property.EMBOSS, new Tizen.NUI.PropertyValue((string)newValue));
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textLabel = (TextLabel)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
return Object.InternalGetPropertyString(textLabel.SwigCPtr, TextLabel.Property.EMBOSS);
-#else
- string temp;
- Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textLabel.SwigCPtr, TextLabel.Property.EMBOSS).Get(out temp);
- return temp;
-#endif
}));
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textLabel = (TextLabel)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
return Object.InternalGetPropertyFloat(textLabel.SwigCPtr, TextLabel.Property.PixelSize);
-#else
- float temp = 0.0f;
- Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textLabel.SwigCPtr, TextLabel.Property.PixelSize).Get(out temp);
- return temp;
-#endif
}));
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
var textLabel = (TextLabel)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyBool(textLabel.SwigCPtr, TextLabel.Property.ELLIPSIS, (bool)newValue);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textLabel.SwigCPtr, TextLabel.Property.ELLIPSIS, new Tizen.NUI.PropertyValue((bool)newValue));
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textLabel = (TextLabel)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
return Object.InternalGetPropertyBool(textLabel.SwigCPtr, TextLabel.Property.ELLIPSIS);
-#else
- bool temp = false;
- Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textLabel.SwigCPtr, TextLabel.Property.ELLIPSIS).Get(out temp);
- return temp;
-#endif
}));
/// This will be public opened in tizen_6.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
var textLabel = (TextLabel)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyInt(textLabel.SwigCPtr, TextLabel.Property.EllipsisPosition, (int)newValue);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textLabel.SwigCPtr, TextLabel.Property.EllipsisPosition, new Tizen.NUI.PropertyValue((int)newValue));
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textLabel = (TextLabel)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
return (EllipsisPosition)Object.InternalGetPropertyInt(textLabel.SwigCPtr, TextLabel.Property.EllipsisPosition);
-#else
- int temp = 0;
- Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textLabel.SwigCPtr, TextLabel.Property.EllipsisPosition).Get(out temp);
- return (EllipsisPosition)temp;
-#endif
}));
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
var textLabel = (TextLabel)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyFloat(textLabel.SwigCPtr, TextLabel.Property.AutoScrollLoopDelay, (float)newValue);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textLabel.SwigCPtr, TextLabel.Property.AutoScrollLoopDelay, new Tizen.NUI.PropertyValue((float)newValue));
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textLabel = (TextLabel)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
return Object.InternalGetPropertyFloat(textLabel.SwigCPtr, TextLabel.Property.AutoScrollLoopDelay);
-#else
- float temp = 0.0f;
- Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textLabel.SwigCPtr, TextLabel.Property.AutoScrollLoopDelay).Get(out temp);
- return temp;
-#endif
}));
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
var textLabel = (TextLabel)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyInt(textLabel.SwigCPtr, TextLabel.Property.AutoScrollStopMode, (int)newValue);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textLabel.SwigCPtr, TextLabel.Property.AutoScrollStopMode, new Tizen.NUI.PropertyValue((int)newValue));
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textLabel = (TextLabel)bindable;
string temp;
-#if NUI_PROPERTY_CHANGE_2
+
temp = Object.InternalGetPropertyString(textLabel.SwigCPtr, TextLabel.Property.AutoScrollStopMode);
-#else
- if (Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textLabel.SwigCPtr, TextLabel.Property.AutoScrollStopMode).Get(out temp) == false)
- {
- NUILog.Error("AutoScrollStopMode get error!");
- }
-#endif
return temp.GetValueByDescription<AutoScrollStopMode>();
}));
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
var textLabel = (TextLabel)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyInt(textLabel.SwigCPtr, TextLabel.Property.LineWrapMode, (int)newValue);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textLabel.SwigCPtr, TextLabel.Property.LineWrapMode, new Tizen.NUI.PropertyValue((int)newValue));
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textLabel = (TextLabel)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
return (LineWrapMode)Object.InternalGetPropertyInt(textLabel.SwigCPtr, TextLabel.Property.LineWrapMode);
-#else
- int temp;
- if (false == Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textLabel.SwigCPtr, TextLabel.Property.LineWrapMode).Get(out temp))
- {
- NUILog.Error("LineWrapMode get error!");
- }
- return (LineWrapMode)temp;
-#endif
}));
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
var textLabel = (TextLabel)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyInt(textLabel.SwigCPtr, TextLabel.Property.VerticalLineAlignment, (int)newValue);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textLabel.SwigCPtr, TextLabel.Property.VerticalLineAlignment, new Tizen.NUI.PropertyValue((int)newValue));
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textLabel = (TextLabel)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
return (VerticalLineAlignment)Object.InternalGetPropertyInt(textLabel.SwigCPtr, TextLabel.Property.VerticalLineAlignment);
-#else
- int temp = 0;
- Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textLabel.SwigCPtr, TextLabel.Property.VerticalLineAlignment).Get(out temp);
- return (VerticalLineAlignment)temp;
-#endif
}));
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
var textLabel = (TextLabel)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyBool(textLabel.SwigCPtr, TextLabel.Property.MatchSystemLanguageDirection, (bool)newValue);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textLabel.SwigCPtr, TextLabel.Property.MatchSystemLanguageDirection, new Tizen.NUI.PropertyValue((bool)newValue));
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textLabel = (TextLabel)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
return Object.InternalGetPropertyBool(textLabel.SwigCPtr, TextLabel.Property.MatchSystemLanguageDirection);
-#else
- bool temp = false;
- Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textLabel.SwigCPtr, TextLabel.Property.MatchSystemLanguageDirection).Get(out temp);
- return temp;
-#endif
}));
/// This will be public opened in tizen_6.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
var textLabel = (TextLabel)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyFloat(textLabel.SwigCPtr, TextLabel.Property.CharacterSpacing, (float)newValue);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textLabel.SwigCPtr, TextLabel.Property.CharacterSpacing, new Tizen.NUI.PropertyValue((float)newValue));
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textLabel = (TextLabel)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
return Object.InternalGetPropertyFloat(textLabel.SwigCPtr, TextLabel.Property.CharacterSpacing);
-#else
- float temp = 0;
- Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textLabel.SwigCPtr, TextLabel.Property.CharacterSpacing).Get(out temp);
- return temp;
-#endif
}));
/// Only for XAML. No need of public API. Make hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
var textLabel = (TextLabel)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyFloat(textLabel.SwigCPtr, TextLabel.Property.MinLineSize, (float)newValue);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textLabel.SwigCPtr, TextLabel.Property.MinLineSize, new Tizen.NUI.PropertyValue((float)newValue));
-#endif
textLabel.RequestLayout();
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textLabel = (TextLabel)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
return Object.InternalGetPropertyFloat(textLabel.SwigCPtr, TextLabel.Property.MinLineSize);
-#else
- float temp = 0.0f;
- Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textLabel.SwigCPtr, TextLabel.Property.MinLineSize).Get(out temp);
- return temp;
-#endif
}));
[EditorBrowsable(EditorBrowsableState.Never)]
var textLabel = (TextLabel)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyBool(textLabel.SwigCPtr, TextLabel.Property.EnableFontSizeScale, (bool)newValue);
textLabel.RequestLayout();
-#else
- using (var property = new Tizen.NUI.PropertyValue((bool)newValue))
- {
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textLabel.SwigCPtr, TextLabel.Property.EnableFontSizeScale, property);
- textLabel.RequestLayout();
- }
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var textLabel = (TextLabel)bindable;
-#if NUI_PROPERTY_CHANGE_2
+
return Object.InternalGetPropertyBool(textLabel.SwigCPtr, TextLabel.Property.EnableFontSizeScale);
-#else
- bool temp;
- Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textLabel.SwigCPtr, TextLabel.Property.EnableFontSizeScale).Get(out temp);
- return temp;
-#endif
}));
/// <summary>
{
if (value != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyString(SwigCPtr, TextLabel.Property.TEXT, value);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)SwigCPtr, TextLabel.Property.TEXT, new Tizen.NUI.PropertyValue(value));
-#endif
RequestLayout();
}
}
{
if (value != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyString(SwigCPtr, TextLabel.Property.FontFamily, value);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)SwigCPtr, TextLabel.Property.FontFamily, new Tizen.NUI.PropertyValue(value));
-#endif
RequestLayout();
}
}
{
if (value != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyVector4(SwigCPtr, TextLabel.Property.TextColor, value.SwigCPtr);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)SwigCPtr, TextLabel.Property.TextColor, new Tizen.NUI.PropertyValue(value));
-#endif
}
}
{
if (value != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyFloat(SwigCPtr, TextLabel.Property.PointSize, (float)value);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)SwigCPtr, TextLabel.Property.PointSize, new Tizen.NUI.PropertyValue((float)value));
-#endif
RequestLayout();
}
}
{
if (value != null)
{
-#if NUI_PROPERTY_CHANGE_2
+
Object.InternalSetPropertyFloat(SwigCPtr, TextLabel.Property.PixelSize, (float)value);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)SwigCPtr, TextLabel.Property.PixelSize, new Tizen.NUI.PropertyValue((float)value));
-#endif
RequestLayout();
}
}
private bool dispatchTouchEvents = true;
private bool dispatchGestureEvents = true;
private bool dispatchParentGestureEvents = true;
-
-#if NUI_PROPERTY_CHANGE_1
private string internalName = string.Empty;
-#endif
-#if NUI_PROPERTY_CHANGE_3
private Position internalCurrentParentOrigin = null;
private Position internalCurrentAnchorPoint = null;
private Vector3 internalTargetSize = null;
private Vector3 internalCurrentWorldScale = null;
private Vector4 internalCurrentColor = null;
private Vector4 internalCurrentWorldColor = null;
-#endif
-#if NUI_VISUAL_PROPERTY_CHANGE_1
private Vector2 internalCurrentScreenPosition = null;
-#endif
static View()
{
{
get
{
-#if NUI_VISUAL_PROPERTY_CHANGE_1
return Object.InternalGetPropertyBool(SwigCPtr, View.Property.PositionUsesAnchorPoint);
-#else
- bool temp = false;
- var pValue = GetProperty(View.Property.PositionUsesAnchorPoint);
- pValue.Get(out temp);
- pValue.Dispose();
- return temp;
-#endif
}
set
{
-#if NUI_VISUAL_PROPERTY_CHANGE_1
Object.InternalSetPropertyBool(SwigCPtr, View.Property.PositionUsesAnchorPoint, value);
-#else
- var temp = new Tizen.NUI.PropertyValue(value);
- SetProperty(View.Property.PositionUsesAnchorPoint, temp);
- temp.Dispose();
-#endif
NotifyPropertyChanged();
}
}
{
get
{
-#if NUI_VISUAL_PROPERTY_CHANGE_1
return GetCurrentWorldPosition();
-#else
- Vector3 temp = new Vector3(0.0f, 0.0f, 0.0f);
- var pValue = GetProperty(View.Property.WorldPosition);
- pValue.Get(temp);
- pValue.Dispose();
- return temp;
-#endif
}
}
{
get
{
-#if NUI_VISUAL_PROPERTY_CHANGE_1
return GetCurrentWorldScale();
-#else
- Vector3 temp = new Vector3(0.0f, 0.0f, 0.0f);
- var pValue = GetProperty(View.Property.WorldScale);
- pValue.Get(temp);
- pValue.Dispose();
- return temp;
-#endif
}
}
{
get
{
-#if NUI_VISUAL_PROPERTY_CHANGE_1
return Object.InternalGetPropertyBool(SwigCPtr, View.Property.VISIBLE);
-#else
- bool temp = false;
- var pValue = GetProperty(View.Property.VISIBLE);
- pValue.Get(out temp);
- pValue.Dispose();
- return temp;
-#endif
}
}
{
get
{
-#if NUI_VISUAL_PROPERTY_CHANGE_1
return GetCurrentWorldColor();
-#else
- Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
- var pValue = GetProperty(View.Property.WorldColor);
- pValue.Get(temp);
- pValue.Dispose();
- return temp;
-#endif
}
}
{
get
{
-#if NUI_VISUAL_PROPERTY_CHANGE_1
return GetCurrentAnchorPoint();
-#else
- Position temp = new Position(0.0f, 0.0f, 0.0f);
- var pValue = GetProperty(View.Property.AnchorPoint);
- pValue.Get(temp);
- pValue.Dispose();
- Position ret = new Position(OnAnchorPointChanged, temp.X, temp.Y, temp.Z);
- temp.Dispose();
- return ret;
-#endif
}
set
{
-#if NUI_VISUAL_PROPERTY_CHANGE_1
SetAnchorPoint(value);
-#else
- var temp = new Tizen.NUI.PropertyValue(value);
- SetProperty(View.Property.AnchorPoint, temp);
- temp.Dispose();
-#endif
NotifyPropertyChanged();
}
}
{
backgroundImageSynchronousLoading = value;
-#if NUI_VISUAL_PROPERTY_CHANGE_1
if (!string.IsNullOrEmpty(BackgroundImage))
-#else
- string bgUrl = null;
- var pValue = Background.Find(ImageVisualProperty.URL);
- pValue?.Get(out bgUrl);
- pValue?.Dispose();
-
- if (!string.IsNullOrEmpty(bgUrl))
-#endif
{
PropertyMap bgMap = this.Background;
var temp = new PropertyValue(backgroundImageSynchronousLoading);
{
get
{
-#if NUI_VISUAL_PROPERTY_CHANGE_1
return Object.InternalGetPropertyBool(SwigCPtr, View.Property.CaptureAllTouchAfterStart);
-#else
- bool temp = false;
- var pValue = GetProperty(View.Property.CaptureAllTouchAfterStart);
- pValue.Get(out temp);
- pValue.Dispose();
- return temp;
-#endif
}
set
{
-#if NUI_VISUAL_PROPERTY_CHANGE_1
Object.InternalSetPropertyBool(SwigCPtr, View.Property.CaptureAllTouchAfterStart, value);
-#else
- var temp = new Tizen.NUI.PropertyValue(value);
- SetProperty(View.Property.CaptureAllTouchAfterStart, temp);
- temp.Dispose();
-#endif
NotifyPropertyChanged();
}
}
{
get
{
-#if NUI_VISUAL_PROPERTY_CHANGE_1
return Object.InternalGetPropertyBool(SwigCPtr, View.Property.AllowOnlyOwnTouch);
-#else
- bool temp = false;
- var pValue = GetProperty(View.Property.AllowOnlyOwnTouch);
- pValue.Get(out temp);
- pValue.Dispose();
- return temp;
-#endif
}
set
{
-#if NUI_VISUAL_PROPERTY_CHANGE_1
Object.InternalSetPropertyBool(SwigCPtr, View.Property.AllowOnlyOwnTouch, value);
-#else
- var temp = new Tizen.NUI.PropertyValue(value);
- SetProperty(View.Property.AllowOnlyOwnTouch, temp);
- temp.Dispose();
-#endif
NotifyPropertyChanged();
}
}
{
get
{
-#if NUI_VISUAL_PROPERTY_CHANGE_1
return (BlendEquationType)Object.InternalGetPropertyInt(SwigCPtr, View.Property.BlendEquation);
-#else
- int temp = 0;
- var pValue = GetProperty(View.Property.BlendEquation);
- pValue.Get(out temp);
- pValue.Dispose();
- return (BlendEquationType)temp;
-#endif
}
set
{
-#if NUI_VISUAL_PROPERTY_CHANGE_1
Object.InternalSetPropertyInt(SwigCPtr, View.Property.BlendEquation, (int)value);
-#else
- var temp = new Tizen.NUI.PropertyValue((int)value);
- SetProperty(View.Property.BlendEquation, temp);
- temp.Dispose();
-#endif
NotifyPropertyChanged();
}
}
{
get
{
-#if NUI_VISUAL_PROPERTY_CHANGE_1
return Object.InternalGetPropertyBool(SwigCPtr, View.Property.Culled);
-#else
- bool temp = false;
- var pValue = GetProperty(View.Property.Culled);
- pValue.Get(out temp);
- pValue.Dispose();
- return temp;
-#endif
}
}
return;
}
-#if NUI_PROPERTY_CHANGE_1
internalName = null;
-#endif
+
if (disposing == false)
{
if (IsNativeHandleInvalid() || SwigCMemOwn == false)
if (newValue != null)
{
string styleName = (string)newValue;
-#if NUI_PROPERTY_CHANGE_1
+
Object.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 Object.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
Object.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 Object.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>
view.internalBackgroundColor = new Color(view.OnBackgroundColorChanged, 0, 0, 0, 0);
}
-#if NUI_VISUAL_PROPERTY_CHANGE_1
int visualType = (int)Visual.Type.Invalid;
Interop.View.InternalRetrievingVisualPropertyInt(view.SwigCPtr, Property.BACKGROUND, Visual.Property.Type, out visualType);
if (visualType == (int)Visual.Type.Color)
{
Interop.View.InternalRetrievingVisualPropertyVector4(view.SwigCPtr, Property.BACKGROUND, ColorVisualProperty.MixColor, Color.getCPtr(view.internalBackgroundColor));
}
-#else
- PropertyMap background = view.Background;
- int visualType = 0;
- background.Find(Visual.Property.Type)?.Get(out visualType);
- if (visualType == (int)Visual.Type.Color)
- {
- background.Find(ColorVisualProperty.MixColor)?.Get(view.internalBackgroundColor);
- }
-
- background?.Dispose();
- background = null;
-#endif
return view.internalBackgroundColor;
}
);
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);
- }
- Object.InternalRetrievingPropertyVector4(view.SwigCPtr, View.Property.COLOR, view.internalColor.SwigCPtr);
-#else
- var tmpProperty = view.GetProperty(View.Property.COLOR);
if (view.internalColor == null)
{
view.internalColor = new Color(view.OnColorChanged, 0, 0, 0, 0);
}
-
- tmpProperty?.Get(view.internalColor);
- tmpProperty?.Dispose();
-#endif
+ Object.InternalRetrievingPropertyVector4(view.SwigCPtr, View.Property.COLOR, view.internalColor.SwigCPtr);
return view.internalColor;
}
);
defaultValueCreator: (bindable) =>
{
var view = (View)bindable;
-#if NUI_PROPERTY_CHANGE_1
+
return Object.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 Object.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 Object.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;
string backgroundImage = "";
-#if NUI_VISUAL_PROPERTY_CHANGE_1
Interop.View.InternalRetrievingVisualPropertyString(view.SwigCPtr, Property.BACKGROUND, ImageVisualProperty.URL, out backgroundImage);
-#else
- PropertyMap background = view.Background;
- background.Find(ImageVisualProperty.URL)?.Get(out backgroundImage);
-
- background.Dispose();
- background = null;
-#endif
return backgroundImage;
}
var view = (View)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_1
Object.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 = Object.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
Object.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 = Object.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
Object.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 Object.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
Object.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 Object.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
Object.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
Object.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
Object.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);
}
Object.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
Object.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 Object.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
Object.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 Object.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
Object.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 = Object.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
Object.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 = Object.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>();
}));
view.userSizeWidth = ((Size2D)newValue).Width;
view.userSizeHeight = ((Size2D)newValue).Height;
-#if NUI_PROPERTY_CHANGE_1
Object.InternalSetPropertyVector2ActualVector3(view.SwigCPtr, View.Property.SIZE, ((Size2D)newValue).SwigCPtr);
-#else
- view.SetSize(((Size2D)newValue).Width, ((Size2D)newValue).Height, 0);
-#endif
+
view.widthPolicy = ((Size2D)newValue).Width;
view.heightPolicy = ((Size2D)newValue).Height;
defaultValueCreator: (bindable) =>
{
var view = (View)bindable;
-#if NUI_PROPERTY_CHANGE_1
if (view.internalSize2D == null)
{
view.internalSize2D = new Size2D(view.OnSize2DChanged, 0, 0);
}
Object.InternalRetrievingPropertyVector2ActualVector3(view.SwigCPtr, View.Property.SIZE, view.internalSize2D.SwigCPtr);
-#else
- var tmp = new Size(0, 0, 0);
- var tmpProperty = Object.GetProperty(view.SwigCPtr, Property.SIZE);
- tmpProperty?.Get(tmp);
-
- if (view.internalSize2D == null)
- {
- view.internalSize2D = new Size2D(view.OnSize2DChanged, (int)tmp?.Width, (int)tmp?.Height);
- }
- else
- {
- if (view.internalSize2D.SwigCPtr.Handle != global::System.IntPtr.Zero)
- {
- Interop.Vector2.WidthSet(view.internalSize2D.SwigCPtr, (float)tmp?.Width);
- Interop.Vector2.HeightSet(view.internalSize2D.SwigCPtr, (float)tmp?.Height);
- }
- }
-
- tmpProperty?.Dispose();
- tmp?.Dispose();
-#endif
return view.internalSize2D;
}
);
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var view = (View)bindable;
-#if NUI_PROPERTY_CHANGE_1
return Object.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
Object.InternalSetPropertyVector2ActualVector3(view.SwigCPtr, View.Property.POSITION, ((Position2D)newValue).SwigCPtr);
-#else
- view.SetPosition(((Position2D)newValue).X, ((Position2D)newValue).Y, 0);
-#endif
}
},
defaultValueCreator: (bindable) =>
{
var view = (View)bindable;
-#if NUI_PROPERTY_CHANGE_1
if (view.internalPosition2D == null)
{
view.internalPosition2D = new Position2D(view.OnPosition2DChanged, 0, 0);
}
Object.InternalRetrievingPropertyVector2ActualVector3(view.SwigCPtr, View.Property.POSITION, view.internalPosition2D.SwigCPtr);
-#else
- var tmp = new Position(0, 0, 0);
- var tmpProperty = Object.GetProperty(view.SwigCPtr, Property.POSITION);
- tmpProperty?.Get(tmp);
-
- if (view.internalPosition2D == null)
- {
- view.internalPosition2D = new Position2D(view.OnPosition2DChanged, (int)tmp?.X, (int)tmp?.Y);
- }
- else
- {
- if (view.internalPosition2D.SwigCPtr.Handle != IntPtr.Zero)
- {
- Interop.Vector2.XSet(view.internalPosition2D.SwigCPtr, (float)tmp?.X);
- Interop.Vector2.YSet(view.internalPosition2D.SwigCPtr, (float)tmp?.Y);
- }
- }
-
- tmpProperty?.Dispose();
- tmp?.Dispose();
-#endif
return view.internalPosition2D;
}
);
var view = (View)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_1
Object.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 Object.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
Object.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
Object.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);
}
Object.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;
}
);
// Size set by user is returned by GetUserSize2D() for SuggestedMinimumWidth/Height.
// SuggestedMinimumWidth/Height is used by Layout calculation.
view.userSizeWidth = (float)newValue;
-#if NUI_PROPERTY_CHANGE_1
Object.InternalSetPropertyFloat(view.SwigCPtr, View.Property.SizeWidth, (float)newValue);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)view.SwigCPtr, View.Property.SizeWidth, new Tizen.NUI.PropertyValue((float)newValue));
-#endif
view.WidthSpecification = (int)System.Math.Ceiling((float)newValue);
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var view = (View)bindable;
-#if NUI_PROPERTY_CHANGE_1
return Object.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);
- return temp;
-#endif
}));
/// <summary>
// Size set by user is returned by GetUserSize2D() for SuggestedMinimumWidth/Height.
// SuggestedMinimumWidth/Height is used by Layout calculation.
view.userSizeHeight = (float)newValue;
-#if NUI_PROPERTY_CHANGE_1
Object.InternalSetPropertyFloat(view.SwigCPtr, View.Property.SizeHeight, (float)newValue);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)view.SwigCPtr, View.Property.SizeHeight, new Tizen.NUI.PropertyValue((float)newValue));
-#endif
view.HeightSpecification = (int)System.Math.Ceiling((float)newValue);
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var view = (View)bindable;
-#if NUI_PROPERTY_CHANGE_1
return Object.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);
- return temp;
-#endif
}));
/// <summary>
var view = (View)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_1
Object.InternalSetPropertyVector3(view.SwigCPtr, View.Property.POSITION, ((Position)newValue).SwigCPtr);
-#else
- view.SetPosition(((Position)newValue).X, ((Position)newValue).Y, ((Position)newValue).Z);
-#endif
}
},
defaultValueCreator: (bindable) =>
{
var view = (View)bindable;
-#if NUI_PROPERTY_CHANGE_1
if (view.internalPosition == null)
{
view.internalPosition = new Position(view.OnPositionChanged, 0, 0, 0);
}
Object.InternalRetrievingPropertyVector3(view.SwigCPtr, View.Property.POSITION, view.internalPosition.SwigCPtr);
-#else
- var tmpProperty = Object.GetProperty(view.SwigCPtr, Property.POSITION);
-
- if (view.internalPosition == null)
- {
- view.internalPosition = new Position(view.OnPositionChanged, 0, 0, 0);
- }
- tmpProperty?.Get(view.internalPosition);
- tmpProperty?.Dispose();
-#endif
return view.internalPosition;
}
);
var view = (View)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_1
Object.InternalSetPropertyFloat(view.SwigCPtr, View.Property.PositionX, (float)newValue);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)view.SwigCPtr, View.Property.PositionX, new Tizen.NUI.PropertyValue((float)newValue));
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var view = (View)bindable;
-#if NUI_PROPERTY_CHANGE_1
return Object.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);
- return temp;
-#endif
}));
/// <summary>
var view = (View)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_1
Object.InternalSetPropertyFloat(view.SwigCPtr, View.Property.PositionY, (float)newValue);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)view.SwigCPtr, View.Property.PositionY, new Tizen.NUI.PropertyValue((float)newValue));
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var view = (View)bindable;
-#if NUI_PROPERTY_CHANGE_1
return Object.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);
- return temp;
-#endif
}));
/// <summary>
var view = (View)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_1
Object.InternalSetPropertyFloat(view.SwigCPtr, View.Property.PositionZ, (float)newValue);
-#else
- Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)view.SwigCPtr, View.Property.PositionZ, new Tizen.NUI.PropertyValue((float)newValue));
-#endif
}
}),
defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
{
var view = (View)bindable;
-#if NUI_PROPERTY_CHANGE_1
return Object.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);
- return temp;
-#endif
}));
/// <summary>
defaultValueCreator: (bindable) =>
{
var view = (View)bindable;
-#if NUI_PROPERTY_CHANGE_1
if (view.internalScale == null)
{
view.internalScale = new Vector3(view.OnScaleChanged, 0, 0, 0);
}
Object.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
Object.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 Object.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
Object.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 Object.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
Object.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 Object.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
view.internalName = (string)newValue;
Object.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 view.internalName;
-#else
- string temp;
- temp = view.GetName();
- return temp;
-#endif
}
);
var view = (View)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_1
Object.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 Object.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
Object.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 Object.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
Object.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 Object.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
Object.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 Object.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
Object.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 Object.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
Object.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 Object.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
Object.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)Object.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
Object.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);
}
Object.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
Object.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
+
Object.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 = Object.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
+
Object.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
+
Object.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 = Object.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
+
Object.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)Object.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
Object.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 Object.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
+
Object.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 Object.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>
defaultValueCreator: (bindable) =>
{
var view = (View)bindable;
-#if NUI_PROPERTY_CHANGE_1
+
if (view.internalSize == null)
{
view.internalSize = new Size(view.OnSizeChanged, 0, 0, 0);
}
Object.InternalRetrievingPropertyVector3(view.SwigCPtr, View.Property.SIZE, view.internalSize.SwigCPtr);
-#else
- var tmpProperty = Object.GetProperty(view.SwigCPtr, Property.SIZE);
- if (view.internalSize == null)
- {
- view.internalSize = new Size(view.OnSizeChanged, 0, 0, 0);
- }
- tmpProperty?.Get(view.internalSize);
- tmpProperty?.Dispose();
-#endif
return view.internalSize;
}
);
var view = (View)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_1
+
Object.InternalSetPropertyVector2(view.SwigCPtr, View.Property.MinimumSize, ((Size2D)newValue).SwigCPtr);
-#else
- view.SetMinimumSize((Size2D)newValue);
-#endif
}
},
defaultValueCreator: (bindable) =>
{
-#if NUI_PROPERTY_CHANGE_1
+
var view = (View)bindable;
if (view.internalMinimumSize == null)
{
view.internalMinimumSize = new Size2D(view.OnMinimumSizeChanged, 0, 0);
}
Object.InternalRetrievingPropertyVector2(view.SwigCPtr, View.Property.MinimumSize, view.internalMinimumSize.SwigCPtr);
-#else
- var view = (View)bindable;
- if (view.internalMinimumSize == null)
- {
- view.internalMinimumSize = new Size2D(view.OnMinimumSizeChanged, 0, 0);
- }
- var tmp = Object.GetProperty(view.SwigCPtr, Property.MinimumSize);
- tmp?.Get(view.internalMinimumSize);
- tmp?.Dispose();
-#endif
return view.internalMinimumSize;
}
);
var view = (View)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_1
+
Object.InternalSetPropertyVector2(view.SwigCPtr, View.Property.MaximumSize, ((Size2D)newValue).SwigCPtr);
-#else
- view.SetMaximumSize((Size2D)newValue);
-#endif
}
},
defaultValueCreator: (bindable) =>
{
var view = (View)bindable;
-#if NUI_PROPERTY_CHANGE_1
+
if (view.internalMaximumSize == null)
{
view.internalMaximumSize = new Size2D(view.OnMaximumSizeChanged, 0, 0);
}
Object.InternalRetrievingPropertyVector2(view.SwigCPtr, View.Property.MaximumSize, view.internalMaximumSize.SwigCPtr);
-#else
- if (view.internalMaximumSize == null)
- {
- view.internalMaximumSize = new Size2D(view.OnMaximumSizeChanged, 0, 0);
- }
-
- var tmp = Object.GetProperty(view.SwigCPtr, Property.MaximumSize);
- tmp?.Get(view.internalMaximumSize);
- tmp?.Dispose();
-#endif
return view.internalMaximumSize;
}
);
var view = (View)bindable;
if (newValue != null)
{
-#if NUI_PROPERTY_CHANGE_1
Object.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 Object.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
+
Object.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)Object.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
+
Object.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 Object.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
+
Object.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)Object.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
+
Object.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
+
Object.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
+
Object.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 Object.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
+
Object.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 Object.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
+
Object.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 Object.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
+
Object.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)Object.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
+
Object.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 Object.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
+
Object.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 Object.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
+
Object.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 Object.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
+
Object.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
+
Object.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
+
Object.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
+
Object.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
+
Object.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
+
Object.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)
{
get
{
-#if NUI_PROPERTY_CHANGE_3
+
return Object.InternalGetPropertyFloat(SwigCPtr, View.Property.WorldPositionX);
-#else
- float returnValue = 0.0f;
- PropertyValue wordPositionX = GetProperty(View.Property.WorldPositionX);
- wordPositionX?.Get(out returnValue);
- wordPositionX?.Dispose();
- return returnValue;
-#endif
}
}
{
get
{
-#if NUI_PROPERTY_CHANGE_3
+
return Object.InternalGetPropertyFloat(SwigCPtr, View.Property.WorldPositionY);
-#else
- float returnValue = 0.0f;
- PropertyValue wordPositionY = GetProperty(View.Property.WorldPositionY);
- wordPositionY?.Get(out returnValue);
- wordPositionY?.Dispose();
- return returnValue;
-#endif
}
}
{
get
{
-#if NUI_PROPERTY_CHANGE_3
+
return Object.InternalGetPropertyFloat(SwigCPtr, View.Property.WorldPositionZ);
-#else
- float returnValue = 0.0f;
- PropertyValue wordPositionZ = GetProperty(View.Property.WorldPositionZ);
- wordPositionZ?.Get(out returnValue);
- wordPositionZ?.Dispose();
- return returnValue;
-#endif
}
}
{
get
{
-#if NUI_PROPERTY_CHANGE_3
+
return Object.InternalGetPropertyFloat(SwigCPtr, View.Property.ParentOriginX);
-#else
- float returnValue = 0.0f;
- PropertyValue parentOriginX = GetProperty(View.Property.ParentOriginX);
- parentOriginX?.Get(out returnValue);
- parentOriginX?.Dispose();
- return returnValue;
-#endif
}
set
{
-#if NUI_PROPERTY_CHANGE_3
+
Object.InternalSetPropertyFloat(SwigCPtr, View.Property.WorldPositionX, value);
-#else
- PropertyValue setValue = new Tizen.NUI.PropertyValue(value);
- SetProperty(View.Property.ParentOriginX, setValue);
- setValue.Dispose();
-#endif
NotifyPropertyChanged();
}
}
{
get
{
-#if NUI_PROPERTY_CHANGE_3
+
return Object.InternalGetPropertyFloat(SwigCPtr, View.Property.ParentOriginY);
-#else
- float returnValue = 0.0f;
- PropertyValue parentOriginY = GetProperty(View.Property.ParentOriginY);
- parentOriginY?.Get(out returnValue);
- parentOriginY?.Dispose();
- return returnValue;
-#endif
}
set
{
-#if NUI_PROPERTY_CHANGE_3
- Object.InternalSetPropertyFloat(SwigCPtr, View.Property.ParentOriginY, value);
-#else
- PropertyValue setValue = new Tizen.NUI.PropertyValue(value);
- SetProperty(View.Property.ParentOriginY, setValue);
- setValue.Dispose();
-#endif
+ Object.InternalSetPropertyFloat(SwigCPtr, View.Property.ParentOriginY, value);
NotifyPropertyChanged();
}
}
{
get
{
-#if NUI_PROPERTY_CHANGE_3
+
return Object.InternalGetPropertyFloat(SwigCPtr, View.Property.ParentOriginZ);
-#else
- float returnValue = 0.0f;
- PropertyValue parentOriginZ = GetProperty(View.Property.ParentOriginZ);
- parentOriginZ?.Get(out returnValue);
- parentOriginZ?.Dispose();
- return returnValue;
-#endif
}
set
{
-#if NUI_PROPERTY_CHANGE_3
+
Object.InternalSetPropertyFloat(SwigCPtr, View.Property.ParentOriginZ, value);
-#else
- PropertyValue setValue = new Tizen.NUI.PropertyValue(value);
- SetProperty(View.Property.ParentOriginZ, setValue);
- setValue.Dispose();
-#endif
NotifyPropertyChanged();
}
}
{
get
{
-#if NUI_PROPERTY_CHANGE_3
+
return Object.InternalGetPropertyFloat(SwigCPtr, View.Property.AnchorPointX);
-#else
- float returnValue = 0.0f;
- PropertyValue anchorPointX = GetProperty(View.Property.AnchorPointX);
- anchorPointX?.Get(out returnValue);
- anchorPointX?.Dispose();
- return returnValue;
-#endif
}
set
{
-#if NUI_PROPERTY_CHANGE_3
+
Object.InternalSetPropertyFloat(SwigCPtr, View.Property.AnchorPointX, value);
-#else
- PropertyValue setValue = new Tizen.NUI.PropertyValue(value);
- SetProperty(View.Property.AnchorPointX, setValue);
- setValue.Dispose();
-#endif
}
}
{
get
{
-#if NUI_PROPERTY_CHANGE_3
- return Object.InternalGetPropertyFloat(SwigCPtr, View.Property.AnchorPointY);
-#else
- float returnValue = 0.0f;
- PropertyValue anchorPointY = GetProperty(View.Property.AnchorPointY);
- anchorPointY?.Get(out returnValue);
- anchorPointY?.Dispose();
- return returnValue;
-#endif
+ return Object.InternalGetPropertyFloat(SwigCPtr, View.Property.AnchorPointY);
}
set
{
-#if NUI_PROPERTY_CHANGE_3
+
Object.InternalSetPropertyFloat(SwigCPtr, View.Property.AnchorPointY, value);
-#else
- PropertyValue setValue = new Tizen.NUI.PropertyValue(value);
- SetProperty(View.Property.AnchorPointY, setValue);
- setValue.Dispose();
-#endif
}
}
{
get
{
-#if NUI_PROPERTY_CHANGE_3
+
return Object.InternalGetPropertyFloat(SwigCPtr, View.Property.AnchorPointZ);
-#else
- float returnValue = 0.0f;
- PropertyValue anchorPointZ = GetProperty(View.Property.AnchorPointZ);
- anchorPointZ?.Get(out returnValue);
- anchorPointZ?.Dispose();
- return returnValue;
-#endif
}
set
{
-#if NUI_PROPERTY_CHANGE_3
+
Object.InternalSetPropertyFloat(SwigCPtr, View.Property.AnchorPointZ, value);
-#else
- PropertyValue setValue = new Tizen.NUI.PropertyValue(value);
- SetProperty(View.Property.AnchorPointZ, setValue);
- setValue.Dispose();
-#endif
}
}
{
get
{
-#if NUI_PROPERTY_CHANGE_3
+
return Object.InternalGetPropertyInt(SwigCPtr, View.Property.LeftFocusableViewId);
-#else
- int returnValue = 0;
- PropertyValue leftFocusableViewId = GetProperty(View.Property.LeftFocusableViewId);
- leftFocusableViewId?.Get(out returnValue);
- leftFocusableViewId?.Dispose();
- return returnValue;
-#endif
}
set
{
-#if NUI_PROPERTY_CHANGE_3
+
Object.InternalSetPropertyInt(SwigCPtr, View.Property.LeftFocusableViewId, value);
-#else
- PropertyValue setValue = new Tizen.NUI.PropertyValue(value);
- SetProperty(View.Property.LeftFocusableViewId, setValue);
- setValue.Dispose();
-#endif
}
}
{
get
{
-#if NUI_PROPERTY_CHANGE_3
+
return Object.InternalGetPropertyInt(SwigCPtr, View.Property.RightFocusableViewId);
-#else
- int returnValue = 0;
- PropertyValue rightFocusableViewId = GetProperty(View.Property.RightFocusableViewId);
- rightFocusableViewId?.Get(out returnValue);
- rightFocusableViewId?.Dispose();
- return returnValue;
-#endif
}
set
{
-#if NUI_PROPERTY_CHANGE_3
+
Object.InternalSetPropertyInt(SwigCPtr, View.Property.RightFocusableViewId, value);
-#else
- PropertyValue setValue = new Tizen.NUI.PropertyValue(value);
- SetProperty(View.Property.RightFocusableViewId, setValue);
- setValue.Dispose();
-#endif
}
}
{
get
{
-#if NUI_PROPERTY_CHANGE_3
+
return Object.InternalGetPropertyInt(SwigCPtr, View.Property.UpFocusableViewId);
-#else
- int returnValue = 0;
- PropertyValue upFocusableViewId = GetProperty(View.Property.UpFocusableViewId);
- upFocusableViewId?.Get(out returnValue);
- upFocusableViewId?.Dispose();
- return returnValue;
-#endif
}
set
{
-#if NUI_PROPERTY_CHANGE_3
+
Object.InternalSetPropertyInt(SwigCPtr, View.Property.UpFocusableViewId, value);
-#else
- PropertyValue setValue = new Tizen.NUI.PropertyValue(value);
- SetProperty(View.Property.UpFocusableViewId, setValue);
- setValue.Dispose();
-#endif
}
}
{
get
{
-#if NUI_PROPERTY_CHANGE_3
+
return Object.InternalGetPropertyInt(SwigCPtr, View.Property.DownFocusableViewId);
-#else
- int returnValue = 0;
- PropertyValue downFocusableViewId = GetProperty(View.Property.DownFocusableViewId);
- downFocusableViewId?.Get(out returnValue);
- downFocusableViewId?.Dispose();
- return returnValue;
-#endif
}
set
{
-#if NUI_PROPERTY_CHANGE_3
+
Object.InternalSetPropertyInt(SwigCPtr, View.Property.DownFocusableViewId, value);
-#else
- PropertyValue setValue = new Tizen.NUI.PropertyValue(value);
- SetProperty(View.Property.DownFocusableViewId, setValue);
- setValue.Dispose();
-#endif
}
}
{
get
{
-#if NUI_PROPERTY_CHANGE_3
+
return Object.InternalGetPropertyInt(SwigCPtr, View.Property.ClockwiseFocusableViewId);
-#else
- int returnValue = -1;
- PropertyValue clockwiseFocusableViewId = GetProperty(View.Property.ClockwiseFocusableViewId);
- clockwiseFocusableViewId?.Get(out returnValue);
- clockwiseFocusableViewId?.Dispose();
- return returnValue;
-#endif
}
set
{
-#if NUI_PROPERTY_CHANGE_3
+
Object.InternalSetPropertyInt(SwigCPtr, View.Property.ClockwiseFocusableViewId, value);
-#else
- PropertyValue setValue = new Tizen.NUI.PropertyValue(value);
- SetProperty(View.Property.ClockwiseFocusableViewId, setValue);
- setValue.Dispose();
-#endif
}
}
{
get
{
-#if NUI_PROPERTY_CHANGE_3
+
return Object.InternalGetPropertyInt(SwigCPtr, View.Property.CounterClockwiseFocusableViewId);
-#else
- int returnValue = -1;
- PropertyValue counterClockwiseFocusableViewId = GetProperty(View.Property.CounterClockwiseFocusableViewId);
- counterClockwiseFocusableViewId?.Get(out returnValue);
- counterClockwiseFocusableViewId?.Dispose();
- return returnValue;
-#endif
}
set
{
-#if NUI_PROPERTY_CHANGE_3
+
Object.InternalSetPropertyInt(SwigCPtr, View.Property.CounterClockwiseFocusableViewId, value);
-#else
- PropertyValue setValue = new Tizen.NUI.PropertyValue(value);
- SetProperty(View.Property.CounterClockwiseFocusableViewId, setValue);
- setValue.Dispose();
-#endif
}
}
internal Position GetCurrentParentOrigin()
{
-#if NUI_PROPERTY_CHANGE_3
+
if(internalCurrentParentOrigin == null)
{
internalCurrentParentOrigin = new Position(0, 0, 0);
throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
return internalCurrentParentOrigin;
-#else
- Position ret = new Position(Interop.ActorInternal.GetCurrentParentOrigin(SwigCPtr), true);
-
- if (NDalicPINVOKE.SWIGPendingException.Pending)
- throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
-#endif
}
internal void SetAnchorPoint(Position anchorPoint)
internal Position GetCurrentAnchorPoint()
{
-#if NUI_PROPERTY_CHANGE_3
+
if(internalCurrentAnchorPoint == null)
{
internalCurrentAnchorPoint = new Position(0, 0, 0);
throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
return internalCurrentAnchorPoint;
-#else
- Position ret = new Position(Interop.ActorInternal.GetCurrentAnchorPoint(SwigCPtr), true);
- if (NDalicPINVOKE.SWIGPendingException.Pending)
- throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
-#endif
}
internal void SetSize(float width, float height)
internal Vector3 GetTargetSize()
{
-#if NUI_PROPERTY_CHANGE_3
+
if(internalTargetSize == null)
{
internalTargetSize = new Vector3(0, 0, 0);
throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
return internalTargetSize;
-#else
- Vector3 ret = new Vector3(Interop.ActorInternal.GetTargetSize(SwigCPtr), true);
- if (NDalicPINVOKE.SWIGPendingException.Pending)
- throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
-#endif
}
internal Size2D GetCurrentSize()
{
-#if NUI_PROPERTY_CHANGE_3
+
if(internalCurrentSize == null)
{
internalCurrentSize = new Size2D(0, 0);
throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
return internalCurrentSize;
-#else
- Size ret = new Size(Interop.Actor.GetCurrentSize(SwigCPtr), true);
- if (NDalicPINVOKE.SWIGPendingException.Pending)
- throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- Size2D size = new Size2D((int)ret.Width, (int)ret.Height);
- ret.Dispose();
- return size;
-#endif
}
internal Size2D GetCurrentSizeFloat()
internal Position GetCurrentPosition()
{
-#if NUI_PROPERTY_CHANGE_3
+
if(internalCurrentPosition == null)
{
internalCurrentPosition = new Position(0, 0, 0);
throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
return internalCurrentPosition;
-#else
-
- Position ret = new Position(Interop.Actor.GetCurrentPosition(SwigCPtr), true);
- if (NDalicPINVOKE.SWIGPendingException.Pending)
- throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
-#endif
}
internal Vector3 GetCurrentWorldPosition()
{
-#if NUI_PROPERTY_CHANGE_3
+
if(internalCurrentWorldPosition == null)
{
internalCurrentWorldPosition = new Vector3(0, 0, 0);
throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
return internalCurrentWorldPosition;
-#else
- Vector3 ret = new Vector3(Interop.ActorInternal.GetCurrentWorldPosition(SwigCPtr), true);
- if (NDalicPINVOKE.SWIGPendingException.Pending)
- throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
-#endif
}
internal Vector2 GetCurrentScreenPosition()
{
-#if NUI_VISUAL_PROPERTY_CHANGE_1
+
if(internalCurrentScreenPosition == null)
{
internalCurrentScreenPosition = new Vector2(0, 0);
throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
return internalCurrentScreenPosition;
-#else
- Vector2 temp = new Vector2(0.0f, 0.0f);
- var pValue = GetProperty(View.Property.ScreenPosition);
- pValue.Get(temp);
- pValue.Dispose();
- return temp;
-#endif
}
internal Vector4 GetCurrentScreenPositionSize()
internal Vector3 GetCurrentScale()
{
-#if NUI_PROPERTY_CHANGE_3
+
if(internalCurrentScale == null)
{
internalCurrentScale = new Vector3(0, 0, 0);
throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
return internalCurrentScale;
-#else
-
- Vector3 ret = new Vector3(Interop.ActorInternal.GetCurrentScale(SwigCPtr), true);
- if (NDalicPINVOKE.SWIGPendingException.Pending)
- throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
-#endif
}
internal Vector3 GetCurrentWorldScale()
{
-#if NUI_PROPERTY_CHANGE_3
+
if(internalCurrentWorldScale == null)
{
internalCurrentWorldScale = new Vector3(0, 0, 0);
throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
return internalCurrentWorldScale;
-#else
-
- Vector3 ret = new Vector3(Interop.ActorInternal.GetCurrentWorldScale(SwigCPtr), true);
- if (NDalicPINVOKE.SWIGPendingException.Pending)
- throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
-#endif
}
internal void SetInheritScale(bool inherit)
internal Vector4 GetCurrentColor()
{
-#if NUI_PROPERTY_CHANGE_3
+
if(internalCurrentColor == null)
{
internalCurrentColor = new Vector4(0, 0, 0, 0);
throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
return internalCurrentColor;
-#else
-
- Vector4 ret = new Vector4(Interop.ActorInternal.GetCurrentColor(SwigCPtr), true);
- if (NDalicPINVOKE.SWIGPendingException.Pending)
- throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
-#endif
}
internal ColorMode GetColorMode()
{
internal Vector4 GetCurrentWorldColor()
{
-#if NUI_PROPERTY_CHANGE_3
+
if(internalCurrentWorldColor == null)
{
internalCurrentWorldColor = new Vector4(0, 0, 0, 0);
throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
return internalCurrentWorldColor;
-#else
-
- Vector4 ret = new Vector4(Interop.ActorInternal.GetCurrentWorldColor(SwigCPtr), true);
- if (NDalicPINVOKE.SWIGPendingException.Pending)
- throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
-#endif
}
internal void SetDrawMode(DrawModeType drawMode)
internal Vector3 GetSizeModeFactor()
{
-#if NUI_PROPERTY_CHANGE_1
+
if (internalSizeModeFactor == null)
{
internalSizeModeFactor = new Vector3(OnSizeModeFactorChanged, 0, 0, 0);
}
Object.InternalRetrievingPropertyVector3(SwigCPtr, View.Property.SizeModeFactor, internalSizeModeFactor.SwigCPtr);
return internalSizeModeFactor;
-#else
-
- Vector3 ret = new Vector3(Interop.Actor.GetSizeModeFactor(SwigCPtr), true);
- if (NDalicPINVOKE.SWIGPendingException.Pending)
- throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
-#endif
}
internal void SetMinimumSize(Vector2 size)
internal Vector2 GetMinimumSize()
{
-#if NUI_PROPERTY_CHANGE_1
+
if (internalMinimumSize == null)
{
internalMinimumSize = new Size2D(OnMinimumSizeChanged, 0, 0);
}
Object.InternalRetrievingPropertyVector2(SwigCPtr, View.Property.MinimumSize, internalMinimumSize.SwigCPtr);
return internalMinimumSize;
-#else
- Vector2 ret = new Vector2(Interop.ActorInternal.GetMinimumSize(SwigCPtr), true);
- if (NDalicPINVOKE.SWIGPendingException.Pending)
- throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
-#endif
}
internal void SetMaximumSize(Vector2 size)
internal Vector2 GetMaximumSize()
{
-#if NUI_PROPERTY_CHANGE_1
+
if (internalMaximumSize == null)
{
internalMaximumSize = new Size2D(OnMaximumSizeChanged, 0, 0);
}
Object.InternalRetrievingPropertyVector2(SwigCPtr, View.Property.MaximumSize, internalMaximumSize.SwigCPtr);
return internalMaximumSize;
-#else
-
- Vector2 ret = new Vector2(Interop.ActorInternal.GetMaximumSize(SwigCPtr), true);
- if (NDalicPINVOKE.SWIGPendingException.Pending)
- throw NDalicPINVOKE.SWIGPendingException.Retrieve();
- return ret;
-#endif
}
internal int GetHierarchyDepth()
/// </summary>
internal bool IsBackgroundEmpty()
{
-#if NUI_VISUAL_PROPERTY_CHANGE_1
+
int visualType = (int)Visual.Type.Invalid;
Interop.View.InternalRetrievingVisualPropertyInt(this.SwigCPtr, Property.BACKGROUND, Visual.Property.Type, out visualType);
return visualType == (int)Visual.Type.Invalid;
-#else
- PropertyMap background = Background;
- return (background == null || background.Empty());
-#endif
}
internal void SetKeyInputFocus()
{
if (backgroundExtraData == null) return;
-#if NUI_VISUAL_PROPERTY_CHANGE_1
+
// Update corner radius properties to background and shadow by ActionUpdateProperty
if (backgroundExtraData.CornerRadius != null)
{
}
Interop.View.InternalUpdateVisualPropertyInt(this.SwigCPtr, View.Property.BACKGROUND, Visual.Property.CornerRadiusPolicy, (int)backgroundExtraData.CornerRadiusPolicy);
Interop.View.InternalUpdateVisualPropertyInt(this.SwigCPtr, View.Property.SHADOW, Visual.Property.CornerRadiusPolicy, (int)backgroundExtraData.CornerRadiusPolicy);
-#else
- var cornerRadiusValue = backgroundExtraData.CornerRadius == null ? new PropertyValue() : new PropertyValue(backgroundExtraData.CornerRadius);
- var cornerRadiusPolicyValue = new PropertyValue((int)backgroundExtraData.CornerRadiusPolicy);
-
- // Make current propertyMap
- PropertyMap currentPropertyMap = new PropertyMap();
- currentPropertyMap[Visual.Property.CornerRadius] = cornerRadiusValue;
- currentPropertyMap[Visual.Property.CornerRadiusPolicy] = cornerRadiusPolicyValue;
- var temp = new PropertyValue(currentPropertyMap);
-
- // Update corner radius properties to background and shadow by ActionUpdateProperty
- DoAction(View.Property.BACKGROUND, ActionUpdateProperty, temp);
- DoAction(View.Property.SHADOW, ActionUpdateProperty, temp);
-
- temp.Dispose();
- currentPropertyMap.Dispose();
- cornerRadiusValue.Dispose();
- cornerRadiusPolicyValue.Dispose();
-#endif
}
/// TODO open as a protected level
{
if (backgroundExtraData == null) return;
-#if NUI_VISUAL_PROPERTY_CHANGE_1
+
// ActionUpdateProperty works well only if BACKGROUND visual setup before.
// If view don't have BACKGROUND visual, we set transparent background color in default.
if (IsBackgroundEmpty())
Interop.View.InternalUpdateVisualPropertyFloat(this.SwigCPtr, View.Property.BACKGROUND, Visual.Property.BorderlineWidth, backgroundExtraData.BorderlineWidth);
Interop.View.InternalUpdateVisualPropertyVector4(this.SwigCPtr, View.Property.BACKGROUND, Visual.Property.BorderlineColor, Vector4.getCPtr(backgroundExtraData.BorderlineColor ?? Color.Black));
Interop.View.InternalUpdateVisualPropertyFloat(this.SwigCPtr, View.Property.BACKGROUND, Visual.Property.BorderlineOffset, backgroundExtraData.BorderlineOffset);
-#else
- // ActionUpdateProperty works well only if BACKGROUND visual setup before.
- // If view don't have BACKGROUND visual, we set transparent background color in default.
- using (PropertyMap backgroundPropertyMap = new PropertyMap())
- {
- using (PropertyValue propertyValue = Object.GetProperty(SwigCPtr, Property.BACKGROUND))
- {
- propertyValue?.Get(backgroundPropertyMap);
- if (backgroundPropertyMap.Empty())
- {
- // BACKGROUND visual doesn't exist.
- SetBackgroundColor(Color.Transparent);
- // SetBackgroundColor function apply borderline internally.
- // So we can just return now.
- return;
- }
- }
- }
-
- var borderlineWidthValue = new PropertyValue(backgroundExtraData.BorderlineWidth);
- var borderlineColorValue = backgroundExtraData.BorderlineColor == null ? new PropertyValue(Color.Black) : new PropertyValue(backgroundExtraData.BorderlineColor);
- var borderlineOffsetValue = new PropertyValue(backgroundExtraData.BorderlineOffset);
-
- // Make current propertyMap
- PropertyMap currentPropertyMap = new PropertyMap();
- currentPropertyMap[Visual.Property.BorderlineWidth] = borderlineWidthValue;
- currentPropertyMap[Visual.Property.BorderlineColor] = borderlineColorValue;
- currentPropertyMap[Visual.Property.BorderlineOffset] = borderlineOffsetValue;
- var temp = new PropertyValue(currentPropertyMap);
-
- // Update borderline properties to background by ActionUpdateProperty
- DoAction(View.Property.BACKGROUND, ActionUpdateProperty, temp);
-
- temp.Dispose();
- currentPropertyMap.Dispose();
- borderlineWidthValue.Dispose();
- borderlineColorValue.Dispose();
- borderlineOffsetValue.Dispose();
-#endif
}
/// <summary>
rotationGestureDetector?.Dispose();
rotationGestureDetector = null;
-#if NUI_PROPERTY_CHANGE_3
+
internalCurrentParentOrigin?.Dispose();
internalCurrentParentOrigin = null;
internalCurrentAnchorPoint?.Dispose();
internalCurrentWorldColor = null;
internalSizeModeFactor?.Dispose();
internalSizeModeFactor = null;
-#endif
-#if NUI_VISUAL_PROPERTY_CHANGE_1
internalCurrentScreenPosition?.Dispose();
internalCurrentScreenPosition = null;
-#endif
if (type == DisposeTypes.Explicit)
{
AlphaFunction.BuiltinFunctions? alphaFunction = null,
object initialValue = null)
{
-#if NUI_VISUAL_PROPERTY_CHANGE_1
if (IsBackgroundEmpty())
{
// If there is no background yet, ensure there is a transparent
// color visual
BackgroundColor = new Color(0.0f, 0.0f, 0.0f, 0.0f);
}
-#else
- Tizen.NUI.PropertyMap background = Background;
-
- if (background.Empty())
- {
- // If there is no background yet, ensure there is a transparent
- // color visual
- BackgroundColor = new Color(0.0f, 0.0f, 0.0f, 0.0f);
- background = Background;
- }
-#endif
return AnimateColor("background", destinationValue, startTime, endTime, alphaFunction, initialValue);
}
return value;
}
-#if NUI_ANIMATION_PROPERTY_CHANGE_1
+
/// <summary>
/// An extension to the property value class that allows us to create a
/// Property value from a C# object, for example, integer, float, or string.<br />
}
return value;
}
-#endif
/// <summary>
/// Retrieves a Size2D value.