/*
* Copyright(c) 2018 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*/
extern alias TizenSystemSettings;
using TizenSystemSettings.Tizen.System;
using System;
using System.Runtime.InteropServices;
using System.Globalization;
using System.ComponentModel;
using Tizen.NUI.XamlBinding;
using static Tizen.NUI.BaseComponents.TextField;
using Tizen.NUI;
namespace Tizen.NUI.Xaml.Forms.BaseComponents
{
///
/// A control which provides a single line editable text field.
///
/// 6
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public class TextField : View
{
private Tizen.NUI.BaseComponents.TextField _textField;
internal Tizen.NUI.BaseComponents.TextField textField
{
get
{
if (null == _textField)
{
_textField = handleInstance as Tizen.NUI.BaseComponents.TextField;
}
return _textField;
}
}
///
/// Constructor.
///
/// 6
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public TextField() : this(new Tizen.NUI.BaseComponents.TextField())
{
}
internal TextField(Tizen.NUI.BaseComponents.TextField nuiInstance) : base(nuiInstance)
{
SetNUIInstance(nuiInstance);
}
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public static readonly BindableProperty TextProperty = BindableProperty.Create(nameof(Text), typeof(string), typeof(TextField), string.Empty, propertyChanged: (bindable, oldValue, newValue) =>
{
var textField = ((TextField)bindable).textField;
textField.Text = (string)newValue;
},
defaultValueCreator: (bindable) =>
{
var textField = ((TextField)bindable).textField;
return textField.Text;
});
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public static readonly BindableProperty PlaceholderTextProperty = BindableProperty.Create(nameof(PlaceholderText), typeof(string), typeof(TextField), string.Empty, propertyChanged: (bindable, oldValue, newValue) =>
{
var textField = ((TextField)bindable).textField;
textField.PlaceholderText = (string)newValue;
},
defaultValueCreator: (bindable) =>
{
var textField = ((TextField)bindable).textField;
return textField.PlaceholderText;
});
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public static readonly BindableProperty PlaceholderTextFocusedProperty = BindableProperty.Create(nameof(PlaceholderTextFocused), typeof(string), typeof(TextField), string.Empty, propertyChanged: (bindable, oldValue, newValue) =>
{
var textField = ((TextField)bindable).textField;
textField.PlaceholderTextFocused = (string)newValue;
},
defaultValueCreator: (bindable) =>
{
var textField = ((TextField)bindable).textField;
return textField.PlaceholderTextFocused;
});
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public static readonly BindableProperty FontFamilyProperty = BindableProperty.Create(nameof(FontFamily), typeof(string), typeof(TextField), string.Empty, propertyChanged: (bindable, oldValue, newValue) =>
{
var textField = ((TextField)bindable).textField;
textField.FontFamily = (string)newValue;
},
defaultValueCreator: (bindable) =>
{
var textField = ((TextField)bindable).textField;
return textField.FontFamily;
});
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public static readonly BindableProperty FontStyleProperty = BindableProperty.Create(nameof(FontStyle), typeof(PropertyMap), typeof(TextField), null, propertyChanged: (bindable, oldValue, newValue) =>
{
var textField = ((TextField)bindable).textField;
textField.FontStyle = (PropertyMap)newValue;
},
defaultValueCreator: (bindable) =>
{
var textField = ((TextField)bindable).textField;
return textField.FontStyle;
});
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public static readonly BindableProperty PointSizeProperty = BindableProperty.Create(nameof(PointSize), typeof(float), typeof(TextField), default(float), propertyChanged: (bindable, oldValue, newValue) =>
{
var textField = ((TextField)bindable).textField;
textField.PointSize = (float)newValue;
},
defaultValueCreator: (bindable) =>
{
var textField = ((TextField)bindable).textField;
return textField.PointSize;
});
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public static readonly BindableProperty MaxLengthProperty = BindableProperty.Create(nameof(MaxLength), typeof(int), typeof(TextField), default(int), propertyChanged: (bindable, oldValue, newValue) =>
{
var textField = ((TextField)bindable).textField;
textField.MaxLength = (int)newValue;
},
defaultValueCreator: (bindable) =>
{
var textField = ((TextField)bindable).textField;
return textField.MaxLength;
});
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public static readonly BindableProperty ExceedPolicyProperty = BindableProperty.Create(nameof(ExceedPolicy), typeof(int), typeof(TextField), default(int), propertyChanged: (bindable, oldValue, newValue) =>
{
var textField = ((TextField)bindable).textField;
textField.ExceedPolicy = (int)newValue;
},
defaultValueCreator: (bindable) =>
{
var textField = ((TextField)bindable).textField;
return textField.ExceedPolicy;
});
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public static readonly BindableProperty HorizontalAlignmentProperty = BindableProperty.Create(nameof(HorizontalAlignment), typeof(HorizontalAlignment), typeof(TextField), HorizontalAlignment.Begin, propertyChanged: (bindable, oldValue, newValue) =>
{
var textField = ((TextField)bindable).textField;
textField.HorizontalAlignment = (HorizontalAlignment)newValue;
},
defaultValueCreator: (bindable) =>
{
var textField = ((TextField)bindable).textField;
return textField.HorizontalAlignment;
});
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public static readonly BindableProperty VerticalAlignmentProperty = BindableProperty.Create(nameof(TextField.VerticalAlignment), typeof(VerticalAlignment), typeof(TextField), VerticalAlignment.Bottom, propertyChanged: (bindable, oldValue, newValue) =>
{
var textField = ((TextField)bindable).textField;
textField.VerticalAlignment = (VerticalAlignment)newValue;
},
defaultValueCreator: (bindable) =>
{
var textField = ((TextField)bindable).textField;
return textField.VerticalAlignment;
});
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public static readonly BindableProperty TextColorProperty = BindableProperty.Create(nameof(TextField.TextColor), typeof(Color), typeof(TextField), null, propertyChanged: (bindable, oldValue, newValue) =>
{
var textField = ((TextField)bindable).textField;
textField.TextColor = (Color)newValue;
},
defaultValueCreator: (bindable) =>
{
var textField = ((TextField)bindable).textField;
return textField.TextColor;
});
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public static readonly BindableProperty PlaceholderTextColorProperty = BindableProperty.Create(nameof(TextField.PlaceholderTextColor), typeof(Vector4), typeof(TextField), null, propertyChanged: (bindable, oldValue, newValue) =>
{
var textField = ((TextField)bindable).textField;
textField.PlaceholderTextColor = (Vector4)newValue;
},
defaultValueCreator: (bindable) =>
{
var textField = ((TextField)bindable).textField;
return textField.PlaceholderTextColor;
});
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public static readonly BindableProperty PrimaryCursorColorProperty = BindableProperty.Create("PrimaryCursorColor", typeof(Vector4), typeof(TextField), null, propertyChanged: (bindable, oldValue, newValue) =>
{
var textField = ((TextField)bindable).textField;
textField.PrimaryCursorColor = (Vector4)newValue;
},
defaultValueCreator: (bindable) =>
{
var textField = ((TextField)bindable).textField;
return textField.PrimaryCursorColor;
});
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public static readonly BindableProperty SecondaryCursorColorProperty = BindableProperty.Create(nameof(TextField.SecondaryCursorColor), typeof(Vector4), typeof(TextField), null, propertyChanged: (bindable, oldValue, newValue) =>
{
var textField = ((TextField)bindable).textField;
textField.SecondaryCursorColor = (Vector4)newValue;
},
defaultValueCreator: (bindable) =>
{
var textField = ((TextField)bindable).textField;
return textField.SecondaryCursorColor;
});
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public static readonly BindableProperty EnableCursorBlinkProperty = BindableProperty.Create(nameof(TextField.EnableCursorBlink), typeof(bool), typeof(TextField), false, propertyChanged: (bindable, oldValue, newValue) =>
{
var textField = ((TextField)bindable).textField;
textField.EnableCursorBlink = (bool)newValue;
},
defaultValueCreator: (bindable) =>
{
var textField = ((TextField)bindable).textField;
return textField.EnableCursorBlink;
});
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public static readonly BindableProperty CursorBlinkIntervalProperty = BindableProperty.Create(nameof(TextField.CursorBlinkInterval), typeof(float), typeof(TextField), default(float), propertyChanged: (bindable, oldValue, newValue) =>
{
var textField = ((TextField)bindable).textField;
textField.CursorBlinkInterval = (float)newValue;
},
defaultValueCreator: (bindable) =>
{
var textField = ((TextField)bindable).textField;
return textField.CursorBlinkInterval;
});
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public static readonly BindableProperty CursorBlinkDurationProperty = BindableProperty.Create(nameof(TextField.CursorBlinkDuration), typeof(float), typeof(TextField), default(float), propertyChanged: (bindable, oldValue, newValue) =>
{
var textField = ((TextField)bindable).textField;
textField.CursorBlinkDuration = (float)newValue;
},
defaultValueCreator: (bindable) =>
{
var textField = ((TextField)bindable).textField;
return textField.CursorBlinkDuration;
});
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public static readonly BindableProperty CursorWidthProperty = BindableProperty.Create(nameof(TextField.CursorWidth), typeof(int), typeof(TextField), default(int), propertyChanged: (bindable, oldValue, newValue) =>
{
var textField = ((TextField)bindable).textField;
textField.CursorWidth = (int)newValue;
},
defaultValueCreator: (bindable) =>
{
var textField = ((TextField)bindable).textField;
return textField.CursorWidth;
});
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public static readonly BindableProperty GrabHandleImageProperty = BindableProperty.Create(nameof(TextField.GrabHandleImage), typeof(string), typeof(TextField), string.Empty, propertyChanged: (bindable, oldValue, newValue) =>
{
var textField = ((TextField)bindable).textField;
textField.GrabHandleImage = (string)newValue;
},
defaultValueCreator: (bindable) =>
{
var textField = ((TextField)bindable).textField;
return textField.GrabHandleImage;
});
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public static readonly BindableProperty GrabHandlePressedImageProperty = BindableProperty.Create(nameof(TextField.GrabHandlePressedImage), typeof(string), typeof(TextField), string.Empty, propertyChanged: (bindable, oldValue, newValue) =>
{
var textField = ((TextField)bindable).textField;
textField.GrabHandlePressedImage = (string)newValue;
},
defaultValueCreator: (bindable) =>
{
var textField = ((TextField)bindable).textField;
return textField.GrabHandlePressedImage;
});
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public static readonly BindableProperty ScrollThresholdProperty = BindableProperty.Create(nameof(TextField.ScrollThreshold), typeof(float), typeof(TextField), default(float), propertyChanged: (bindable, oldValue, newValue) =>
{
var textField = ((TextField)bindable).textField;
textField.ScrollThreshold = (float)newValue;
},
defaultValueCreator: (bindable) =>
{
var textField = ((TextField)bindable).textField;
return textField.ScrollThreshold;
});
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public static readonly BindableProperty ScrollSpeedProperty = BindableProperty.Create(nameof(TextField.ScrollSpeed), typeof(float), typeof(TextField), default(float), propertyChanged: (bindable, oldValue, newValue) =>
{
var textField = ((TextField)bindable).textField;
textField.ScrollSpeed = (float)newValue;
},
defaultValueCreator: (bindable) =>
{
var textField = ((TextField)bindable).textField;
return textField.ScrollSpeed;
});
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public static readonly BindableProperty SelectionHandleImageLeftProperty = BindableProperty.Create(nameof(TextField.SelectionHandleImageLeft), typeof(PropertyMap), typeof(TextField), null, propertyChanged: (bindable, oldValue, newValue) =>
{
var textField = ((TextField)bindable).textField;
textField.SelectionHandleImageLeft = (PropertyMap)newValue;
},
defaultValueCreator: (bindable) =>
{
var textField = ((TextField)bindable).textField;
return textField.SelectionHandleImageLeft;
});
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public static readonly BindableProperty SelectionHandleImageRightProperty = BindableProperty.Create(nameof(TextField.SelectionHandleImageLeft), typeof(PropertyMap), typeof(TextField), null, propertyChanged: (bindable, oldValue, newValue) =>
{
var textField = ((TextField)bindable).textField;
textField.SelectionHandleImageLeft = (PropertyMap)newValue;
},
defaultValueCreator: (bindable) =>
{
var textField = ((TextField)bindable).textField;
return textField.SelectionHandleImageLeft;
});
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public static readonly BindableProperty SelectionHandlePressedImageLeftProperty = BindableProperty.Create(nameof(TextField.SelectionHandlePressedImageLeft), typeof(PropertyMap), typeof(TextField), null, propertyChanged: (bindable, oldValue, newValue) =>
{
var textField = ((TextField)bindable).textField;
textField.SelectionHandlePressedImageLeft = (PropertyMap)newValue;
},
defaultValueCreator: (bindable) =>
{
var textField = ((TextField)bindable).textField;
return textField.SelectionHandlePressedImageLeft;
});
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public static readonly BindableProperty SelectionHandlePressedImageRightProperty = BindableProperty.Create(nameof(TextField.SelectionHandlePressedImageRight), typeof(PropertyMap), typeof(TextField), null, propertyChanged: (bindable, oldValue, newValue) =>
{
var textField = ((TextField)bindable).textField;
textField.SelectionHandlePressedImageRight = (PropertyMap)newValue;
},
defaultValueCreator: (bindable) =>
{
var textField = ((TextField)bindable).textField;
return textField.SelectionHandlePressedImageRight;
});
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public static readonly BindableProperty SelectionHandleMarkerImageLeftProperty = BindableProperty.Create(nameof(TextField.SelectionHandleMarkerImageLeft), typeof(PropertyMap), typeof(TextField), null, propertyChanged: (bindable, oldValue, newValue) =>
{
var textField = ((TextField)bindable).textField;
textField.SelectionHandleMarkerImageLeft = (PropertyMap)newValue;
},
defaultValueCreator: (bindable) =>
{
var textField = ((TextField)bindable).textField;
return textField.SelectionHandleMarkerImageLeft;
});
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public static readonly BindableProperty SelectionHandleMarkerImageRightProperty = BindableProperty.Create(nameof(TextField.SelectionHandleMarkerImageRight), typeof(PropertyMap), typeof(TextField), null, propertyChanged: (bindable, oldValue, newValue) =>
{
var textField = ((TextField)bindable).textField;
textField.SelectionHandleMarkerImageRight = (PropertyMap)newValue;
},
defaultValueCreator: (bindable) =>
{
var textField = ((TextField)bindable).textField;
return textField.SelectionHandleMarkerImageRight;
});
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public static readonly BindableProperty SelectionHighlightColorProperty = BindableProperty.Create(nameof(TextField.SelectionHighlightColor), typeof(Vector4), typeof(TextField), null, propertyChanged: (bindable, oldValue, newValue) =>
{
var textField = ((TextField)bindable).textField;
textField.SelectionHighlightColor = (Vector4)newValue;
},
defaultValueCreator: (bindable) =>
{
var textField = ((TextField)bindable).textField;
return textField.SelectionHighlightColor;
});
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public static readonly BindableProperty DecorationBoundingBoxProperty = BindableProperty.Create(nameof(TextField.DecorationBoundingBox), typeof(Rectangle), typeof(TextField), null, propertyChanged: (bindable, oldValue, newValue) =>
{
var textField = ((TextField)bindable).textField;
textField.DecorationBoundingBox = (Rectangle)newValue;
},
defaultValueCreator: (bindable) =>
{
var textField = ((TextField)bindable).textField;
return textField.DecorationBoundingBox;
});
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public static readonly BindableProperty InputMethodSettingsProperty = BindableProperty.Create(nameof(TextField.InputMethodSettings), typeof(PropertyMap), typeof(TextField), null, propertyChanged: (bindable, oldValue, newValue) =>
{
var textField = ((TextField)bindable).textField;
textField.InputMethodSettings = (PropertyMap)newValue;
},
defaultValueCreator: (bindable) =>
{
var textField = ((TextField)bindable).textField;
return textField.InputMethodSettings;
});
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public static readonly BindableProperty InputColorProperty = BindableProperty.Create(nameof(TextField.InputColor), typeof(Vector4), typeof(TextField), null, propertyChanged: (bindable, oldValue, newValue) =>
{
var textField = ((TextField)bindable).textField;
textField.InputColor = (Vector4)newValue;
},
defaultValueCreator: (bindable) =>
{
var textField = ((TextField)bindable).textField;
return textField.InputColor;
});
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public static readonly BindableProperty EnableMarkupProperty = BindableProperty.Create(nameof(TextField.EnableMarkup), typeof(bool), typeof(TextField), false, propertyChanged: (bindable, oldValue, newValue) =>
{
var textField = ((TextField)bindable).textField;
textField.EnableMarkup = (bool)newValue;
},
defaultValueCreator: (bindable) =>
{
var textField = ((TextField)bindable).textField;
return textField.EnableMarkup;
});
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public static readonly BindableProperty InputFontFamilyProperty = BindableProperty.Create(nameof(TextField.InputFontFamily), typeof(string), typeof(TextField), string.Empty, propertyChanged: (bindable, oldValue, newValue) =>
{
var textField = ((TextField)bindable).textField;
textField.InputFontFamily = (string)newValue;
},
defaultValueCreator: (bindable) =>
{
var textField = ((TextField)bindable).textField;
return textField.InputFontFamily;
});
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public static readonly BindableProperty InputFontStyleProperty = BindableProperty.Create(nameof(TextField.InputFontStyle), typeof(PropertyMap), typeof(TextField), null, propertyChanged: (bindable, oldValue, newValue) =>
{
var textField = ((TextField)bindable).textField;
textField.InputFontStyle = (PropertyMap)newValue;
},
defaultValueCreator: (bindable) =>
{
var textField = ((TextField)bindable).textField;
return textField.InputFontStyle;
});
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public static readonly BindableProperty InputPointSizeProperty = BindableProperty.Create(nameof(TextField.InputPointSize), typeof(float), typeof(TextField), default(float), propertyChanged: (bindable, oldValue, newValue) =>
{
var textField = ((TextField)bindable).textField;
textField.InputPointSize = (float)newValue;
},
defaultValueCreator: (bindable) =>
{
var textField = ((TextField)bindable).textField;
return textField.InputPointSize;
});
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public static readonly BindableProperty UnderlineProperty = BindableProperty.Create(nameof(TextField.Underline), typeof(PropertyMap), typeof(TextField), null, propertyChanged: (bindable, oldValue, newValue) =>
{
var textField = ((TextField)bindable).textField;
textField.Underline = (PropertyMap)newValue;
},
defaultValueCreator: (bindable) =>
{
var textField = ((TextField)bindable).textField;
return textField.Underline;
});
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public static readonly BindableProperty InputUnderlineProperty = BindableProperty.Create(nameof(TextField.InputUnderline), typeof(string), typeof(TextField), string.Empty, propertyChanged: (bindable, oldValue, newValue) =>
{
var textField = ((TextField)bindable).textField;
textField.InputUnderline = (string)newValue;
},
defaultValueCreator: (bindable) =>
{
var textField = ((TextField)bindable).textField;
return textField.InputUnderline;
});
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public static readonly BindableProperty ShadowProperty = BindableProperty.Create(nameof(TextField.Shadow), typeof(PropertyMap), typeof(TextField), null, propertyChanged: (bindable, oldValue, newValue) =>
{
var textField = ((TextField)bindable).textField;
textField.Shadow = (PropertyMap)newValue;
},
defaultValueCreator: (bindable) =>
{
var textField = ((TextField)bindable).textField;
return textField.Shadow;
});
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public static readonly BindableProperty InputShadowProperty = BindableProperty.Create(nameof(TextField.InputShadow), typeof(string), typeof(TextField), string.Empty, propertyChanged: (bindable, oldValue, newValue) =>
{
var textField = ((TextField)bindable).textField;
textField.InputShadow = (string)newValue;
},
defaultValueCreator: (bindable) =>
{
var textField = ((TextField)bindable).textField;
return textField.InputShadow;
});
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public static readonly BindableProperty EmbossProperty = BindableProperty.Create(nameof(TextField.Emboss), typeof(string), typeof(TextField), string.Empty, propertyChanged: (bindable, oldValue, newValue) =>
{
var textField = ((TextField)bindable).textField;
textField.Emboss = (string)newValue;
},
defaultValueCreator: (bindable) =>
{
var textField = ((TextField)bindable).textField;
return textField.Emboss;
});
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public static readonly BindableProperty InputEmbossProperty = BindableProperty.Create(nameof(TextField.InputEmboss), typeof(string), typeof(TextField), string.Empty, propertyChanged: (bindable, oldValue, newValue) =>
{
var textField = ((TextField)bindable).textField;
textField.InputEmboss = (string)newValue;
},
defaultValueCreator: (bindable) =>
{
var textField = ((TextField)bindable).textField;
return textField.InputEmboss;
});
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public static readonly BindableProperty OutlineProperty = BindableProperty.Create(nameof(TextField.Outline), typeof(PropertyMap), typeof(TextField), null, propertyChanged: (bindable, oldValue, newValue) =>
{
var textField = ((TextField)bindable).textField;
textField.Outline = (PropertyMap)newValue;
},
defaultValueCreator: (bindable) =>
{
var textField = ((TextField)bindable).textField;
return textField.Outline;
});
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public static readonly BindableProperty InputOutlineProperty = BindableProperty.Create(nameof(TextField.InputOutline), typeof(string), typeof(TextField), string.Empty, propertyChanged: (bindable, oldValue, newValue) =>
{
var textField = ((TextField)bindable).textField;
textField.InputOutline = (string)newValue;
},
defaultValueCreator: (bindable) =>
{
var textField = ((TextField)bindable).textField;
return textField.InputOutline;
});
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public static readonly BindableProperty HiddenInputSettingsProperty = BindableProperty.Create(nameof(TextField.HiddenInputSettings), typeof(PropertyMap), typeof(TextField), null, propertyChanged: (bindable, oldValue, newValue) =>
{
var textField = ((TextField)bindable).textField;
textField.HiddenInputSettings = (PropertyMap)newValue;
},
defaultValueCreator: (bindable) =>
{
var textField = ((TextField)bindable).textField;
return textField.HiddenInputSettings;
});
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public static readonly BindableProperty PixelSizeProperty = BindableProperty.Create(nameof(TextField.PixelSize), typeof(float), typeof(TextField), default(float), propertyChanged: (bindable, oldValue, newValue) =>
{
var textField = ((TextField)bindable).textField;
textField.PixelSize = (float)newValue;
},
defaultValueCreator: (bindable) =>
{
var textField = ((TextField)bindable).textField;
return textField.PixelSize;
});
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public static readonly BindableProperty EnableSelectionProperty = BindableProperty.Create(nameof(TextField.EnableSelection), typeof(bool), typeof(TextField), false, propertyChanged: (bindable, oldValue, newValue) =>
{
var textField = ((TextField)bindable).textField;
textField.EnableSelection = (bool)newValue;
},
defaultValueCreator: (bindable) =>
{
var textField = ((TextField)bindable).textField;
return textField.EnableSelection;
});
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public static readonly BindableProperty PlaceholderProperty = BindableProperty.Create(nameof(TextField.Placeholder), typeof(PropertyMap), typeof(TextField), null, propertyChanged: (bindable, oldValue, newValue) =>
{
var textField = ((TextField)bindable).textField;
textField.Placeholder = (PropertyMap)newValue;
},
defaultValueCreator: (bindable) =>
{
var textField = ((TextField)bindable).textField;
return textField.Placeholder;
});
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public static readonly BindableProperty EllipsisProperty = BindableProperty.Create(nameof(TextField.Ellipsis), typeof(bool), typeof(TextField), false, propertyChanged: (bindable, oldValue, newValue) =>
{
var textField = ((TextField)bindable).textField;
textField.Ellipsis = (bool)newValue;
},
defaultValueCreator: (bindable) =>
{
var textField = ((TextField)bindable).textField;
return textField.Ellipsis;
});
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public static readonly BindableProperty EnableShiftSelectionProperty = BindableProperty.Create(nameof(TextField.EnableShiftSelection), typeof(bool), typeof(TextField), false, propertyChanged: (bindable, oldValue, newValue) =>
{
var textField = ((TextField)bindable).textField;
textField.EnableShiftSelection = (bool)newValue;
},
defaultValueCreator: (bindable) =>
{
var textField = ((TextField)bindable).textField;
return textField.EnableShiftSelection;
});
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public static readonly BindableProperty MatchSystemLanguageDirectionProperty = BindableProperty.Create(nameof(TextField.MatchSystemLanguageDirection), typeof(bool), typeof(TextField), false, propertyChanged: (bindable, oldValue, newValue) =>
{
var textField = ((TextField)bindable).textField;
textField.MatchSystemLanguageDirection = (bool)newValue;
},
defaultValueCreator: (bindable) =>
{
var textField = ((TextField)bindable).textField;
return textField.MatchSystemLanguageDirection;
});
///
/// The TextChanged event.
///
/// 6
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public event EventHandler TextChanged
{
add
{
textField.TextChanged += value;
}
remove
{
textField.TextChanged -= value;
}
}
///
/// The MaxLengthReached event.
///
/// 6
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public event EventHandler MaxLengthReached
{
add
{
textField.MaxLengthReached += value;
}
remove
{
textField.MaxLengthReached -= value;
}
}
///
/// Get the InputMethodContext instance.
///
/// The InputMethodContext instance.
/// 6
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public InputMethodContext GetInputMethodContext()
{
return textField.GetInputMethodContext();
}
///
/// The TranslatableText property.
/// The text can set the SID value.
///
///
/// ResourceManager about multilingual is null.
///
/// 6
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public string TranslatableText
{
get
{
return textField.TranslatableText;
}
set
{
textField.TranslatableText = value;
}
}
///
/// The TranslatablePlaceholderText property.
/// The text can set the SID value.
///
///
/// ResourceManager about multilingual is null.
///
/// 6
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public string TranslatablePlaceholderText
{
get
{
return textField.TranslatablePlaceholderText;
}
set
{
textField.TranslatablePlaceholderText = value;
}
}
///
/// The Text property.
///
/// 6
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public string Text
{
get
{
return (string)GetValue(TextProperty);
}
set
{
SetValue(TextProperty, value);
}
}
///
/// The PlaceholderText property.
///
/// 6
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public string PlaceholderText
{
get
{
return (string)GetValue(PlaceholderTextProperty);
}
set
{
SetValue(PlaceholderTextProperty, value);
}
}
///
/// The PlaceholderTextFocused property.
///
/// 6
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public string PlaceholderTextFocused
{
get
{
return (string)GetValue(PlaceholderTextFocusedProperty);
}
set
{
SetValue(PlaceholderTextFocusedProperty, value);
}
}
///
/// The FontFamily property.
///
/// 6
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public string FontFamily
{
get
{
return (string)GetValue(FontFamilyProperty);
}
set
{
SetValue(FontFamilyProperty, value);
}
}
///
/// The FontStyle property.
///
/// 6
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public PropertyMap FontStyle
{
get
{
return (PropertyMap)GetValue(FontStyleProperty);
}
set
{
SetValue(FontStyleProperty, value);
}
}
///
/// The PointSize property.
///
/// 6
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public float PointSize
{
get
{
return (float)GetValue(PointSizeProperty);
}
set
{
SetValue(PointSizeProperty, value);
}
}
///
/// The MaxLength property.
///
/// 6
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public int MaxLength
{
get
{
return (int)GetValue(MaxLengthProperty);
}
set
{
SetValue(MaxLengthProperty, value);
}
}
///
/// The ExceedPolicy property.
///
/// 6
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public int ExceedPolicy
{
get
{
return (int)GetValue(ExceedPolicyProperty);
}
set
{
SetValue(ExceedPolicyProperty, value);
}
}
///
/// The HorizontalAlignment property.
///
/// 6
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public HorizontalAlignment HorizontalAlignment
{
get
{
return (HorizontalAlignment)GetValue(HorizontalAlignmentProperty);
}
set
{
SetValue(HorizontalAlignmentProperty, value);
}
}
///
/// The VerticalAlignment property.
///
/// 6
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public VerticalAlignment VerticalAlignment
{
get
{
return (VerticalAlignment)GetValue(VerticalAlignmentProperty);
}
set
{
SetValue(VerticalAlignmentProperty, value);
}
}
///
/// The TextColor property.
///
/// 6
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public Color TextColor
{
get
{
return (Color)GetValue(TextColorProperty);
}
set
{
SetValue(TextColorProperty, value);
}
}
///
/// The PlaceholderTextColor property.
///
/// 6
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public Vector4 PlaceholderTextColor
{
get
{
return (Vector4)GetValue(PlaceholderTextColorProperty);
}
set
{
SetValue(PlaceholderTextColorProperty, value);
}
}
///
/// The PrimaryCursorColor property.
///
/// 6
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public Vector4 PrimaryCursorColor
{
get
{
return (Vector4)GetValue(PrimaryCursorColorProperty);
}
set
{
SetValue(PrimaryCursorColorProperty, value);
}
}
///
/// The SecondaryCursorColor property.
///
/// 6
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public Vector4 SecondaryCursorColor
{
get
{
return (Vector4)GetValue(SecondaryCursorColorProperty);
}
set
{
SetValue(SecondaryCursorColorProperty, value);
}
}
///
/// The EnableCursorBlink property.
///
/// 6
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public bool EnableCursorBlink
{
get
{
return (bool)GetValue(EnableCursorBlinkProperty);
}
set
{
SetValue(EnableCursorBlinkProperty, value);
}
}
///
/// The CursorBlinkInterval property.
///
/// 6
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public float CursorBlinkInterval
{
get
{
return (float)GetValue(CursorBlinkIntervalProperty);
}
set
{
SetValue(CursorBlinkIntervalProperty, value);
}
}
///
/// The CursorBlinkDuration property.
///
/// 6
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public float CursorBlinkDuration
{
get
{
return (float)GetValue(CursorBlinkDurationProperty);
}
set
{
SetValue(CursorBlinkDurationProperty, value);
}
}
///
/// The CursorWidth property.
///
/// 6
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public int CursorWidth
{
get
{
return (int)GetValue(CursorWidthProperty);
}
set
{
SetValue(CursorWidthProperty, value);
}
}
///
/// The GrabHandleImage property.
///
/// 6
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public string GrabHandleImage
{
get
{
return (string)GetValue(GrabHandleImageProperty);
}
set
{
SetValue(GrabHandleImageProperty, value);
}
}
///
/// The GrabHandlePressedImage property.
///
/// 6
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public string GrabHandlePressedImage
{
get
{
return (string)GetValue(GrabHandlePressedImageProperty);
}
set
{
SetValue(GrabHandlePressedImageProperty, value);
}
}
///
/// The ScrollThreshold property.
///
/// 6
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public float ScrollThreshold
{
get
{
return (float)GetValue(ScrollThresholdProperty);
}
set
{
SetValue(ScrollThresholdProperty, value);
}
}
///
/// The ScrollSpeed property.
///
/// 6
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public float ScrollSpeed
{
get
{
return (float)GetValue(ScrollSpeedProperty);
}
set
{
SetValue(ScrollSpeedProperty, value);
}
}
///
/// The SelectionHandleImageLeft property.
///
/// 6
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public PropertyMap SelectionHandleImageLeft
{
get
{
return (PropertyMap)GetValue(SelectionHandleImageLeftProperty);
}
set
{
SetValue(SelectionHandleImageLeftProperty, value);
}
}
///
/// The SelectionHandleImageRight property.
///
/// 6
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public PropertyMap SelectionHandleImageRight
{
get
{
return (PropertyMap)GetValue(SelectionHandleImageRightProperty);
}
set
{
SetValue(SelectionHandleImageRightProperty, value);
}
}
///
/// The SelectionHandlePressedImageLeft property.
///
/// 6
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public PropertyMap SelectionHandlePressedImageLeft
{
get
{
return (PropertyMap)GetValue(SelectionHandlePressedImageLeftProperty);
}
set
{
SetValue(SelectionHandlePressedImageLeftProperty, value);
}
}
///
/// The SelectionHandlePressedImageRight property.
///
/// 6
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public PropertyMap SelectionHandlePressedImageRight
{
get
{
return (PropertyMap)GetValue(SelectionHandlePressedImageRightProperty);
}
set
{
SetValue(SelectionHandlePressedImageRightProperty, value);
}
}
///
/// The SelectionHandleMarkerImageLeft property.
///
/// 6
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public PropertyMap SelectionHandleMarkerImageLeft
{
get
{
return (PropertyMap)GetValue(SelectionHandleMarkerImageLeftProperty);
}
set
{
SetValue(SelectionHandleMarkerImageLeftProperty, value);
}
}
///
/// The SelectionHandleMarkerImageRight property.
///
/// 6
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public PropertyMap SelectionHandleMarkerImageRight
{
get
{
return (PropertyMap)GetValue(SelectionHandleMarkerImageRightProperty);
}
set
{
SetValue(SelectionHandleMarkerImageRightProperty, value);
}
}
///
/// The SelectionHighlightColor property.
///
/// 6
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public Vector4 SelectionHighlightColor
{
get
{
return (Vector4)GetValue(SelectionHighlightColorProperty);
}
set
{
SetValue(SelectionHighlightColorProperty, value);
}
}
///
/// The DecorationBoundingBox property.
///
/// 6
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public Rectangle DecorationBoundingBox
{
get
{
return (Rectangle)GetValue(DecorationBoundingBoxProperty);
}
set
{
SetValue(DecorationBoundingBoxProperty, value);
}
}
///
/// The InputMethodSettings property.
///
/// 6
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public PropertyMap InputMethodSettings
{
get
{
return (PropertyMap)GetValue(InputMethodSettingsProperty);
}
set
{
SetValue(InputMethodSettingsProperty, value);
}
}
///
/// The InputColor property.
///
/// 6
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public Vector4 InputColor
{
get
{
return (Vector4)GetValue(InputColorProperty);
}
set
{
SetValue(InputColorProperty, value);
}
}
///
/// The EnableMarkup property.
///
/// 6
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public bool EnableMarkup
{
get
{
return (bool)GetValue(EnableMarkupProperty);
}
set
{
SetValue(EnableMarkupProperty, value);
}
}
///
/// The InputFontFamily property.
///
/// 6
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public string InputFontFamily
{
get
{
return (string)GetValue(InputFontFamilyProperty);
}
set
{
SetValue(InputFontFamilyProperty, value);
}
}
///
/// The InputFontStyle property.
///
/// 6
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public PropertyMap InputFontStyle
{
get
{
return (PropertyMap)GetValue(InputFontStyleProperty);
}
set
{
SetValue(InputFontStyleProperty, value);
}
}
///
/// The InputPointSize property.
///
/// 6
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public float InputPointSize
{
get
{
return (float)GetValue(InputPointSizeProperty);
}
set
{
SetValue(InputPointSizeProperty, value);
}
}
///
/// The Underline property.
///
/// 6
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public PropertyMap Underline
{
get
{
return (PropertyMap)GetValue(UnderlineProperty);
}
set
{
SetValue(UnderlineProperty, value);
}
}
///
/// The InputUnderline property.
///
/// 6
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public string InputUnderline
{
get
{
return (string)GetValue(InputUnderlineProperty);
}
set
{
SetValue(InputUnderlineProperty, value);
}
}
///
/// The Shadow property.
///
/// 6
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public PropertyMap Shadow
{
get
{
return (PropertyMap)GetValue(ShadowProperty);
}
set
{
SetValue(ShadowProperty, value);
}
}
///
/// The InputShadow property.
///
/// 6
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public string InputShadow
{
get
{
return (string)GetValue(InputShadowProperty);
}
set
{
SetValue(InputShadowProperty, value);
}
}
///
/// The Emboss property.
///
/// 6
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public string Emboss
{
get
{
return (string)GetValue(EmbossProperty);
}
set
{
SetValue(EmbossProperty, value);
}
}
///
/// The InputEmboss property.
///
/// 6
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public string InputEmboss
{
get
{
return (string)GetValue(InputEmbossProperty);
}
set
{
SetValue(InputEmbossProperty, value);
}
}
///
/// The Outline property.
///
/// 6
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public PropertyMap Outline
{
get
{
return (PropertyMap)GetValue(OutlineProperty);
}
set
{
SetValue(OutlineProperty, value);
}
}
///
/// The InputOutline property.
///
/// 6
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public string InputOutline
{
get
{
return (string)GetValue(InputOutlineProperty);
}
set
{
SetValue(InputOutlineProperty, value);
}
}
///
/// The HiddenInputSettings property.
///
/// 6
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public PropertyMap HiddenInputSettings
{
get
{
return (PropertyMap)GetValue(HiddenInputSettingsProperty);
}
set
{
SetValue(HiddenInputSettingsProperty, value);
}
}
///
/// The PixelSize property.
///
/// 6
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public float PixelSize
{
get
{
return (float)GetValue(PixelSizeProperty);
}
set
{
SetValue(PixelSizeProperty, value);
}
}
///
/// The Enable selection property.
///
/// 6
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public bool EnableSelection
{
get
{
return (bool)GetValue(EnableSelectionProperty);
}
set
{
SetValue(EnableSelectionProperty, value);
}
}
///
/// The Placeholder property.
/// Gets or sets the placeholder: text, color, font family, font style, point size, and pixel size.
///
///
/// The following example demonstrates how to set the Placeholder property.
///
/// PropertyMap propertyMap = new PropertyMap();
/// propertyMap.Add("text", new PropertyValue("Setting Placeholder Text"));
/// propertyMap.Add("textFocused", new PropertyValue("Setting Placeholder Text Focused"));
/// propertyMap.Add("color", new PropertyValue(Color.Red));
/// propertyMap.Add("fontFamily", new PropertyValue("Arial"));
/// propertyMap.Add("pointSize", new PropertyValue(12.0f));
///
/// PropertyMap fontStyleMap = new PropertyMap();
/// fontStyleMap.Add("weight", new PropertyValue("bold"));
/// fontStyleMap.Add("width", new PropertyValue("condensed"));
/// fontStyleMap.Add("slant", new PropertyValue("italic"));
/// propertyMap.Add("fontStyle", new PropertyValue(fontStyleMap));
///
/// TextField field = new TextField();
/// field.Placeholder = propertyMap;
///
///
/// 6
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public PropertyMap Placeholder
{
get
{
return (PropertyMap)GetValue(PlaceholderProperty);
}
set
{
SetValue(PlaceholderProperty, value);
}
}
///
/// The Ellipsis property.
/// Enable or disable the ellipsis.
/// Placeholder PropertyMap is used to add ellipsis to placeholder text.
///
/// 6
/// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public bool Ellipsis
{
get
{
return (bool)GetValue(EllipsisProperty);
}
set
{
SetValue(EllipsisProperty, value);
}
}
///
/// Enables selection of the text using the Shift key.
///
/// 6
/// This will be released at Tizen.NET API Level 5, so currently this would be used as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public bool EnableShiftSelection
{
get
{
return (bool)GetValue(EnableShiftSelectionProperty);
}
set
{
SetValue(EnableShiftSelectionProperty, value);
}
}
///
/// The text alignment to match the direction of the system language.
///
/// 6
/// This will be released at Tizen.NET API Level 5, so currently this would be used as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
public bool MatchSystemLanguageDirection
{
get
{
return (bool)GetValue(MatchSystemLanguageDirectionProperty);
}
set
{
SetValue(MatchSystemLanguageDirectionProperty, value);
}
}
}
}