private Color internalGrabHandleColor = null;
- static TextEditor() { }
+ static TextEditor()
+ {
+ if(NUIApplication.IsUsingXaml)
+ {
+ TextProperty = BindableProperty.Create(nameof(Text), typeof(string), typeof(TextEditor), string.Empty, propertyChanged: SetInternalTextProperty, defaultValueCreator: GetInternalTextProperty);
+
+ TextColorProperty = BindableProperty.Create(nameof(TextColor), typeof(Vector4), typeof(TextEditor), null, propertyChanged: SetInternalTextColorProperty, defaultValueCreator: GetInternalTextColorProperty);
+
+ FontFamilyProperty = BindableProperty.Create(nameof(FontFamily), typeof(string), typeof(TextEditor), string.Empty, propertyChanged: SetInternalFontFamilyProperty, defaultValueCreator: GetInternalFontFamilyProperty);
+
+ FontStyleProperty = BindableProperty.Create(nameof(FontStyle), typeof(PropertyMap), typeof(TextEditor), null, propertyChanged: SetInternalFontStyleProperty, defaultValueCreator: GetInternalFontStyleProperty);
+
+ PointSizeProperty = BindableProperty.Create(nameof(PointSize), typeof(float), typeof(TextEditor), default(float), propertyChanged: SetInternalPointSizeProperty, defaultValueCreator: GetInternalPointSizeProperty);
+
+ HorizontalAlignmentProperty = BindableProperty.Create(nameof(HorizontalAlignment), typeof(HorizontalAlignment), typeof(TextEditor), HorizontalAlignment.Begin, propertyChanged: SetInternalHorizontalAlignmentProperty, defaultValueCreator: GetInternalHorizontalAlignmentProperty);
+
+ VerticalAlignmentProperty = BindableProperty.Create(nameof(VerticalAlignment), typeof(VerticalAlignment), typeof(TextEditor), VerticalAlignment.Bottom, propertyChanged: SetInternalVerticalAlignmentProperty, defaultValueCreator: GetInternalVerticalAlignmentProperty);
+
+ ScrollThresholdProperty = BindableProperty.Create(nameof(ScrollThreshold), typeof(float), typeof(TextEditor), default(float), propertyChanged: SetInternalScrollThresholdProperty, defaultValueCreator: GetInternalScrollThresholdProperty);
+
+ ScrollSpeedProperty = BindableProperty.Create(nameof(ScrollSpeed), typeof(float), typeof(TextEditor), default(float), propertyChanged: SetInternalScrollSpeedProperty, defaultValueCreator: GetInternalScrollSpeedProperty);
+
+ PrimaryCursorColorProperty = BindableProperty.Create(nameof(PrimaryCursorColor), typeof(Vector4), typeof(TextEditor), null, propertyChanged: SetInternalPrimaryCursorColorProperty, defaultValueCreator: GetInternalPrimaryCursorColorProperty);
+
+ SecondaryCursorColorProperty = BindableProperty.Create(nameof(SecondaryCursorColor), typeof(Vector4), typeof(TextEditor), null, propertyChanged: SetInternalSecondaryCursorColorProperty, defaultValueCreator: GetInternalSecondaryCursorColorProperty);
+
+ EnableCursorBlinkProperty = BindableProperty.Create(nameof(EnableCursorBlink), typeof(bool), typeof(TextEditor), false, propertyChanged: SetInternalEnableCursorBlinkProperty, defaultValueCreator: GetInternalEnableCursorBlinkProperty);
+
+ CursorBlinkIntervalProperty = BindableProperty.Create(nameof(CursorBlinkInterval), typeof(float), typeof(TextEditor), default(float), propertyChanged: SetInternalCursorBlinkIntervalProperty, defaultValueCreator: GetInternalCursorBlinkIntervalProperty);
+
+ CursorBlinkDurationProperty = BindableProperty.Create(nameof(CursorBlinkDuration), typeof(float), typeof(TextEditor), default(float), propertyChanged: SetInternalCursorBlinkDurationProperty, defaultValueCreator: GetInternalCursorBlinkDurationProperty);
+
+ CursorWidthProperty = BindableProperty.Create(nameof(CursorWidth), typeof(int), typeof(TextEditor), default(int), propertyChanged: SetInternalCursorWidthProperty, defaultValueCreator: GetInternalCursorWidthProperty);
+
+ GrabHandleImageProperty = BindableProperty.Create(nameof(GrabHandleImage), typeof(string), typeof(TextEditor), string.Empty, propertyChanged: SetInternalGrabHandleImageProperty, defaultValueCreator: GetInternalGrabHandleImageProperty);
+
+ GrabHandlePressedImageProperty = BindableProperty.Create(nameof(GrabHandlePressedImage), typeof(string), typeof(TextEditor), string.Empty, propertyChanged: SetInternalGrabHandlePressedImageProperty, defaultValueCreator: GetInternalGrabHandlePressedImageProperty);
+
+ SelectionPopupStyleProperty = BindableProperty.Create(nameof(SelectionPopupStyle), typeof(PropertyMap), typeof(TextEditor), null, propertyChanged: SetInternalSelectionPopupStyleProperty, defaultValueCreator: GetInternalSelectionPopupStyleProperty);
+
+ SelectionHandleImageLeftProperty = BindableProperty.Create(nameof(SelectionHandleImageLeft), typeof(PropertyMap), typeof(TextEditor), null, propertyChanged: SetInternalSelectionHandleImageLeftProperty, defaultValueCreator: GetInternalSelectionHandleImageLeftProperty);
+
+ SelectionHandleImageRightProperty = BindableProperty.Create(nameof(SelectionHandleImageRight), typeof(PropertyMap), typeof(TextEditor), null, propertyChanged: SetInternalSelectionHandleImageRightProperty, defaultValueCreator: GetInternalSelectionHandleImageRightProperty);
+
+ SelectionHandlePressedImageLeftProperty = BindableProperty.Create(nameof(SelectionHandlePressedImageLeft), typeof(PropertyMap), typeof(TextEditor), null, propertyChanged: SetInternalSelectionHandlePressedImageLeftProperty, defaultValueCreator: GetInternalSelectionHandlePressedImageLeftProperty);
+
+ SelectionHandlePressedImageRightProperty = BindableProperty.Create(nameof(SelectionHandlePressedImageRight), typeof(PropertyMap), typeof(TextEditor), null, propertyChanged: SetInternalSelectionHandlePressedImageRightProperty, defaultValueCreator: GetInternalSelectionHandlePressedImageRightProperty);
+
+ SelectionHandleMarkerImageLeftProperty = BindableProperty.Create(nameof(SelectionHandleMarkerImageLeft), typeof(PropertyMap), typeof(TextEditor), null, propertyChanged: SetInternalSelectionHandleMarkerImageLeftProperty, defaultValueCreator: GetInternalSelectionHandleMarkerImageLeftProperty);
+
+ SelectionHandleMarkerImageRightProperty = BindableProperty.Create(nameof(SelectionHandleMarkerImageRight), typeof(PropertyMap), typeof(TextEditor), null, propertyChanged: SetInternalSelectionHandleMarkerImageRightProperty, defaultValueCreator: GetInternalSelectionHandleMarkerImageRightProperty);
+
+ SelectionHighlightColorProperty = BindableProperty.Create(nameof(SelectionHighlightColor), typeof(Vector4), typeof(TextEditor), null, propertyChanged: SetInternalSelectionHighlightColorProperty, defaultValueCreator: GetInternalSelectionHighlightColorProperty);
+
+ DecorationBoundingBoxProperty = BindableProperty.Create(nameof(DecorationBoundingBox), typeof(Rectangle), typeof(TextEditor), null, propertyChanged: SetInternalDecorationBoundingBoxProperty, defaultValueCreator: GetInternalDecorationBoundingBoxProperty);
+
+ EnableMarkupProperty = BindableProperty.Create(nameof(EnableMarkup), typeof(bool), typeof(TextEditor), false, propertyChanged: SetInternalEnableMarkupProperty, defaultValueCreator: GetInternalEnableMarkupProperty);
+
+ InputColorProperty = BindableProperty.Create(nameof(InputColor), typeof(Vector4), typeof(TextEditor), null, propertyChanged: SetInternalInputColorProperty, defaultValueCreator: GetInternalInputColorProperty);
+
+ InputFontFamilyProperty = BindableProperty.Create(nameof(InputFontFamily), typeof(string), typeof(TextEditor), string.Empty, propertyChanged: SetInternalInputFontFamilyProperty, defaultValueCreator: GetInternalInputFontFamilyProperty);
+
+ InputFontStyleProperty = BindableProperty.Create(nameof(InputFontStyle), typeof(PropertyMap), typeof(TextEditor), null, propertyChanged: SetInternalInputFontStyleProperty, defaultValueCreator: GetInternalInputFontStyleProperty);
+
+ InputPointSizeProperty = BindableProperty.Create(nameof(InputPointSize), typeof(float), typeof(TextEditor), default(float), propertyChanged: SetInternalInputPointSizeProperty, defaultValueCreator: GetInternalInputPointSizeProperty);
+
+ LineSpacingProperty = BindableProperty.Create(nameof(LineSpacing), typeof(float), typeof(TextEditor), default(float), propertyChanged: SetInternalLineSpacingProperty, defaultValueCreator: GetInternalLineSpacingProperty);
+
+ InputLineSpacingProperty = BindableProperty.Create(nameof(InputLineSpacing), typeof(float), typeof(TextEditor), default(float), propertyChanged: SetInternalInputLineSpacingProperty, defaultValueCreator: GetInternalInputLineSpacingProperty);
+
+ RelativeLineHeightProperty = BindableProperty.Create(nameof(RelativeLineHeight), typeof(float), typeof(TextEditor), default(float), propertyChanged: SetInternalRelativeLineHeightProperty, defaultValueCreator: GetInternalRelativeLineHeightProperty);
+
+ UnderlineProperty = BindableProperty.Create(nameof(Underline), typeof(PropertyMap), typeof(TextEditor), null, propertyChanged: SetInternalUnderlineProperty, defaultValueCreator: GetInternalUnderlineProperty);
+
+ InputUnderlineProperty = BindableProperty.Create(nameof(InputUnderline), typeof(string), typeof(TextEditor), string.Empty, propertyChanged: SetInternalInputUnderlineProperty, defaultValueCreator: GetInternalInputUnderlineProperty);
+
+ ShadowProperty = BindableProperty.Create(nameof(Shadow), typeof(PropertyMap), typeof(TextEditor), null, propertyChanged: SetInternalShadowProperty, defaultValueCreator: GetInternalShadowProperty);
+
+ InputShadowProperty = BindableProperty.Create(nameof(InputShadow), typeof(string), typeof(TextEditor), string.Empty, propertyChanged: SetInternalInputShadowProperty, defaultValueCreator: GetInternalInputShadowProperty);
+
+ EmbossProperty = BindableProperty.Create(nameof(Emboss), typeof(string), typeof(TextEditor), string.Empty, propertyChanged: SetInternalEmbossProperty, defaultValueCreator: GetInternalEmbossProperty);
+
+ InputEmbossProperty = BindableProperty.Create(nameof(InputEmboss), typeof(string), typeof(TextEditor), string.Empty, propertyChanged: SetInternalInputEmbossProperty, defaultValueCreator: GetInternalInputEmbossProperty);
+
+ OutlineProperty = BindableProperty.Create(nameof(Outline), typeof(PropertyMap), typeof(TextEditor), null, propertyChanged: SetInternalOutlineProperty, defaultValueCreator: GetInternalOutlineProperty);
+
+ InputOutlineProperty = BindableProperty.Create(nameof(InputOutline), typeof(string), typeof(TextEditor), string.Empty, propertyChanged: SetInternalInputOutlineProperty, defaultValueCreator: GetInternalInputOutlineProperty);
+
+ SmoothScrollProperty = BindableProperty.Create(nameof(SmoothScroll), typeof(bool), typeof(TextEditor), false, propertyChanged: SetInternalSmoothScrollProperty, defaultValueCreator: GetInternalSmoothScrollProperty);
+
+ SmoothScrollDurationProperty = BindableProperty.Create(nameof(SmoothScrollDuration), typeof(float), typeof(TextEditor), default(float), propertyChanged: SetInternalSmoothScrollDurationProperty, defaultValueCreator: GetInternalSmoothScrollDurationProperty);
+
+ EnableScrollBarProperty = BindableProperty.Create(nameof(EnableScrollBar), typeof(bool), typeof(TextEditor), false, propertyChanged: SetInternalEnableScrollBarProperty, defaultValueCreator: GetInternalEnableScrollBarProperty);
+
+ ScrollBarShowDurationProperty = BindableProperty.Create(nameof(ScrollBarShowDuration), typeof(float), typeof(TextEditor), default(float), propertyChanged: SetInternalScrollBarShowDurationProperty, defaultValueCreator: GetInternalScrollBarShowDurationProperty);
+
+ ScrollBarFadeDurationProperty = BindableProperty.Create(nameof(ScrollBarFadeDuration), typeof(float), typeof(TextEditor), default(float), propertyChanged: SetInternalScrollBarFadeDurationProperty, defaultValueCreator: GetInternalScrollBarFadeDurationProperty);
+
+ PixelSizeProperty = BindableProperty.Create(nameof(PixelSize), typeof(float), typeof(TextEditor), default(float), propertyChanged: SetInternalPixelSizeProperty, defaultValueCreator: GetInternalPixelSizeProperty);
+
+ PlaceholderTextProperty = BindableProperty.Create(nameof(PlaceholderText), typeof(string), typeof(TextEditor), string.Empty, propertyChanged: SetInternalPlaceholderTextProperty, defaultValueCreator: GetInternalPlaceholderTextProperty);
+
+ PlaceholderTextColorProperty = BindableProperty.Create(nameof(PlaceholderTextColor), typeof(Color), typeof(TextEditor), null, propertyChanged: SetInternalPlaceholderTextColorProperty, defaultValueCreator: GetInternalPlaceholderTextColorProperty);
+
+ EnableSelectionProperty = BindableProperty.Create(nameof(EnableSelection), typeof(bool), typeof(TextEditor), false, propertyChanged: SetInternalEnableSelectionProperty, defaultValueCreator: GetInternalEnableSelectionProperty);
+
+ PlaceholderProperty = BindableProperty.Create(nameof(Placeholder), typeof(PropertyMap), typeof(TextEditor), null, propertyChanged: SetInternalPlaceholderProperty, defaultValueCreator: GetInternalPlaceholderProperty);
+
+ LineWrapModeProperty = BindableProperty.Create(nameof(LineWrapMode), typeof(LineWrapMode), typeof(TextEditor), LineWrapMode.Word, propertyChanged: SetInternalLineWrapModeProperty, defaultValueCreator: GetInternalLineWrapModeProperty);
+
+ EnableShiftSelectionProperty = BindableProperty.Create(nameof(TextEditor.EnableShiftSelection), typeof(bool), typeof(TextEditor), true, propertyChanged: SetInternalEnableShiftSelectionProperty, defaultValueCreator: GetInternalEnableShiftSelectionProperty);
+
+ MatchSystemLanguageDirectionProperty = BindableProperty.Create(nameof(TextEditor.MatchSystemLanguageDirection), typeof(bool), typeof(TextEditor), false, propertyChanged: SetInternalMatchSystemLanguageDirectionProperty, defaultValueCreator: GetInternalMatchSystemLanguageDirectionProperty);
+
+ MaxLengthProperty = BindableProperty.Create(nameof(MaxLength), typeof(int), typeof(TextEditor), default(int), propertyChanged: SetInternalMaxLengthProperty, defaultValueCreator: GetInternalMaxLengthProperty);
+
+ FontSizeScaleProperty = BindableProperty.Create(nameof(FontSizeScale), typeof(float), typeof(TextEditor), default(float), propertyChanged: SetInternalFontSizeScaleProperty, defaultValueCreator: GetInternalFontSizeScaleProperty);
+
+ EnableFontSizeScaleProperty = BindableProperty.Create(nameof(EnableFontSizeScale), typeof(bool), typeof(TextEditor), default(bool), propertyChanged: SetInternalEnableFontSizeScaleProperty, defaultValueCreator: GetInternalEnableFontSizeScaleProperty);
+
+ GrabHandleColorProperty = BindableProperty.Create(nameof(GrabHandleColor), typeof(Color), typeof(TextEditor), null, propertyChanged: SetInternalGrabHandleColorProperty, defaultValueCreator: GetInternalGrabHandleColorProperty);
+
+ EnableGrabHandleProperty = BindableProperty.Create(nameof(TextEditor.EnableGrabHandle), typeof(bool), typeof(TextEditor), true, propertyChanged: SetInternalEnableGrabHandleProperty, defaultValueCreator: GetInternalEnableGrabHandleProperty);
+
+ EnableGrabHandlePopupProperty = BindableProperty.Create(nameof(TextEditor.EnableGrabHandlePopup), typeof(bool), typeof(TextEditor), true, propertyChanged: SetInternalEnableGrabHandlePopupProperty, defaultValueCreator: GetInternalEnableGrabHandlePopupProperty);
+
+ InputMethodSettingsProperty = BindableProperty.Create(nameof(TextEditor.InputMethodSettings), typeof(PropertyMap), typeof(TextEditor), null, propertyChanged: SetInternalInputMethodSettingsProperty, defaultValueCreator: GetInternalInputMethodSettingsProperty);
+
+ EllipsisProperty = BindableProperty.Create(nameof(TextEditor.Ellipsis), typeof(bool), typeof(TextEditor), false, propertyChanged: SetInternalEllipsisProperty, defaultValueCreator: GetInternalEllipsisProperty);
+
+ EllipsisPositionProperty = BindableProperty.Create(nameof(EllipsisPosition), typeof(EllipsisPosition), typeof(TextEditor), EllipsisPosition.End, propertyChanged: SetInternalEllipsisPositionProperty, defaultValueCreator: GetInternalEllipsisPositionProperty);
+
+ MinLineSizeProperty = BindableProperty.Create(nameof(MinLineSize), typeof(float), typeof(TextEditor), default(float), propertyChanged: SetInternalMinLineSizeProperty, defaultValueCreator: GetInternalMinLineSizeProperty);
+
+ TranslatableTextProperty = BindableProperty.Create(nameof(TranslatableText), typeof(string), typeof(Tizen.NUI.BaseComponents.TextEditor), string.Empty, propertyChanged: SetInternalTranslatableTextProperty, defaultValueCreator: GetInternalTranslatableTextProperty);
+
+ TranslatablePlaceholderTextProperty = BindableProperty.Create(nameof(TranslatablePlaceholderText), typeof(string), typeof(Tizen.NUI.BaseComponents.TextEditor), string.Empty, propertyChanged: SetInternalTranslatablePlaceholderTextProperty, defaultValueCreator: GetInternalTranslatablePlaceholderTextProperty);
+
+ EnableEditingProperty = BindableProperty.Create(nameof(EnableEditing), typeof(bool), typeof(Tizen.NUI.BaseComponents.TextEditor), false, propertyChanged: SetInternalEnableEditingProperty, defaultValueCreator: GetInternalEnableEditingProperty);
+
+ HorizontalScrollPositionProperty = BindableProperty.Create(nameof(HorizontalScrollPosition), typeof(int), typeof(Tizen.NUI.BaseComponents.TextEditor), 0, propertyChanged: SetInternalHorizontalScrollPositionProperty, defaultValueCreator: GetInternalHorizontalScrollPositionProperty);
+
+ VerticalScrollPositionProperty = BindableProperty.Create(nameof(VerticalScrollPosition), typeof(int), typeof(Tizen.NUI.BaseComponents.TextEditor), 0, propertyChanged: SetInternalVerticalScrollPositionProperty, defaultValueCreator: GetInternalVerticalScrollPositionProperty);
+
+ PrimaryCursorPositionProperty = BindableProperty.Create(nameof(PrimaryCursorPosition), typeof(int), typeof(Tizen.NUI.BaseComponents.TextEditor), 0, propertyChanged: SetInternalPrimaryCursorPositionProperty, defaultValueCreator: GetInternalPrimaryCursorPositionProperty);
+
+ CharacterSpacingProperty = BindableProperty.Create(nameof(CharacterSpacing), typeof(float), typeof(TextEditor), default(float), propertyChanged: SetInternalCharacterSpacingProperty, defaultValueCreator: GetInternalCharacterSpacingProperty);
+ }
+ }
static internal new void Preload()
{
{
get
{
- return GetValue(TranslatableTextProperty) as string;
+ if (NUIApplication.IsUsingXaml)
+ {
+ return GetValue(TranslatableTextProperty) as string;
+ }
+ else
+ {
+ return GetInternalTranslatableTextProperty(this) as string;
+ }
}
set
{
- SetValue(TranslatableTextProperty, value);
+ if (NUIApplication.IsUsingXaml)
+ {
+ SetValue(TranslatableTextProperty, value);
+ }
+ else
+ {
+ SetInternalTranslatableTextProperty(this, null, value);
+ }
}
}
{
get
{
- return GetValue(TranslatablePlaceholderTextProperty) as string;
+ if (NUIApplication.IsUsingXaml)
+ {
+ return GetValue(TranslatablePlaceholderTextProperty) as string;
+ }
+ else
+ {
+ return GetInternalTranslatablePlaceholderTextProperty(this) as string;
+ }
}
set
{
- SetValue(TranslatablePlaceholderTextProperty, value);
+ if (NUIApplication.IsUsingXaml)
+ {
+ SetValue(TranslatablePlaceholderTextProperty, value);
+ }
+ else
+ {
+ SetInternalTranslatablePlaceholderTextProperty(this, null, value);
+ }
}
}
{
get
{
- return (string)GetValue(TextProperty);
+ if (NUIApplication.IsUsingXaml)
+ {
+ return (string)GetValue(TextProperty);
+ }
+ else
+ {
+ return (string)GetInternalTextProperty(this);
+ }
}
set
{
- SetValue(TextProperty, value);
+ if (NUIApplication.IsUsingXaml)
+ {
+ SetValue(TextProperty, value);
+ }
+ else
+ {
+ SetInternalTextProperty(this, null, value);
+ }
NotifyPropertyChanged();
}
}
{
get
{
- Vector4 temp = (Vector4)GetValue(TextColorProperty);
+ Vector4 temp;
+ if (NUIApplication.IsUsingXaml)
+ {
+ temp = (Vector4)GetValue(TextColorProperty);
+ }
+ else
+ {
+ temp = (Vector4)GetInternalTextColorProperty(this);
+ }
return new Vector4(OnTextColorChanged, temp.X, temp.Y, temp.Z, temp.W);
}
set
{
- SetValue(TextColorProperty, value);
+ if (NUIApplication.IsUsingXaml)
+ {
+ SetValue(TextColorProperty, value);
+ }
+ else
+ {
+ SetInternalTextColorProperty(this, null, value);
+ }
NotifyPropertyChanged();
}
}
{
get
{
- return (string)GetValue(FontFamilyProperty);
+ if (NUIApplication.IsUsingXaml)
+ {
+ return (string)GetValue(FontFamilyProperty);
+ }
+ else
+ {
+ return (string)GetInternalFontFamilyProperty(this);
+ }
}
set
{
- SetValue(FontFamilyProperty, value);
+ if (NUIApplication.IsUsingXaml)
+ {
+ SetValue(FontFamilyProperty, value);
+ }
+ else
+ {
+ SetInternalFontFamilyProperty(this, null, value);
+ }
NotifyPropertyChanged();
}
}
{
get
{
- return (PropertyMap)GetValue(FontStyleProperty);
+ if (NUIApplication.IsUsingXaml)
+ {
+ return (PropertyMap)GetValue(FontStyleProperty);
+ }
+ else
+ {
+ return (PropertyMap)GetInternalFontStyleProperty(this);
+ }
}
set
{
- SetValue(FontStyleProperty, value);
+ if (NUIApplication.IsUsingXaml)
+ {
+ SetValue(FontStyleProperty, value);
+ }
+ else
+ {
+ SetInternalFontStyleProperty(this, null, value);
+ }
NotifyPropertyChanged();
}
}
{
get
{
- return (float)GetValue(PointSizeProperty);
+ if (NUIApplication.IsUsingXaml)
+ {
+ return (float)GetValue(PointSizeProperty);
+ }
+ else
+ {
+ return (float)GetInternalPointSizeProperty(this);
+ }
}
set
{
- SetValue(PointSizeProperty, value);
+ if (NUIApplication.IsUsingXaml)
+ {
+ SetValue(PointSizeProperty, value);
+ }
+ else
+ {
+ SetInternalPointSizeProperty(this, null, value);
+ }
NotifyPropertyChanged();
}
}
{
get
{
- return (HorizontalAlignment)GetValue(HorizontalAlignmentProperty);
+ if (NUIApplication.IsUsingXaml)
+ {
+ return (HorizontalAlignment)GetValue(HorizontalAlignmentProperty);
+ }
+ else
+ {
+ return (HorizontalAlignment)GetInternalHorizontalAlignmentProperty(this);
+ }
}
set
{
- SetValue(HorizontalAlignmentProperty, value);
+ if (NUIApplication.IsUsingXaml)
+ {
+ SetValue(HorizontalAlignmentProperty, value);
+ }
+ else
+ {
+ SetInternalHorizontalAlignmentProperty(this, null, value);
+ }
NotifyPropertyChanged();
}
}
{
get
{
- return (VerticalAlignment)GetValue(VerticalAlignmentProperty);
+ if (NUIApplication.IsUsingXaml)
+ {
+ return (VerticalAlignment)GetValue(VerticalAlignmentProperty);
+ }
+ else
+ {
+ return (VerticalAlignment)GetInternalVerticalAlignmentProperty(this);
+ }
}
set
{
- SetValue(VerticalAlignmentProperty, value);
+ if (NUIApplication.IsUsingXaml)
+ {
+ SetValue(VerticalAlignmentProperty, value);
+ }
+ else
+ {
+ SetInternalVerticalAlignmentProperty(this, null, value);
+ }
NotifyPropertyChanged();
}
}
{
get
{
- return (float)GetValue(ScrollThresholdProperty);
+ if (NUIApplication.IsUsingXaml)
+ {
+ return (float)GetValue(ScrollThresholdProperty);
+ }
+ else
+ {
+ return (float)GetInternalScrollThresholdProperty(this);
+ }
}
set
{
- SetValue(ScrollThresholdProperty, value);
+ if (NUIApplication.IsUsingXaml)
+ {
+ SetValue(ScrollThresholdProperty, value);
+ }
+ else
+ {
+ SetInternalScrollThresholdProperty(this, null, value);
+ }
NotifyPropertyChanged();
}
}
{
get
{
- return (float)GetValue(ScrollSpeedProperty);
+ if (NUIApplication.IsUsingXaml)
+ {
+ return (float)GetValue(ScrollSpeedProperty);
+ }
+ else
+ {
+ return (float)GetInternalScrollSpeedProperty(this);
+ }
}
set
{
- SetValue(ScrollSpeedProperty, value);
+ if (NUIApplication.IsUsingXaml)
+ {
+ SetValue(ScrollSpeedProperty, value);
+ }
+ else
+ {
+ SetInternalScrollSpeedProperty(this, null, value);
+ }
NotifyPropertyChanged();
}
}
{
get
{
- Vector4 temp = (Vector4)GetValue(PrimaryCursorColorProperty);
+ Vector4 temp;
+ if (NUIApplication.IsUsingXaml)
+ {
+ temp = (Vector4)GetValue(PrimaryCursorColorProperty);
+ }
+ else
+ {
+ temp = (Vector4)GetInternalPrimaryCursorColorProperty(this);
+ }
return new Vector4(OnPrimaryCursorColorChanged, temp.X, temp.Y, temp.Z, temp.W);
}
set
{
- SetValue(PrimaryCursorColorProperty, value);
+ if (NUIApplication.IsUsingXaml)
+ {
+ SetValue(PrimaryCursorColorProperty, value);
+ }
+ else
+ {
+ SetInternalPrimaryCursorColorProperty(this, null, value);
+ }
NotifyPropertyChanged();
}
}
{
get
{
- Vector4 temp = (Vector4)GetValue(SecondaryCursorColorProperty);
+ Vector4 temp;
+ if (NUIApplication.IsUsingXaml)
+ {
+ temp = (Vector4)GetValue(SecondaryCursorColorProperty);
+ }
+ else
+ {
+ temp = (Vector4)GetInternalSecondaryCursorColorProperty(this);
+ }
return new Vector4(OnSecondaryCursorColorChanged, temp.X, temp.Y, temp.Z, temp.W);
}
set
{
- SetValue(SecondaryCursorColorProperty, value);
+ if (NUIApplication.IsUsingXaml)
+ {
+ SetValue(SecondaryCursorColorProperty, value);
+ }
+ else
+ {
+ SetInternalSecondaryCursorColorProperty(this, null, value);
+ }
NotifyPropertyChanged();
}
}
{
get
{
- return (bool)GetValue(EnableCursorBlinkProperty);
+ if (NUIApplication.IsUsingXaml)
+ {
+ return (bool)GetValue(EnableCursorBlinkProperty);
+ }
+ else
+ {
+ return (bool)GetInternalEnableCursorBlinkProperty(this);
+ }
}
set
{
- SetValue(EnableCursorBlinkProperty, value);
+ if (NUIApplication.IsUsingXaml)
+ {
+ SetValue(EnableCursorBlinkProperty, value);
+ }
+ else
+ {
+ SetInternalEnableCursorBlinkProperty(this, null, value);
+ }
NotifyPropertyChanged();
}
}
{
get
{
- return (float)GetValue(CursorBlinkIntervalProperty);
+ if (NUIApplication.IsUsingXaml)
+ {
+ return (float)GetValue(CursorBlinkIntervalProperty);
+ }
+ else
+ {
+ return (float)GetInternalCursorBlinkIntervalProperty(this);
+ }
}
set
{
- SetValue(CursorBlinkIntervalProperty, value);
+ if (NUIApplication.IsUsingXaml)
+ {
+ SetValue(CursorBlinkIntervalProperty, value);
+ }
+ else
+ {
+ SetInternalCursorBlinkIntervalProperty(this, null, value);
+ }
NotifyPropertyChanged();
}
}
{
get
{
- return (float)GetValue(CursorBlinkDurationProperty);
+ if (NUIApplication.IsUsingXaml)
+ {
+ return (float)GetValue(CursorBlinkDurationProperty);
+ }
+ else
+ {
+ return (float)GetInternalCursorBlinkDurationProperty(this);
+ }
}
set
{
- SetValue(CursorBlinkDurationProperty, value);
+ if (NUIApplication.IsUsingXaml)
+ {
+ SetValue(CursorBlinkDurationProperty, value);
+ }
+ else
+ {
+ SetInternalCursorBlinkDurationProperty(this, null, value);
+ }
NotifyPropertyChanged();
}
}
{
get
{
- return (int)GetValue(CursorWidthProperty);
+ if (NUIApplication.IsUsingXaml)
+ {
+ return (int)GetValue(CursorWidthProperty);
+ }
+ else
+ {
+ return (int)GetInternalCursorWidthProperty(this);
+ }
}
set
{
- SetValue(CursorWidthProperty, value);
+ if (NUIApplication.IsUsingXaml)
+ {
+ SetValue(CursorWidthProperty, value);
+ }
+ else
+ {
+ SetInternalCursorWidthProperty(this, null, value);
+ }
NotifyPropertyChanged();
}
}
{
get
{
- return (string)GetValue(GrabHandleImageProperty);
+ if (NUIApplication.IsUsingXaml)
+ {
+ return (string)GetValue(GrabHandleImageProperty);
+ }
+ else
+ {
+ return (string)GetInternalGrabHandleImageProperty(this);
+ }
}
set
{
- SetValue(GrabHandleImageProperty, value);
+ if (NUIApplication.IsUsingXaml)
+ {
+ SetValue(GrabHandleImageProperty, value);
+ }
+ else
+ {
+ SetInternalGrabHandleImageProperty(this, null, value);
+ }
NotifyPropertyChanged();
}
}
{
get
{
- return (string)GetValue(GrabHandlePressedImageProperty);
+ if (NUIApplication.IsUsingXaml)
+ {
+ return (string)GetValue(GrabHandlePressedImageProperty);
+ }
+ else
+ {
+ return (string)GetInternalGrabHandlePressedImageProperty(this);
+ }
}
set
{
- SetValue(GrabHandlePressedImageProperty, value);
+ if (NUIApplication.IsUsingXaml)
+ {
+ SetValue(GrabHandlePressedImageProperty, value);
+ }
+ else
+ {
+ SetInternalGrabHandlePressedImageProperty(this, null, value);
+ }
NotifyPropertyChanged();
}
}
{
get
{
- return (PropertyMap)GetValue(SelectionPopupStyleProperty);
+ if (NUIApplication.IsUsingXaml)
+ {
+ return (PropertyMap)GetValue(SelectionPopupStyleProperty);
+ }
+ else
+ {
+ return (PropertyMap)GetInternalSelectionPopupStyleProperty(this);
+ }
}
set
{
- SetValue(SelectionPopupStyleProperty, value);
+ if (NUIApplication.IsUsingXaml)
+ {
+ SetValue(SelectionPopupStyleProperty, value);
+ }
+ else
+ {
+ SetInternalSelectionPopupStyleProperty(this, null, value);
+ }
NotifyPropertyChanged();
}
}
{
get
{
- return (PropertyMap)GetValue(SelectionHandleImageLeftProperty);
+ if (NUIApplication.IsUsingXaml)
+ {
+ return (PropertyMap)GetValue(SelectionHandleImageLeftProperty);
+ }
+ else
+ {
+ return (PropertyMap)GetInternalSelectionHandleImageLeftProperty(this);
+ }
}
set
{
- SetValue(SelectionHandleImageLeftProperty, value);
+ if (NUIApplication.IsUsingXaml)
+ {
+ SetValue(SelectionHandleImageLeftProperty, value);
+ }
+ else
+ {
+ SetInternalSelectionHandleImageLeftProperty(this, null, value);
+ }
NotifyPropertyChanged();
}
}
{
get
{
- return (PropertyMap)GetValue(SelectionHandleImageRightProperty);
+ if (NUIApplication.IsUsingXaml)
+ {
+ return (PropertyMap)GetValue(SelectionHandleImageRightProperty);
+
+ }
+ else
+ {
+ return (PropertyMap)GetInternalSelectionHandleImageRightProperty(this);
+ }
}
set
{
- SetValue(SelectionHandleImageRightProperty, value);
+ if (NUIApplication.IsUsingXaml)
+ {
+ SetValue(SelectionHandleImageRightProperty, value);
+
+ }
+ else
+ {
+ SetInternalSelectionHandleImageRightProperty(this, null, value);
+ }
NotifyPropertyChanged();
}
}
{
get
{
- return (PropertyMap)GetValue(SelectionHandlePressedImageLeftProperty);
+ if (NUIApplication.IsUsingXaml)
+ {
+ return (PropertyMap)GetValue(SelectionHandlePressedImageLeftProperty);
+ }
+ else
+ {
+ return (PropertyMap)GetInternalSelectionHandlePressedImageLeftProperty(this);
+ }
}
set
{
- SetValue(SelectionHandlePressedImageLeftProperty, value);
+ if (NUIApplication.IsUsingXaml)
+ {
+ SetValue(SelectionHandlePressedImageLeftProperty, value);
+ }
+ else
+ {
+ SetInternalSelectionHandlePressedImageLeftProperty(this, null, value);
+ }
NotifyPropertyChanged();
}
}
{
get
{
- return (PropertyMap)GetValue(SelectionHandlePressedImageRightProperty);
+ if (NUIApplication.IsUsingXaml)
+ {
+ return (PropertyMap)GetValue(SelectionHandlePressedImageRightProperty);
+ }
+ else
+ {
+ return (PropertyMap)GetInternalSelectionHandlePressedImageRightProperty(this);
+ }
}
set
{
- SetValue(SelectionHandlePressedImageRightProperty, value);
+ if (NUIApplication.IsUsingXaml)
+ {
+ SetValue(SelectionHandlePressedImageRightProperty, value);
+ }
+ else
+ {
+ SetInternalSelectionHandlePressedImageRightProperty(this, null, value);
+ }
NotifyPropertyChanged();
}
}
{
get
{
- return (PropertyMap)GetValue(SelectionHandleMarkerImageLeftProperty);
+ if (NUIApplication.IsUsingXaml)
+ {
+ return (PropertyMap)GetValue(SelectionHandleMarkerImageLeftProperty);
+ }
+ else
+ {
+ return (PropertyMap)GetInternalSelectionHandleMarkerImageLeftProperty(this);
+ }
}
set
{
- SetValue(SelectionHandleMarkerImageLeftProperty, value);
+ if (NUIApplication.IsUsingXaml)
+ {
+ SetValue(SelectionHandleMarkerImageLeftProperty, value);
+ }
+ else
+ {
+ SetInternalSelectionHandleMarkerImageLeftProperty(this, null, value);
+ }
NotifyPropertyChanged();
}
}
{
get
{
- return (PropertyMap)GetValue(SelectionHandleMarkerImageRightProperty);
+ if (NUIApplication.IsUsingXaml)
+ {
+ return (PropertyMap)GetValue(SelectionHandleMarkerImageRightProperty);
+ }
+ else
+ {
+ return (PropertyMap)GetInternalSelectionHandleMarkerImageRightProperty(this);
+ }
}
set
{
- SetValue(SelectionHandleMarkerImageRightProperty, value);
+ if (NUIApplication.IsUsingXaml)
+ {
+ SetValue(SelectionHandleMarkerImageRightProperty, value);
+ }
+ else
+ {
+ SetInternalSelectionHandleMarkerImageRightProperty(this, null, value);
+ }
NotifyPropertyChanged();
}
}
{
get
{
- Vector4 temp = (Vector4)GetValue(SelectionHighlightColorProperty);
+ Vector4 temp;
+ if (NUIApplication.IsUsingXaml)
+ {
+ temp = (Vector4)GetValue(SelectionHighlightColorProperty);
+ }
+ else
+ {
+ temp = (Vector4)GetInternalSelectionHighlightColorProperty(this);
+ }
return new Vector4(OnSelectionHighlightColorChanged, temp.X, temp.Y, temp.Z, temp.W);
}
set
{
- SetValue(SelectionHighlightColorProperty, value);
+ if (NUIApplication.IsUsingXaml)
+ {
+ SetValue(SelectionHighlightColorProperty, value);
+ }
+ else
+ {
+ SetInternalSelectionHighlightColorProperty(this, null, value);
+ }
NotifyPropertyChanged();
}
}
{
get
{
- Rectangle temp = (Rectangle)GetValue(DecorationBoundingBoxProperty);
+ Rectangle temp;
+ if (NUIApplication.IsUsingXaml)
+ {
+ temp = (Rectangle)GetValue(DecorationBoundingBoxProperty);
+ }
+ else
+ {
+ temp = (Rectangle)GetInternalDecorationBoundingBoxProperty(this);
+ }
return new Rectangle(OnDecorationBoundingBoxChanged, temp.X, temp.Y, temp.Width, temp.Height);
}
set
{
- SetValue(DecorationBoundingBoxProperty, value);
+ if (NUIApplication.IsUsingXaml)
+ {
+ SetValue(DecorationBoundingBoxProperty, value);
+ }
+ else
+ {
+ SetInternalDecorationBoundingBoxProperty(this, null, value);
+ }
NotifyPropertyChanged();
}
}
{
get
{
- return (bool)GetValue(EnableMarkupProperty);
+ if (NUIApplication.IsUsingXaml)
+ {
+ return (bool)GetValue(EnableMarkupProperty);
+ }
+ else
+ {
+ return (bool)GetInternalEnableMarkupProperty(this);
+ }
}
set
{
- SetValue(EnableMarkupProperty, value);
+ if (NUIApplication.IsUsingXaml)
+ {
+ SetValue(EnableMarkupProperty, value);
+ }
+ else
+ {
+ SetInternalEnableMarkupProperty(this, null, value);
+ }
NotifyPropertyChanged();
}
}
{
get
{
- Vector4 temp = (Vector4)GetValue(InputColorProperty);
+ Vector4 temp;
+ if (NUIApplication.IsUsingXaml)
+ {
+ temp = (Vector4)GetValue(InputColorProperty);
+ }
+ else
+ {
+ temp = (Vector4)GetInternalInputColorProperty(this);
+ }
return new Vector4(OnInputColorChanged, temp.X, temp.Y, temp.Z, temp.W);
}
set
{
- SetValue(InputColorProperty, value);
+ if (NUIApplication.IsUsingXaml)
+ {
+ SetValue(InputColorProperty, value);
+ }
+ else
+ {
+ SetInternalInputColorProperty(this, null, value);
+ }
NotifyPropertyChanged();
}
}
{
get
{
- return (string)GetValue(InputFontFamilyProperty);
+ if (NUIApplication.IsUsingXaml)
+ {
+ return (string)GetValue(InputFontFamilyProperty);
+ }
+ else
+ {
+ return (string)GetInternalInputFontFamilyProperty(this);
+ }
}
set
{
- SetValue(InputFontFamilyProperty, value);
+ if (NUIApplication.IsUsingXaml)
+ {
+ SetValue(InputFontFamilyProperty, value);
+ }
+ else
+ {
+ SetInternalInputFontFamilyProperty(this, null, value);
+ }
NotifyPropertyChanged();
}
}
{
get
{
- return (PropertyMap)GetValue(InputFontStyleProperty);
+ if (NUIApplication.IsUsingXaml)
+ {
+ return (PropertyMap)GetValue(InputFontStyleProperty);
+ }
+ else
+ {
+ return (PropertyMap)GetInternalInputFontStyleProperty(this);
+ }
}
set
{
- SetValue(InputFontStyleProperty, value);
+ if (NUIApplication.IsUsingXaml)
+ {
+ SetValue(InputFontStyleProperty, value);
+ }
+ else
+ {
+ SetInternalInputFontStyleProperty(this, null, value);
+ }
NotifyPropertyChanged();
}
}
{
get
{
- return (float)GetValue(InputPointSizeProperty);
+ if (NUIApplication.IsUsingXaml)
+ {
+ return (float)GetValue(InputPointSizeProperty);
+ }
+ else
+ {
+ return (float)GetInternalInputPointSizeProperty(this);
+ }
}
set
{
- SetValue(InputPointSizeProperty, value);
+ if (NUIApplication.IsUsingXaml)
+ {
+ SetValue(InputPointSizeProperty, value);
+ }
+ else
+ {
+ SetInternalInputPointSizeProperty(this, null, value);
+ }
NotifyPropertyChanged();
}
}
{
get
{
- return (float)GetValue(LineSpacingProperty);
+ if (NUIApplication.IsUsingXaml)
+ {
+ return (float)GetValue(LineSpacingProperty);
+ }
+ else
+ {
+ return (float)GetInternalLineSpacingProperty(this);
+ }
}
set
{
- SetValue(LineSpacingProperty, value);
+ if (NUIApplication.IsUsingXaml)
+ {
+ SetValue(LineSpacingProperty, value);
+ }
+ else
+ {
+ SetInternalLineSpacingProperty(this, null, value);
+ }
NotifyPropertyChanged();
}
}
{
get
{
- return (float)GetValue(InputLineSpacingProperty);
+ if (NUIApplication.IsUsingXaml)
+ {
+ return (float)GetValue(InputLineSpacingProperty);
+ }
+ else
+ {
+ return (float)GetInternalInputLineSpacingProperty(this);
+ }
}
set
{
- SetValue(InputLineSpacingProperty, value);
+ if (NUIApplication.IsUsingXaml)
+ {
+ SetValue(InputLineSpacingProperty, value);
+ }
+ else
+ {
+ SetInternalInputLineSpacingProperty(this, null, value);
+ }
NotifyPropertyChanged();
}
}
{
get
{
- return (float)GetValue(RelativeLineHeightProperty);
+ if (NUIApplication.IsUsingXaml)
+ {
+ return (float)GetValue(RelativeLineHeightProperty);
+ }
+ else
+ {
+ return (float)GetInternalRelativeLineHeightProperty(this);
+ }
}
set
{
- SetValue(RelativeLineHeightProperty, value);
+ if (NUIApplication.IsUsingXaml)
+ {
+ SetValue(RelativeLineHeightProperty, value);
+ }
+ else
+ {
+ SetInternalRelativeLineHeightProperty(this, null, value);
+ }
NotifyPropertyChanged();
}
}
{
get
{
- return (PropertyMap)GetValue(UnderlineProperty);
+ if (NUIApplication.IsUsingXaml)
+ {
+ return (PropertyMap)GetValue(UnderlineProperty);
+ }
+ else
+ {
+ return (PropertyMap)GetInternalUnderlineProperty(this);
+ }
}
set
{
- SetValue(UnderlineProperty, value);
+ if (NUIApplication.IsUsingXaml)
+ {
+ SetValue(UnderlineProperty, value);
+ }
+ else
+ {
+ SetInternalUnderlineProperty(this, null, value);
+ }
NotifyPropertyChanged();
}
}
{
get
{
- return (string)GetValue(InputUnderlineProperty);
+ if (NUIApplication.IsUsingXaml)
+ {
+ return (string)GetValue(InputUnderlineProperty);
+ }
+ else
+ {
+ return (string)GetInternalInputUnderlineProperty(this);
+ }
}
set
{
- SetValue(InputUnderlineProperty, value);
+ if (NUIApplication.IsUsingXaml)
+ {
+ SetValue(InputUnderlineProperty, value);
+ }
+ else
+ {
+ SetInternalInputUnderlineProperty(this, null, value);
+ }
NotifyPropertyChanged();
}
}
{
get
{
- return (PropertyMap)GetValue(ShadowProperty);
+ if (NUIApplication.IsUsingXaml)
+ {
+ return (PropertyMap)GetValue(ShadowProperty);
+ }
+ else
+ {
+ return (PropertyMap)GetInternalShadowProperty(this);
+ }
}
set
{
- SetValue(ShadowProperty, value);
+ if (NUIApplication.IsUsingXaml)
+ {
+ SetValue(ShadowProperty, value);
+ }
+ else
+ {
+ SetInternalShadowProperty(this, null, value);
+ }
NotifyPropertyChanged();
}
}
{
get
{
- return (string)GetValue(InputShadowProperty);
+ if (NUIApplication.IsUsingXaml)
+ {
+ return (string)GetValue(InputShadowProperty);
+ }
+ else
+ {
+ return (string)GetInternalInputShadowProperty(this);
+ }
}
set
{
- SetValue(InputShadowProperty, value);
+ if (NUIApplication.IsUsingXaml)
+ {
+ SetValue(InputShadowProperty, value);
+ }
+ else
+ {
+ SetInternalInputShadowProperty(this, null, value);
+ }
NotifyPropertyChanged();
}
}
{
get
{
- return (string)GetValue(EmbossProperty);
+ if (NUIApplication.IsUsingXaml)
+ {
+ return (string)GetValue(EmbossProperty);
+ }
+ else
+ {
+ return (string)GetInternalEmbossProperty(this);
+ }
}
set
{
- SetValue(EmbossProperty, value);
+ if (NUIApplication.IsUsingXaml)
+ {
+ SetValue(EmbossProperty, value);
+ }
+ else
+ {
+ SetInternalEmbossProperty(this, null, value);
+ }
NotifyPropertyChanged();
}
}
{
get
{
- return (string)GetValue(InputEmbossProperty);
+ if (NUIApplication.IsUsingXaml)
+ {
+ return (string)GetValue(InputEmbossProperty);
+ }
+ else
+ {
+ return (string)GetInternalInputEmbossProperty(this);
+ }
}
set
{
- SetValue(InputEmbossProperty, value);
+ if (NUIApplication.IsUsingXaml)
+ {
+ SetValue(InputEmbossProperty, value);
+ }
+ else
+ {
+ SetInternalInputEmbossProperty(this, null, value);
+ }
NotifyPropertyChanged();
}
}
{
get
{
- return (PropertyMap)GetValue(OutlineProperty);
+ if (NUIApplication.IsUsingXaml)
+ {
+ return (PropertyMap)GetValue(OutlineProperty);
+ }
+ else
+ {
+ return (PropertyMap)GetInternalOutlineProperty(this);
+ }
}
set
{
- SetValue(OutlineProperty, value);
+ if (NUIApplication.IsUsingXaml)
+ {
+ SetValue(OutlineProperty, value);
+ }
+ else
+ {
+ SetInternalOutlineProperty(this, null, value);
+ }
NotifyPropertyChanged();
}
}
{
get
{
- return (string)GetValue(InputOutlineProperty);
+ if (NUIApplication.IsUsingXaml)
+ {
+ return (string)GetValue(InputOutlineProperty);
+ }
+ else
+ {
+ return (string)GetInternalInputOutlineProperty(this);
+ }
}
set
{
- SetValue(InputOutlineProperty, value);
+ if (NUIApplication.IsUsingXaml)
+ {
+ SetValue(InputOutlineProperty, value);
+ }
+ else
+ {
+ SetInternalInputOutlineProperty(this, null, value);
+ }
NotifyPropertyChanged();
}
}
{
get
{
- return (bool)GetValue(SmoothScrollProperty);
+ if (NUIApplication.IsUsingXaml)
+ {
+ return (bool)GetValue(SmoothScrollProperty);
+ }
+ else
+ {
+ return (bool)GetInternalSmoothScrollProperty(this);
+ }
}
set
{
- SetValue(SmoothScrollProperty, value);
+ if (NUIApplication.IsUsingXaml)
+ {
+ SetValue(SmoothScrollProperty, value);
+ }
+ else
+ {
+ SetInternalSmoothScrollProperty(this, null, value);
+ }
NotifyPropertyChanged();
}
}
{
get
{
- return (float)GetValue(SmoothScrollDurationProperty);
+ if (NUIApplication.IsUsingXaml)
+ {
+ return (float)GetValue(SmoothScrollDurationProperty);
+ }
+ else
+ {
+ return (float)GetInternalSmoothScrollDurationProperty(this);
+ }
}
set
{
- SetValue(SmoothScrollDurationProperty, value);
+ if (NUIApplication.IsUsingXaml)
+ {
+ SetValue(SmoothScrollDurationProperty, value);
+ }
+ else
+ {
+ SetInternalSmoothScrollDurationProperty(this, null, value);
+ }
NotifyPropertyChanged();
}
}
{
get
{
- return (bool)GetValue(EnableScrollBarProperty);
+ if (NUIApplication.IsUsingXaml)
+ {
+ return (bool)GetValue(EnableScrollBarProperty);
+ }
+ else
+ {
+ return (bool)GetInternalEnableScrollBarProperty(this);
+ }
}
set
{
- SetValue(EnableScrollBarProperty, value);
+ if (NUIApplication.IsUsingXaml)
+ {
+ SetValue(EnableScrollBarProperty, value);
+ }
+ else
+ {
+ SetInternalEnableScrollBarProperty(this, null, value);
+ }
NotifyPropertyChanged();
}
}
{
get
{
- return (float)GetValue(ScrollBarShowDurationProperty);
+ if (NUIApplication.IsUsingXaml)
+ {
+ return (float)GetValue(ScrollBarShowDurationProperty);
+ }
+ else
+ {
+ return (float)GetInternalScrollBarShowDurationProperty(this);
+ }
}
set
{
- SetValue(ScrollBarShowDurationProperty, value);
+ if (NUIApplication.IsUsingXaml)
+ {
+ SetValue(ScrollBarShowDurationProperty, value);
+ }
+ else
+ {
+ SetInternalScrollBarShowDurationProperty(this, null, value);
+ }
NotifyPropertyChanged();
}
}
{
get
{
- return (float)GetValue(ScrollBarFadeDurationProperty);
+ if (NUIApplication.IsUsingXaml)
+ {
+ return (float)GetValue(ScrollBarFadeDurationProperty);
+ }
+ else
+ {
+ return (float)GetInternalScrollBarFadeDurationProperty(this);
+ }
}
set
{
- SetValue(ScrollBarFadeDurationProperty, value);
+ if (NUIApplication.IsUsingXaml)
+ {
+ SetValue(ScrollBarFadeDurationProperty, value);
+ }
+ else
+ {
+ SetInternalScrollBarFadeDurationProperty(this, null, value);
+ }
NotifyPropertyChanged();
}
}
{
get
{
- return (float)GetValue(PixelSizeProperty);
+ if (NUIApplication.IsUsingXaml)
+ {
+ return (float)GetValue(PixelSizeProperty);
+ }
+ else
+ {
+ return (float)GetInternalPixelSizeProperty(this);
+ }
}
set
{
- SetValue(PixelSizeProperty, value);
+ if (NUIApplication.IsUsingXaml)
+ {
+ SetValue(PixelSizeProperty, value);
+ }
+ else
+ {
+ SetInternalPixelSizeProperty(this, null, value);
+ }
NotifyPropertyChanged();
}
}
{
get
{
- return (string)GetValue(PlaceholderTextProperty);
+ if (NUIApplication.IsUsingXaml)
+ {
+ return (string)GetValue(PlaceholderTextProperty);
+ }
+ else
+ {
+ return (string)GetInternalPlaceholderTextProperty(this);
+ }
}
set
{
- SetValue(PlaceholderTextProperty, value);
+ if (NUIApplication.IsUsingXaml)
+ {
+ SetValue(PlaceholderTextProperty, value);
+ }
+ else
+ {
+ SetInternalPlaceholderTextProperty(this, null, value);
+ }
NotifyPropertyChanged();
}
}
{
get
{
- Color temp = (Color)GetValue(PlaceholderTextColorProperty);
+ Color temp;
+ if (NUIApplication.IsUsingXaml)
+ {
+ temp = (Color)GetValue(PlaceholderTextColorProperty);
+ }
+ else
+ {
+ temp = (Color)GetInternalPlaceholderTextColorProperty(this);
+ }
return new Color(OnPlaceholderTextColorChanged, temp.R, temp.G, temp.B, temp.A);
}
set
{
- SetValue(PlaceholderTextColorProperty, value);
+ if (NUIApplication.IsUsingXaml)
+ {
+ SetValue(PlaceholderTextColorProperty, value);
+ }
+ else
+ {
+ SetInternalPlaceholderTextColorProperty(this, null, value);
+ }
NotifyPropertyChanged();
}
}
{
get
{
- return (bool)GetValue(EnableSelectionProperty);
+ if (NUIApplication.IsUsingXaml)
+ {
+ return (bool)GetValue(EnableSelectionProperty);
+ }
+ else
+ {
+ return (bool)GetInternalEnableSelectionProperty(this);
+ }
}
set
{
- SetValue(EnableSelectionProperty, value);
+ if (NUIApplication.IsUsingXaml)
+ {
+ SetValue(EnableSelectionProperty, value);
+ }
+ else
+ {
+ SetInternalEnableSelectionProperty(this, null, value);
+ }
NotifyPropertyChanged();
}
}
{
get
{
- return (bool)GetValue(EnableEditingProperty);
+ if (NUIApplication.IsUsingXaml)
+ {
+ return (bool)GetValue(EnableEditingProperty);
+ }
+ else
+ {
+ return (bool)GetInternalEnableEditingProperty(this);
+ }
}
set
{
- SetValue(EnableEditingProperty, value);
+ if (NUIApplication.IsUsingXaml)
+ {
+ SetValue(EnableEditingProperty, value);
+ }
+ else
+ {
+ SetInternalEnableEditingProperty(this, null, value);
+ }
}
}
{
get
{
- return (int)GetValue(HorizontalScrollPositionProperty);
+ if (NUIApplication.IsUsingXaml)
+ {
+ return (int)GetValue(HorizontalScrollPositionProperty);
+ }
+ else
+ {
+ return (int)GetInternalHorizontalScrollPositionProperty(this);
+ }
}
set
{
- SetValue(HorizontalScrollPositionProperty, value);
+ if (NUIApplication.IsUsingXaml)
+ {
+ SetValue(HorizontalScrollPositionProperty, value);
+ }
+ else
+ {
+ SetInternalHorizontalScrollPositionProperty(this, null, value);
+ }
}
}
{
get
{
- return (int)GetValue(VerticalScrollPositionProperty);
+ if (NUIApplication.IsUsingXaml)
+ {
+ return (int)GetValue(VerticalScrollPositionProperty);
+ }
+ else
+ {
+ return (int)GetInternalVerticalScrollPositionProperty(this);
+ }
}
set
{
- SetValue(VerticalScrollPositionProperty, value);
+ if (NUIApplication.IsUsingXaml)
+ {
+ SetValue(VerticalScrollPositionProperty, value);
+ }
+ else
+ {
+ SetInternalVerticalScrollPositionProperty(this, null, value);
+ }
}
}
{
get
{
- return (int)GetValue(PrimaryCursorPositionProperty);
+ if (NUIApplication.IsUsingXaml)
+ {
+ return (int)GetValue(PrimaryCursorPositionProperty);
+ }
+ else
+ {
+ return (int)GetInternalPrimaryCursorPositionProperty(this);
+ }
}
set
{
- SetValue(PrimaryCursorPositionProperty, value);
+ if (NUIApplication.IsUsingXaml)
+ {
+ SetValue(PrimaryCursorPositionProperty, value);
+ }
+ else
+ {
+ SetInternalPrimaryCursorPositionProperty(this, null, value);
+ }
}
}
{
get
{
- Color temp = (Color)GetValue(GrabHandleColorProperty);
+ Color temp;
+ if (NUIApplication.IsUsingXaml)
+ {
+ temp = (Color)GetValue(GrabHandleColorProperty);
+ }
+ else
+ {
+ temp = (Color)GetInternalGrabHandleColorProperty(this);
+ }
return new Color(OnGrabHandleColorChanged, temp.R, temp.G, temp.B, temp.A);
}
set
{
- SetValue(GrabHandleColorProperty, value);
+ if (NUIApplication.IsUsingXaml)
+ {
+ SetValue(GrabHandleColorProperty, value);
+ }
+ else
+ {
+ SetInternalGrabHandleColorProperty(this, null, value);
+ }
NotifyPropertyChanged();
}
}
{
get
{
- PropertyMap map = (PropertyMap)GetValue(PlaceholderProperty);
+ PropertyMap map;
+ if (NUIApplication.IsUsingXaml)
+ {
+ map = (PropertyMap)GetValue(PlaceholderProperty);
+ }
+ else
+ {
+ map = (PropertyMap)GetInternalPlaceholderProperty(this);
+ }
string defalutText = "";
if (TextMapHelper.IsValue(map, 0))
}
set
{
- SetValue(PlaceholderProperty, value);
+ if (NUIApplication.IsUsingXaml)
+ {
+ SetValue(PlaceholderProperty, value);
+ }
+ else
+ {
+ SetInternalPlaceholderProperty(this, null, value);
+ }
NotifyPropertyChanged();
}
}
{
get
{
- return (bool)GetValue(EllipsisProperty);
+ if (NUIApplication.IsUsingXaml)
+ {
+ return (bool)GetValue(EllipsisProperty);
+
+ }
+ else
+ {
+ return (bool)GetInternalEllipsisProperty(this);
+ }
}
set
{
- SetValue(EllipsisProperty, value);
+ if (NUIApplication.IsUsingXaml)
+ {
+ SetValue(EllipsisProperty, value);
+ }
+ else
+ {
+ SetInternalEllipsisProperty(this, null, value);
+ }
NotifyPropertyChanged();
}
}
{
get
{
- return (EllipsisPosition)GetValue(EllipsisPositionProperty);
+ if (NUIApplication.IsUsingXaml)
+ {
+ return (EllipsisPosition)GetValue(EllipsisPositionProperty);
+ }
+ else
+ {
+ return (EllipsisPosition)GetInternalEllipsisPositionProperty(this);
+ }
}
set
{
- SetValue(EllipsisPositionProperty, value);
+ if (NUIApplication.IsUsingXaml)
+ {
+ SetValue(EllipsisPositionProperty, value);
+ }
+ else
+ {
+ SetInternalEllipsisPositionProperty(this, null, value);
+ }
NotifyPropertyChanged();
}
}
{
get
{
- return (LineWrapMode)GetValue(LineWrapModeProperty);
+ if (NUIApplication.IsUsingXaml)
+ {
+ return (LineWrapMode)GetValue(LineWrapModeProperty);
+ }
+ else
+ {
+ return (LineWrapMode)GetInternalLineWrapModeProperty(this);
+ }
}
set
{
- SetValue(LineWrapModeProperty, value);
+ if (NUIApplication.IsUsingXaml)
+ {
+ SetValue(LineWrapModeProperty, value);
+ }
+ else
+ {
+ SetInternalLineWrapModeProperty(this, null, value);
+ }
NotifyPropertyChanged();
}
}
{
get
{
- return (bool)GetValue(EnableShiftSelectionProperty);
+ if (NUIApplication.IsUsingXaml)
+ {
+ return (bool)GetValue(EnableShiftSelectionProperty);
+ }
+ else
+ {
+ return (bool)GetInternalEnableShiftSelectionProperty(this);
+ }
}
set
{
- SetValue(EnableShiftSelectionProperty, value);
+ if (NUIApplication.IsUsingXaml)
+ {
+ SetValue(EnableShiftSelectionProperty, value);
+ }
+ else
+ {
+ SetInternalEnableShiftSelectionProperty(this, null, value);
+ }
NotifyPropertyChanged();
}
}
{
get
{
- return (bool)GetValue(MatchSystemLanguageDirectionProperty);
+ if (NUIApplication.IsUsingXaml)
+ {
+ return (bool)GetValue(MatchSystemLanguageDirectionProperty);
+ }
+ else
+ {
+ return (bool)GetInternalMatchSystemLanguageDirectionProperty(this);
+ }
}
set
{
- SetValue(MatchSystemLanguageDirectionProperty, value);
+ if (NUIApplication.IsUsingXaml)
+ {
+ SetValue(MatchSystemLanguageDirectionProperty, value);
+ }
+ else
+ {
+ SetInternalMatchSystemLanguageDirectionProperty(this, null, value);
+ }
NotifyPropertyChanged();
}
}
{
get
{
- return (int)GetValue(MaxLengthProperty);
+ if (NUIApplication.IsUsingXaml)
+ {
+ return (int)GetValue(MaxLengthProperty);
+ }
+ else
+ {
+ return (int)GetInternalMaxLengthProperty(this);
+ }
}
set
{
- SetValue(MaxLengthProperty, value);
+ if (NUIApplication.IsUsingXaml)
+ {
+ SetValue(MaxLengthProperty, value);
+ }
+ else
+ {
+ SetInternalMaxLengthProperty(this, null, value);
+ }
NotifyPropertyChanged();
}
}
{
get
{
- return (float)GetValue(FontSizeScaleProperty);
+ if (NUIApplication.IsUsingXaml)
+ {
+ return (float)GetValue(FontSizeScaleProperty);
+ }
+ else
+ {
+ return (float)GetInternalFontSizeScaleProperty(this);
+ }
}
set
{
- SetValue(FontSizeScaleProperty, value);
+ if (NUIApplication.IsUsingXaml)
+ {
+ SetValue(FontSizeScaleProperty, value);
+ }
+ else
+ {
+ SetInternalFontSizeScaleProperty(this, null, value);
+ }
NotifyPropertyChanged();
}
}
{
get
{
- return (bool)GetValue(EnableFontSizeScaleProperty);
+ if (NUIApplication.IsUsingXaml)
+ {
+ return (bool)GetValue(EnableFontSizeScaleProperty);
+ }
+ else
+ {
+ return (bool)GetInternalEnableFontSizeScaleProperty(this);
+ }
}
set
{
- SetValue(EnableFontSizeScaleProperty, value);
+ if (NUIApplication.IsUsingXaml)
+ {
+ SetValue(EnableFontSizeScaleProperty, value);
+ }
+ else
+ {
+ SetInternalEnableFontSizeScaleProperty(this, null, value);
+ }
NotifyPropertyChanged();
}
}
{
get
{
- return (PropertyMap)GetValue(InputMethodSettingsProperty);
+ if (NUIApplication.IsUsingXaml)
+ {
+ return (PropertyMap)GetValue(InputMethodSettingsProperty);
+ }
+ else
+ {
+ return (PropertyMap)GetInternalInputMethodSettingsProperty(this);
+ }
}
set
{
- SetValue(InputMethodSettingsProperty, value);
+ if (NUIApplication.IsUsingXaml)
+ {
+ SetValue(InputMethodSettingsProperty, value);
+ }
+ else
+ {
+ SetInternalInputMethodSettingsProperty(this, null, value);
+ }
NotifyPropertyChanged();
}
}
{
get
{
- return (bool)GetValue(EnableGrabHandleProperty);
+ if (NUIApplication.IsUsingXaml)
+ {
+ return (bool)GetValue(EnableGrabHandleProperty);
+ }
+ else
+ {
+ return (bool)GetInternalEnableGrabHandleProperty(this);
+ }
}
set
{
- SetValue(EnableGrabHandleProperty, value);
+ if (NUIApplication.IsUsingXaml)
+ {
+ SetValue(EnableGrabHandleProperty, value);
+ }
+ else
+ {
+ SetInternalEnableGrabHandleProperty(this, null, value);
+ }
NotifyPropertyChanged();
}
}
{
get
{
- return (bool)GetValue(EnableGrabHandlePopupProperty);
+ if (NUIApplication.IsUsingXaml)
+ {
+ return (bool)GetValue(EnableGrabHandlePopupProperty);
+ }
+ else
+ {
+ return (bool)GetInternalEnableGrabHandlePopupProperty(this);
+ }
}
set
{
- SetValue(EnableGrabHandlePopupProperty, value);
+ if (NUIApplication.IsUsingXaml)
+ {
+ SetValue(EnableGrabHandlePopupProperty, value);
+ }
+ else
+ {
+ SetInternalEnableGrabHandlePopupProperty(this, null, value);
+ }
NotifyPropertyChanged();
}
}
{
get
{
- return (float)GetValue(MinLineSizeProperty);
+ if (NUIApplication.IsUsingXaml)
+ {
+ return (float)GetValue(MinLineSizeProperty);
+ }
+ else
+ {
+ return (float)GetInternalMinLineSizeProperty(this);
+ }
}
set
{
- SetValue(MinLineSizeProperty, value);
+ if (NUIApplication.IsUsingXaml)
+ {
+ SetValue(MinLineSizeProperty, value);
+ }
+ else
+ {
+ SetInternalMinLineSizeProperty(this, null, value);
+ }
NotifyPropertyChanged();
}
}
{
get
{
- return (float)GetValue(CharacterSpacingProperty);
+ if (NUIApplication.IsUsingXaml)
+ {
+ return (float)GetValue(CharacterSpacingProperty);
+ }
+ else
+ {
+ return (float)GetInternalCharacterSpacingProperty(this);
+ }
}
set
{
- SetValue(CharacterSpacingProperty, value);
+ if (NUIApplication.IsUsingXaml)
+ {
+ SetValue(CharacterSpacingProperty, value);
+ }
+ else
+ {
+ SetInternalCharacterSpacingProperty(this, null, value);
+ }
NotifyPropertyChanged();
}
}
}
}
}
-}
+}
\ No newline at end of file
{
/// This will be public opened in tizen_5.0 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(TextEditor), string.Empty, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
+ public static readonly BindableProperty TextProperty = null;
+
+ internal static void SetInternalTextProperty(BindableObject bindable, object oldValue, object newValue)
{
var textEditor = (TextEditor)bindable;
if (newValue != null)
Object.InternalSetPropertyString(textEditor.SwigCPtr, TextEditor.Property.TEXT, (string)newValue);
textEditor.isSettingTextInCSharp = false;
}
- }),
- defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
+ }
+
+ internal static object GetInternalTextProperty(BindableObject bindable)
{
var textEditor = (TextEditor)bindable;
return Object.InternalGetPropertyString(textEditor.SwigCPtr, TextEditor.Property.TEXT);
- }));
+ }
+
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
- public static readonly BindableProperty TextColorProperty = BindableProperty.Create(nameof(TextColor), typeof(Vector4), typeof(TextEditor), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
+ public static readonly BindableProperty TextColorProperty = null;
+
+ internal static void SetInternalTextColorProperty(BindableObject bindable, object oldValue, object newValue)
{
var textEditor = (TextEditor)bindable;
if (newValue != null)
Object.InternalSetPropertyVector4(textEditor.SwigCPtr, TextEditor.Property.TextColor, ((Vector4)newValue).SwigCPtr);
}
- }),
- defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
+ }
+
+ internal static object GetInternalTextColorProperty(BindableObject bindable)
{
var textEditor = (TextEditor)bindable;
}
Object.InternalRetrievingPropertyVector4(textEditor.SwigCPtr, TextEditor.Property.TextColor, textEditor.internalTextColor.SwigCPtr);
return textEditor.internalTextColor;
- }));
+ }
+
/// This will be public opened in tizen_5.0 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(TextEditor), string.Empty, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
+ public static readonly BindableProperty FontFamilyProperty = null;
+
+ internal static void SetInternalFontFamilyProperty(BindableObject bindable, object oldValue, object newValue)
{
var textEditor = (TextEditor)bindable;
if (newValue != null)
{
textEditor.InternalFontFamily = (string)newValue;
}
- }),
- defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
+ }
+
+ internal static object GetInternalFontFamilyProperty(BindableObject bindable)
{
var textEditor = (TextEditor)bindable;
return textEditor.InternalFontFamily;
- }));
+ }
+
/// This will be public opened in tizen_5.0 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(TextEditor), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
+ public static readonly BindableProperty FontStyleProperty = null;
+
+ internal static void SetInternalFontStyleProperty(BindableObject bindable, object oldValue, object newValue)
{
var textEditor = (TextEditor)bindable;
if (newValue != null)
{
Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.FontStyle, new Tizen.NUI.PropertyValue((PropertyMap)newValue));
}
- }),
- defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
+ }
+
+ internal static object GetInternalFontStyleProperty(BindableObject bindable)
{
var textEditor = (TextEditor)bindable;
PropertyMap temp = new PropertyMap();
Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.FontStyle).Get(temp);
return temp;
- }));
+ }
+
/// This will be public opened in tizen_5.0 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(TextEditor), default(float), propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
+ public static readonly BindableProperty PointSizeProperty = null;
+
+ internal static void SetInternalPointSizeProperty(BindableObject bindable, object oldValue, object newValue)
{
var textEditor = (TextEditor)bindable;
if (newValue != null)
Object.InternalSetPropertyFloat(textEditor.SwigCPtr, TextEditor.Property.PointSize, (float)newValue);
}
- }),
- defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
+ }
+
+ internal static object GetInternalPointSizeProperty(BindableObject bindable)
{
var textEditor = (TextEditor)bindable;
return Object.InternalGetPropertyFloat(textEditor.SwigCPtr, TextEditor.Property.PointSize);
- }));
+ }
+
/// This will be public opened in tizen_5.0 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(TextEditor), HorizontalAlignment.Begin, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
+ public static readonly BindableProperty HorizontalAlignmentProperty = null;
+
+ internal static void SetInternalHorizontalAlignmentProperty(BindableObject bindable, object oldValue, object newValue)
{
var textEditor = (TextEditor)bindable;
if (newValue != null)
Object.InternalSetPropertyInt(textEditor.SwigCPtr, TextEditor.Property.HorizontalAlignment, (int)newValue);
}
- }),
- defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
+ }
+
+ internal static object GetInternalHorizontalAlignmentProperty(BindableObject bindable)
{
var textEditor = (TextEditor)bindable;
string temp;
temp = Object.InternalGetPropertyString(textEditor.SwigCPtr, TextEditor.Property.HorizontalAlignment);
return temp.GetValueByDescription<HorizontalAlignment>();
- }));
+ }
+
[EditorBrowsable(EditorBrowsableState.Never)]
- public static readonly BindableProperty VerticalAlignmentProperty = BindableProperty.Create(nameof(VerticalAlignment), typeof(VerticalAlignment), typeof(TextEditor), VerticalAlignment.Bottom, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
+ public static readonly BindableProperty VerticalAlignmentProperty = null;
+
+ internal static void SetInternalVerticalAlignmentProperty(BindableObject bindable, object oldValue, object newValue)
{
var textEditor = (TextEditor)bindable;
if (newValue != null)
Object.InternalSetPropertyInt(textEditor.SwigCPtr, TextEditor.Property.VerticalAlignment, (int)newValue);
}
- }),
- defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
+ }
+
+ internal static object GetInternalVerticalAlignmentProperty(BindableObject bindable)
{
var textEditor = (TextEditor)bindable;
string temp;
temp = Object.InternalGetPropertyString(textEditor.SwigCPtr, TextEditor.Property.VerticalAlignment);
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.
[EditorBrowsable(EditorBrowsableState.Never)]
- public static readonly BindableProperty ScrollThresholdProperty = BindableProperty.Create(nameof(ScrollThreshold), typeof(float), typeof(TextEditor), default(float), propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
+ public static readonly BindableProperty ScrollThresholdProperty = null;
+
+ internal static void SetInternalScrollThresholdProperty(BindableObject bindable, object oldValue, object newValue)
{
var textEditor = (TextEditor)bindable;
if (newValue != null)
Object.InternalSetPropertyFloat(textEditor.SwigCPtr, TextEditor.Property.ScrollThreshold, (float)newValue);
}
- }),
- defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
+ }
+
+ internal static object GetInternalScrollThresholdProperty(BindableObject bindable)
{
var textEditor = (TextEditor)bindable;
return Object.InternalGetPropertyFloat(textEditor.SwigCPtr, TextEditor.Property.ScrollThreshold);
- }));
+ }
+
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
- public static readonly BindableProperty ScrollSpeedProperty = BindableProperty.Create(nameof(ScrollSpeed), typeof(float), typeof(TextEditor), default(float), propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
+ public static readonly BindableProperty ScrollSpeedProperty = null;
+
+ internal static void SetInternalScrollSpeedProperty(BindableObject bindable, object oldValue, object newValue)
{
var textEditor = (TextEditor)bindable;
if (newValue != null)
Object.InternalSetPropertyFloat(textEditor.SwigCPtr, TextEditor.Property.ScrollSpeed, (float)newValue);
}
- }),
- defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
+ }
+
+ internal static object GetInternalScrollSpeedProperty(BindableObject bindable)
{
var textEditor = (TextEditor)bindable;
return Object.InternalGetPropertyFloat(textEditor.SwigCPtr, TextEditor.Property.ScrollSpeed);
- }));
+ }
+
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
- public static readonly BindableProperty PrimaryCursorColorProperty = BindableProperty.Create(nameof(PrimaryCursorColor), typeof(Vector4), typeof(TextEditor), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
+ public static readonly BindableProperty PrimaryCursorColorProperty = null;
+
+ internal static void SetInternalPrimaryCursorColorProperty(BindableObject bindable, object oldValue, object newValue)
{
var textEditor = (TextEditor)bindable;
if (newValue != null)
Object.InternalSetPropertyVector4(textEditor.SwigCPtr, TextEditor.Property.PrimaryCursorColor, ((Vector4)newValue).SwigCPtr);
}
- }),
- defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
+ }
+
+ internal static object GetInternalPrimaryCursorColorProperty(BindableObject bindable)
{
var textEditor = (TextEditor)bindable;
}
Object.InternalRetrievingPropertyVector4(textEditor.SwigCPtr, TextEditor.Property.PrimaryCursorColor, textEditor.internalPrimaryCursorColor.SwigCPtr);
return textEditor.internalPrimaryCursorColor;
- }));
+ }
+
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
- public static readonly BindableProperty SecondaryCursorColorProperty = BindableProperty.Create(nameof(SecondaryCursorColor), typeof(Vector4), typeof(TextEditor), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
+ public static readonly BindableProperty SecondaryCursorColorProperty = null;
+
+ internal static void SetInternalSecondaryCursorColorProperty(BindableObject bindable, object oldValue, object newValue)
{
var textEditor = (TextEditor)bindable;
if (newValue != null)
Object.InternalSetPropertyVector4(textEditor.SwigCPtr, TextEditor.Property.SecondaryCursorColor, ((Vector4)newValue).SwigCPtr);
}
- }),
- defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
+ }
+
+ internal static object GetInternalSecondaryCursorColorProperty(BindableObject bindable)
{
var textEditor = (TextEditor)bindable;
}
Object.InternalRetrievingPropertyVector4(textEditor.SwigCPtr, TextEditor.Property.SecondaryCursorColor, textEditor.internalSecondaryCursorColor.SwigCPtr);
return textEditor.internalSecondaryCursorColor;
- }));
+ }
+
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
- public static readonly BindableProperty EnableCursorBlinkProperty = BindableProperty.Create(nameof(EnableCursorBlink), typeof(bool), typeof(TextEditor), false, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
+ public static readonly BindableProperty EnableCursorBlinkProperty = null;
+
+ internal static void SetInternalEnableCursorBlinkProperty(BindableObject bindable, object oldValue, object newValue)
{
var textEditor = (TextEditor)bindable;
if (newValue != null)
Object.InternalSetPropertyBool(textEditor.SwigCPtr, TextEditor.Property.EnableCursorBlink, (bool)newValue);
}
- }),
- defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
+ }
+
+ internal static object GetInternalEnableCursorBlinkProperty(BindableObject bindable)
{
var textEditor = (TextEditor)bindable;
return Object.InternalGetPropertyBool(textEditor.SwigCPtr, TextEditor.Property.EnableCursorBlink);
- }));
+ }
+
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
- public static readonly BindableProperty CursorBlinkIntervalProperty = BindableProperty.Create(nameof(CursorBlinkInterval), typeof(float), typeof(TextEditor), default(float), propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
+ public static readonly BindableProperty CursorBlinkIntervalProperty = null;
+
+ internal static void SetInternalCursorBlinkIntervalProperty(BindableObject bindable, object oldValue, object newValue)
{
var textEditor = (TextEditor)bindable;
if (newValue != null)
Object.InternalSetPropertyFloat(textEditor.SwigCPtr, TextEditor.Property.CursorBlinkInterval, (float)newValue);
}
- }),
- defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
+ }
+
+ internal static object GetInternalCursorBlinkIntervalProperty(BindableObject bindable)
{
var textEditor = (TextEditor)bindable;
return Object.InternalGetPropertyFloat(textEditor.SwigCPtr, TextEditor.Property.CursorBlinkInterval);
- }));
+ }
+
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
- public static readonly BindableProperty CursorBlinkDurationProperty = BindableProperty.Create(nameof(CursorBlinkDuration), typeof(float), typeof(TextEditor), default(float), propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
+ public static readonly BindableProperty CursorBlinkDurationProperty = null;
+
+ internal static void SetInternalCursorBlinkDurationProperty(BindableObject bindable, object oldValue, object newValue)
{
var textEditor = (TextEditor)bindable;
if (newValue != null)
Object.InternalSetPropertyFloat(textEditor.SwigCPtr, TextEditor.Property.CursorBlinkDuration, (float)newValue);
}
- }),
- defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
+ }
+
+ internal static object GetInternalCursorBlinkDurationProperty(BindableObject bindable)
{
var textEditor = (TextEditor)bindable;
return Object.InternalGetPropertyFloat(textEditor.SwigCPtr, TextEditor.Property.CursorBlinkDuration);
- }));
+ }
+
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
- public static readonly BindableProperty CursorWidthProperty = BindableProperty.Create(nameof(CursorWidth), typeof(int), typeof(TextEditor), default(int), propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
+ public static readonly BindableProperty CursorWidthProperty = null;
+
+ internal static void SetInternalCursorWidthProperty(BindableObject bindable, object oldValue, object newValue)
{
var textEditor = (TextEditor)bindable;
if (newValue != null)
Object.InternalSetPropertyInt(textEditor.SwigCPtr, TextEditor.Property.CursorWidth, (int)newValue);
}
- }),
- defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
+ }
+
+ internal static object GetInternalCursorWidthProperty(BindableObject bindable)
{
var textEditor = (TextEditor)bindable;
return Object.InternalGetPropertyInt(textEditor.SwigCPtr, TextEditor.Property.CursorWidth);
- }));
+ }
+
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
- public static readonly BindableProperty GrabHandleImageProperty = BindableProperty.Create(nameof(GrabHandleImage), typeof(string), typeof(TextEditor), string.Empty, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
+ public static readonly BindableProperty GrabHandleImageProperty = null;
+
+ internal static void SetInternalGrabHandleImageProperty(BindableObject bindable, object oldValue, object newValue)
{
var textEditor = (TextEditor)bindable;
if (newValue != null)
Object.InternalSetPropertyString(textEditor.SwigCPtr, TextEditor.Property.GrabHandleImage, (string)newValue);
}
- }),
- defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
+ }
+
+ internal static object GetInternalGrabHandleImageProperty(BindableObject bindable)
{
var textEditor = (TextEditor)bindable;
return Object.InternalGetPropertyString(textEditor.SwigCPtr, TextEditor.Property.GrabHandleImage);
- }));
+ }
+
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
- public static readonly BindableProperty GrabHandlePressedImageProperty = BindableProperty.Create(nameof(GrabHandlePressedImage), typeof(string), typeof(TextEditor), string.Empty, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
+ public static readonly BindableProperty GrabHandlePressedImageProperty = null;
+
+ internal static void SetInternalGrabHandlePressedImageProperty(BindableObject bindable, object oldValue, object newValue)
{
var textEditor = (TextEditor)bindable;
if (newValue != null)
Object.InternalSetPropertyString(textEditor.SwigCPtr, TextEditor.Property.GrabHandlePressedImage, (string)newValue);
}
- }),
- defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
+ }
+
+ internal static object GetInternalGrabHandlePressedImageProperty(BindableObject bindable)
{
var textEditor = (TextEditor)bindable;
return Object.InternalGetPropertyString(textEditor.SwigCPtr, TextEditor.Property.GrabHandlePressedImage);
- }));
+ }
[EditorBrowsable(EditorBrowsableState.Never)]
- public static readonly BindableProperty SelectionPopupStyleProperty = BindableProperty.Create(nameof(SelectionPopupStyle), typeof(PropertyMap), typeof(TextEditor), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
+ public static readonly BindableProperty SelectionPopupStyleProperty = null;
+
+ internal static void SetInternalSelectionPopupStyleProperty(BindableObject bindable, object oldValue, object newValue)
{
var textEditor = (TextEditor)bindable;
if (newValue != null)
{
Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.SelectionPopupStyle, new Tizen.NUI.PropertyValue((PropertyMap)newValue));
}
- }),
- defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
+ }
+
+ internal static object GetInternalSelectionPopupStyleProperty(BindableObject bindable)
{
var textEditor = (TextEditor)bindable;
PropertyMap temp = new PropertyMap();
Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.SelectionPopupStyle).Get(temp);
return temp;
- }));
+ }
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
- public static readonly BindableProperty SelectionHandleImageLeftProperty = BindableProperty.Create(nameof(SelectionHandleImageLeft), typeof(PropertyMap), typeof(TextEditor), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
+ public static readonly BindableProperty SelectionHandleImageLeftProperty = null;
+
+ internal static void SetInternalSelectionHandleImageLeftProperty(BindableObject bindable, object oldValue, object newValue)
{
var textEditor = (TextEditor)bindable;
if (newValue != null)
{
Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.SelectionHandleImageLeft, new Tizen.NUI.PropertyValue((PropertyMap)newValue));
}
- }),
- defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
+ }
+
+ internal static object GetInternalSelectionHandleImageLeftProperty(BindableObject bindable)
{
var textEditor = (TextEditor)bindable;
PropertyMap temp = new PropertyMap();
Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.SelectionHandleImageLeft).Get(temp);
return temp;
- }));
+ }
+
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
- public static readonly BindableProperty SelectionHandleImageRightProperty = BindableProperty.Create(nameof(SelectionHandleImageRight), typeof(PropertyMap), typeof(TextEditor), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
+ public static readonly BindableProperty SelectionHandleImageRightProperty = null;
+
+ internal static void SetInternalSelectionHandleImageRightProperty(BindableObject bindable, object oldValue, object newValue)
{
var textEditor = (TextEditor)bindable;
if (newValue != null)
{
Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.SelectionHandleImageRight, new Tizen.NUI.PropertyValue((PropertyMap)newValue));
}
- }),
- defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
+ }
+
+ internal static object GetInternalSelectionHandleImageRightProperty(BindableObject bindable)
{
var textEditor = (TextEditor)bindable;
PropertyMap temp = new PropertyMap();
Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.SelectionHandleImageRight).Get(temp);
return temp;
- }));
+ }
+
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
- public static readonly BindableProperty SelectionHandlePressedImageLeftProperty = BindableProperty.Create(nameof(SelectionHandlePressedImageLeft), typeof(PropertyMap), typeof(TextEditor), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
+ public static readonly BindableProperty SelectionHandlePressedImageLeftProperty = null;
+
+ internal static void SetInternalSelectionHandlePressedImageLeftProperty(BindableObject bindable, object oldValue, object newValue)
{
var textEditor = (TextEditor)bindable;
if (newValue != null)
{
Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.SelectionHandlePressedImageLeft, new Tizen.NUI.PropertyValue((PropertyMap)newValue));
}
- }),
- defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
+ }
+
+ internal static object GetInternalSelectionHandlePressedImageLeftProperty(BindableObject bindable)
{
var textEditor = (TextEditor)bindable;
PropertyMap temp = new PropertyMap();
Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.SelectionHandlePressedImageLeft).Get(temp);
return temp;
- }));
+ }
+
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
- public static readonly BindableProperty SelectionHandlePressedImageRightProperty = BindableProperty.Create(nameof(SelectionHandlePressedImageRight), typeof(PropertyMap), typeof(TextEditor), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
+ public static readonly BindableProperty SelectionHandlePressedImageRightProperty = null;
+
+ internal static void SetInternalSelectionHandlePressedImageRightProperty(BindableObject bindable, object oldValue, object newValue)
{
var textEditor = (TextEditor)bindable;
if (newValue != null)
{
Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.SelectionHandlePressedImageRight, new Tizen.NUI.PropertyValue((PropertyMap)newValue));
}
- }),
- defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
+ }
+
+ internal static object GetInternalSelectionHandlePressedImageRightProperty(BindableObject bindable)
{
var textEditor = (TextEditor)bindable;
PropertyMap temp = new PropertyMap();
Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.SelectionHandlePressedImageRight).Get(temp);
return temp;
- }));
+ }
+
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
- public static readonly BindableProperty SelectionHandleMarkerImageLeftProperty = BindableProperty.Create(nameof(SelectionHandleMarkerImageLeft), typeof(PropertyMap), typeof(TextEditor), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
+ public static readonly BindableProperty SelectionHandleMarkerImageLeftProperty = null;
+
+ internal static void SetInternalSelectionHandleMarkerImageLeftProperty(BindableObject bindable, object oldValue, object newValue)
{
var textEditor = (TextEditor)bindable;
if (newValue != null)
{
Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.SelectionHandleMarkerImageLeft, new Tizen.NUI.PropertyValue((PropertyMap)newValue));
}
- }),
- defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
+ }
+
+ internal static object GetInternalSelectionHandleMarkerImageLeftProperty(BindableObject bindable)
{
var textEditor = (TextEditor)bindable;
PropertyMap temp = new PropertyMap();
Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.SelectionHandleMarkerImageLeft).Get(temp);
return temp;
- }));
+ }
+
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
- public static readonly BindableProperty SelectionHandleMarkerImageRightProperty = BindableProperty.Create(nameof(SelectionHandleMarkerImageRight), typeof(PropertyMap), typeof(TextEditor), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
+ public static readonly BindableProperty SelectionHandleMarkerImageRightProperty = null;
+
+ internal static void SetInternalSelectionHandleMarkerImageRightProperty(BindableObject bindable, object oldValue, object newValue)
{
var textEditor = (TextEditor)bindable;
if (newValue != null)
{
Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.SelectionHandleMarkerImageRight, new Tizen.NUI.PropertyValue((PropertyMap)newValue));
}
- }),
- defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
+ }
+
+ internal static object GetInternalSelectionHandleMarkerImageRightProperty(BindableObject bindable)
{
var textEditor = (TextEditor)bindable;
PropertyMap temp = new PropertyMap();
Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.SelectionHandleMarkerImageRight).Get(temp);
return temp;
- }));
+ }
+
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
- public static readonly BindableProperty SelectionHighlightColorProperty = BindableProperty.Create(nameof(SelectionHighlightColor), typeof(Vector4), typeof(TextEditor), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
+ public static readonly BindableProperty SelectionHighlightColorProperty = null;
+
+ internal static void SetInternalSelectionHighlightColorProperty(BindableObject bindable, object oldValue, object newValue)
{
var textEditor = (TextEditor)bindable;
if (newValue != null)
Object.InternalSetPropertyVector4(textEditor.SwigCPtr, TextEditor.Property.SelectionHighlightColor, ((Vector4)newValue).SwigCPtr);
}
- }),
- defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
+ }
+
+ internal static object GetInternalSelectionHighlightColorProperty(BindableObject bindable)
{
var textEditor = (TextEditor)bindable;
}
Object.InternalRetrievingPropertyVector4(textEditor.SwigCPtr, TextEditor.Property.SelectionHighlightColor, textEditor.internalSelectionHighlightColor.SwigCPtr);
return textEditor.internalSelectionHighlightColor;
- }));
+ }
+
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
- public static readonly BindableProperty DecorationBoundingBoxProperty = BindableProperty.Create(nameof(DecorationBoundingBox), typeof(Rectangle), typeof(TextEditor), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
+ public static readonly BindableProperty DecorationBoundingBoxProperty = null;
+
+ internal static void SetInternalDecorationBoundingBoxProperty(BindableObject bindable, object oldValue, object newValue)
{
var textEditor = (TextEditor)bindable;
if (newValue != null)
{
Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.DecorationBoundingBox, new Tizen.NUI.PropertyValue((Rectangle)newValue));
}
- }),
- defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
+ }
+
+ internal static object GetInternalDecorationBoundingBoxProperty(BindableObject bindable)
{
var textEditor = (TextEditor)bindable;
Rectangle temp = new Rectangle(0, 0, 0, 0);
Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.DecorationBoundingBox).Get(temp);
return temp;
- }));
+ }
+
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
- public static readonly BindableProperty EnableMarkupProperty = BindableProperty.Create(nameof(EnableMarkup), typeof(bool), typeof(TextEditor), false, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
+ public static readonly BindableProperty EnableMarkupProperty = null;
+
+ internal static void SetInternalEnableMarkupProperty(BindableObject bindable, object oldValue, object newValue)
{
var textEditor = (TextEditor)bindable;
if (newValue != null)
Object.InternalSetPropertyBool(textEditor.SwigCPtr, TextEditor.Property.EnableMarkup, (bool)newValue);
}
- }),
- defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
+ }
+
+ internal static object GetInternalEnableMarkupProperty(BindableObject bindable)
{
var textEditor = (TextEditor)bindable;
return Object.InternalGetPropertyBool(textEditor.SwigCPtr, TextEditor.Property.EnableMarkup);
- }));
+ }
+
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
- public static readonly BindableProperty InputColorProperty = BindableProperty.Create(nameof(InputColor), typeof(Vector4), typeof(TextEditor), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
+ public static readonly BindableProperty InputColorProperty = null;
+
+ internal static void SetInternalInputColorProperty(BindableObject bindable, object oldValue, object newValue)
{
var textEditor = (TextEditor)bindable;
if (newValue != null)
Object.InternalSetPropertyVector4(textEditor.SwigCPtr, TextEditor.Property.InputColor, ((Vector4)newValue).SwigCPtr);
}
- }),
- defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
+ }
+
+ internal static object GetInternalInputColorProperty(BindableObject bindable)
{
var textEditor = (TextEditor)bindable;
}
Object.InternalRetrievingPropertyVector4(textEditor.SwigCPtr, TextEditor.Property.InputColor, textEditor.internalInputColor.SwigCPtr);
return textEditor.internalInputColor;
- }));
+ }
+
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
- public static readonly BindableProperty InputFontFamilyProperty = BindableProperty.Create(nameof(InputFontFamily), typeof(string), typeof(TextEditor), string.Empty, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
+ public static readonly BindableProperty InputFontFamilyProperty = null;
+
+ internal static void SetInternalInputFontFamilyProperty(BindableObject bindable, object oldValue, object newValue)
{
var textEditor = (TextEditor)bindable;
if (newValue != null)
Object.InternalSetPropertyString(textEditor.SwigCPtr, TextEditor.Property.InputFontFamily, (string)newValue);
}
- }),
- defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
+ }
+
+ internal static object GetInternalInputFontFamilyProperty(BindableObject bindable)
{
var textEditor = (TextEditor)bindable;
return Object.InternalGetPropertyString(textEditor.SwigCPtr, TextEditor.Property.InputFontFamily);
- }));
+ }
+
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
- public static readonly BindableProperty InputFontStyleProperty = BindableProperty.Create(nameof(InputFontStyle), typeof(PropertyMap), typeof(TextEditor), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
+ public static readonly BindableProperty InputFontStyleProperty = null;
+
+ internal static void SetInternalInputFontStyleProperty(BindableObject bindable, object oldValue, object newValue)
{
var textEditor = (TextEditor)bindable;
if (newValue != null)
{
Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.InputFontStyle, new Tizen.NUI.PropertyValue((PropertyMap)newValue));
}
- }),
- defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
+ }
+
+ internal static object GetInternalInputFontStyleProperty(BindableObject bindable)
{
var textEditor = (TextEditor)bindable;
PropertyMap temp = new PropertyMap();
Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.InputFontStyle).Get(temp);
return temp;
- }));
+ }
+
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
- public static readonly BindableProperty InputPointSizeProperty = BindableProperty.Create(nameof(InputPointSize), typeof(float), typeof(TextEditor), default(float), propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
+ public static readonly BindableProperty InputPointSizeProperty = null;
+
+ internal static void SetInternalInputPointSizeProperty(BindableObject bindable, object oldValue, object newValue)
{
var textEditor = (TextEditor)bindable;
if (newValue != null)
Object.InternalSetPropertyFloat(textEditor.SwigCPtr, TextEditor.Property.InputPointSize, (float)newValue);
}
- }),
- defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
+ }
+
+ internal static object GetInternalInputPointSizeProperty(BindableObject bindable)
{
var textEditor = (TextEditor)bindable;
return Object.InternalGetPropertyFloat(textEditor.SwigCPtr, TextEditor.Property.InputPointSize);
- }));
+ }
+
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
- public static readonly BindableProperty LineSpacingProperty = BindableProperty.Create(nameof(LineSpacing), typeof(float), typeof(TextEditor), default(float), propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
+ public static readonly BindableProperty LineSpacingProperty = null;
+
+ internal static void SetInternalLineSpacingProperty(BindableObject bindable, object oldValue, object newValue)
{
var textEditor = (TextEditor)bindable;
if (newValue != null)
Object.InternalSetPropertyFloat(textEditor.SwigCPtr, TextEditor.Property.LineSpacing, (float)newValue);
}
- }),
- defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
+ }
+
+ internal static object GetInternalLineSpacingProperty(BindableObject bindable)
{
var textEditor = (TextEditor)bindable;
return Object.InternalGetPropertyFloat(textEditor.SwigCPtr, TextEditor.Property.LineSpacing);
- }));
+ }
+
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
- public static readonly BindableProperty InputLineSpacingProperty = BindableProperty.Create(nameof(InputLineSpacing), typeof(float), typeof(TextEditor), default(float), propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
+ public static readonly BindableProperty InputLineSpacingProperty = null;
+
+ internal static void SetInternalInputLineSpacingProperty(BindableObject bindable, object oldValue, object newValue)
{
var textEditor = (TextEditor)bindable;
if (newValue != null)
Object.InternalSetPropertyFloat(textEditor.SwigCPtr, TextEditor.Property.InputLineSpacing, (float)newValue);
}
- }),
- defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
+ }
+
+ internal static object GetInternalInputLineSpacingProperty(BindableObject bindable)
{
var textEditor = (TextEditor)bindable;
return Object.InternalGetPropertyFloat(textEditor.SwigCPtr, TextEditor.Property.InputLineSpacing);
- }));
+ }
+
[EditorBrowsable(EditorBrowsableState.Never)]
- public static readonly BindableProperty RelativeLineHeightProperty = BindableProperty.Create(nameof(RelativeLineHeight), typeof(float), typeof(TextEditor), default(float), propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
+ public static readonly BindableProperty RelativeLineHeightProperty = null;
+
+ internal static void SetInternalRelativeLineHeightProperty(BindableObject bindable, object oldValue, object newValue)
{
var textEditor = (TextEditor)bindable;
if (newValue != null)
Object.InternalSetPropertyFloat(textEditor.SwigCPtr, TextEditor.Property.RelativeLineHeight, (float)newValue);
}
- }),
- defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
+ }
+
+ internal static object GetInternalRelativeLineHeightProperty(BindableObject bindable)
{
var textEditor = (TextEditor)bindable;
return Object.InternalGetPropertyFloat(textEditor.SwigCPtr, TextEditor.Property.RelativeLineHeight);
- }));
+ }
+
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
- public static readonly BindableProperty UnderlineProperty = BindableProperty.Create(nameof(Underline), typeof(PropertyMap), typeof(TextEditor), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
+ public static readonly BindableProperty UnderlineProperty = null;
+
+ internal static void SetInternalUnderlineProperty(BindableObject bindable, object oldValue, object newValue)
{
var textEditor = (TextEditor)bindable;
if (newValue != null)
{
Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.UNDERLINE, new Tizen.NUI.PropertyValue((PropertyMap)newValue));
}
- }),
- defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
+ }
+
+ internal static object GetInternalUnderlineProperty(BindableObject bindable)
{
var textEditor = (TextEditor)bindable;
PropertyMap temp = new PropertyMap();
Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.UNDERLINE).Get(temp);
return temp;
- }));
+ }
+
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
- public static readonly BindableProperty InputUnderlineProperty = BindableProperty.Create(nameof(InputUnderline), typeof(string), typeof(TextEditor), string.Empty, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
+ public static readonly BindableProperty InputUnderlineProperty = null;
+
+ internal static void SetInternalInputUnderlineProperty(BindableObject bindable, object oldValue, object newValue)
{
var textEditor = (TextEditor)bindable;
if (newValue != null)
Object.InternalSetPropertyString(textEditor.SwigCPtr, TextEditor.Property.InputUnderline, (string)newValue);
}
- }),
- defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
+ }
+
+ internal static object GetInternalInputUnderlineProperty(BindableObject bindable)
{
var textEditor = (TextEditor)bindable;
return Object.InternalGetPropertyString(textEditor.SwigCPtr, TextEditor.Property.InputUnderline);
- }));
+ }
+
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
- public static readonly BindableProperty ShadowProperty = BindableProperty.Create(nameof(Shadow), typeof(PropertyMap), typeof(TextEditor), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
+ public static readonly BindableProperty ShadowProperty = null;
+
+ internal static void SetInternalShadowProperty(BindableObject bindable, object oldValue, object newValue)
{
var textEditor = (TextEditor)bindable;
if (newValue != null)
{
Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.SHADOW, new Tizen.NUI.PropertyValue((PropertyMap)newValue));
}
- }),
- defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
+ }
+
+ internal static object GetInternalShadowProperty(BindableObject bindable)
{
var textEditor = (TextEditor)bindable;
PropertyMap temp = new PropertyMap();
Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.SHADOW).Get(temp);
return temp;
- }));
+ }
+
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
- public static readonly BindableProperty InputShadowProperty = BindableProperty.Create(nameof(InputShadow), typeof(string), typeof(TextEditor), string.Empty, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
+ public static readonly BindableProperty InputShadowProperty = null;
+
+ internal static void SetInternalInputShadowProperty(BindableObject bindable, object oldValue, object newValue)
{
var textEditor = (TextEditor)bindable;
if (newValue != null)
Object.InternalSetPropertyString(textEditor.SwigCPtr, TextEditor.Property.InputShadow, (string)newValue);
}
- }),
- defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
+ }
+
+ internal static object GetInternalInputShadowProperty(BindableObject bindable)
{
var textEditor = (TextEditor)bindable;
return Object.InternalGetPropertyString(textEditor.SwigCPtr, TextEditor.Property.InputShadow);
- }));
+ }
+
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
- public static readonly BindableProperty EmbossProperty = BindableProperty.Create(nameof(Emboss), typeof(string), typeof(TextEditor), string.Empty, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
+ public static readonly BindableProperty EmbossProperty = null;
+
+ internal static void SetInternalEmbossProperty(BindableObject bindable, object oldValue, object newValue)
{
var textEditor = (TextEditor)bindable;
if (newValue != null)
Object.InternalSetPropertyString(textEditor.SwigCPtr, TextEditor.Property.EMBOSS, (string)newValue);
}
- }),
- defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
+ }
+
+ internal static object GetInternalEmbossProperty(BindableObject bindable)
{
var textEditor = (TextEditor)bindable;
return Object.InternalGetPropertyString(textEditor.SwigCPtr, TextEditor.Property.EMBOSS);
- }));
+ }
+
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
- public static readonly BindableProperty InputEmbossProperty = BindableProperty.Create(nameof(InputEmboss), typeof(string), typeof(TextEditor), string.Empty, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
+ public static readonly BindableProperty InputEmbossProperty = null;
+
+ internal static void SetInternalInputEmbossProperty(BindableObject bindable, object oldValue, object newValue)
{
var textEditor = (TextEditor)bindable;
if (newValue != null)
Object.InternalSetPropertyString(textEditor.SwigCPtr, TextEditor.Property.InputEmboss, (string)newValue);
}
- }),
- defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
+ }
+
+ internal static object GetInternalInputEmbossProperty(BindableObject bindable)
{
var textEditor = (TextEditor)bindable;
return Object.InternalGetPropertyString(textEditor.SwigCPtr, TextEditor.Property.InputEmboss);
- }));
+ }
+
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
- public static readonly BindableProperty OutlineProperty = BindableProperty.Create(nameof(Outline), typeof(PropertyMap), typeof(TextEditor), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
+ public static readonly BindableProperty OutlineProperty = null;
+
+ internal static void SetInternalOutlineProperty(BindableObject bindable, object oldValue, object newValue)
{
var textEditor = (TextEditor)bindable;
if (newValue != null)
{
Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.OUTLINE, new Tizen.NUI.PropertyValue((PropertyMap)newValue));
}
- }),
- defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
+ }
+
+ internal static object GetInternalOutlineProperty(BindableObject bindable)
{
var textEditor = (TextEditor)bindable;
PropertyMap temp = new PropertyMap();
Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.OUTLINE).Get(temp);
return temp;
- }));
+ }
+
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
- public static readonly BindableProperty InputOutlineProperty = BindableProperty.Create(nameof(InputOutline), typeof(string), typeof(TextEditor), string.Empty, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
+ public static readonly BindableProperty InputOutlineProperty = null;
+
+ internal static void SetInternalInputOutlineProperty(BindableObject bindable, object oldValue, object newValue)
{
var textEditor = (TextEditor)bindable;
if (newValue != null)
Object.InternalSetPropertyString(textEditor.SwigCPtr, TextEditor.Property.InputOutline, (string)newValue);
}
- }),
- defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
+ }
+
+ internal static object GetInternalInputOutlineProperty(BindableObject bindable)
{
var textEditor = (TextEditor)bindable;
return Object.InternalGetPropertyString(textEditor.SwigCPtr, TextEditor.Property.InputOutline);
- }));
+ }
+
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
- public static readonly BindableProperty SmoothScrollProperty = BindableProperty.Create(nameof(SmoothScroll), typeof(bool), typeof(TextEditor), false, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
+ public static readonly BindableProperty SmoothScrollProperty = null;
+
+ internal static void SetInternalSmoothScrollProperty(BindableObject bindable, object oldValue, object newValue)
{
var textEditor = (TextEditor)bindable;
if (newValue != null)
Object.InternalSetPropertyBool(textEditor.SwigCPtr, TextEditor.Property.SmoothScroll, (bool)newValue);
}
- }),
- defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
+ }
+
+ internal static object GetInternalSmoothScrollProperty(BindableObject bindable)
{
var textEditor = (TextEditor)bindable;
return Object.InternalGetPropertyBool(textEditor.SwigCPtr, TextEditor.Property.SmoothScroll);
- }));
+ }
+
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
- public static readonly BindableProperty SmoothScrollDurationProperty = BindableProperty.Create(nameof(SmoothScrollDuration), typeof(float), typeof(TextEditor), default(float), propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
+ public static readonly BindableProperty SmoothScrollDurationProperty = null;
+
+ internal static void SetInternalSmoothScrollDurationProperty(BindableObject bindable, object oldValue, object newValue)
{
var textEditor = (TextEditor)bindable;
if (newValue != null)
Object.InternalSetPropertyFloat(textEditor.SwigCPtr, TextEditor.Property.SmoothScrollDuration, (float)newValue);
}
- }),
- defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
+ }
+
+ internal static object GetInternalSmoothScrollDurationProperty(BindableObject bindable)
{
var textEditor = (TextEditor)bindable;
return Object.InternalGetPropertyFloat(textEditor.SwigCPtr, TextEditor.Property.SmoothScrollDuration);
- }));
+ }
+
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
- public static readonly BindableProperty EnableScrollBarProperty = BindableProperty.Create(nameof(EnableScrollBar), typeof(bool), typeof(TextEditor), false, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
+ public static readonly BindableProperty EnableScrollBarProperty = null;
+
+ internal static void SetInternalEnableScrollBarProperty(BindableObject bindable, object oldValue, object newValue)
{
var textEditor = (TextEditor)bindable;
if (newValue != null)
Object.InternalSetPropertyBool(textEditor.SwigCPtr, TextEditor.Property.EnableScrollBar, (bool)newValue);
}
- }),
- defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
+ }
+
+ internal static object GetInternalEnableScrollBarProperty(BindableObject bindable)
{
var textEditor = (TextEditor)bindable;
return Object.InternalGetPropertyBool(textEditor.SwigCPtr, TextEditor.Property.EnableScrollBar);
- }));
+ }
+
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
- public static readonly BindableProperty ScrollBarShowDurationProperty = BindableProperty.Create(nameof(ScrollBarShowDuration), typeof(float), typeof(TextEditor), default(float), propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
+ public static readonly BindableProperty ScrollBarShowDurationProperty = null;
+
+ internal static void SetInternalScrollBarShowDurationProperty(BindableObject bindable, object oldValue, object newValue)
{
var textEditor = (TextEditor)bindable;
if (newValue != null)
Object.InternalSetPropertyFloat(textEditor.SwigCPtr, TextEditor.Property.ScrollBarShowDuration, (float)newValue);
}
- }),
- defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
+ }
+
+ internal static object GetInternalScrollBarShowDurationProperty(BindableObject bindable)
{
var textEditor = (TextEditor)bindable;
return Object.InternalGetPropertyFloat(textEditor.SwigCPtr, TextEditor.Property.ScrollBarShowDuration);
- }));
+ }
+
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
- public static readonly BindableProperty ScrollBarFadeDurationProperty = BindableProperty.Create(nameof(ScrollBarFadeDuration), typeof(float), typeof(TextEditor), default(float), propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
+ public static readonly BindableProperty ScrollBarFadeDurationProperty = null;
+
+ internal static void SetInternalScrollBarFadeDurationProperty(BindableObject bindable, object oldValue, object newValue)
{
var textEditor = (TextEditor)bindable;
if (newValue != null)
Object.InternalSetPropertyFloat(textEditor.SwigCPtr, TextEditor.Property.ScrollBarFadeDuration, (float)newValue);
}
- }),
- defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
+ }
+
+ internal static object GetInternalScrollBarFadeDurationProperty(BindableObject bindable)
{
var textEditor = (TextEditor)bindable;
return Object.InternalGetPropertyFloat(textEditor.SwigCPtr, TextEditor.Property.ScrollBarFadeDuration);
- }));
+ }
+
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
- public static readonly BindableProperty PixelSizeProperty = BindableProperty.Create(nameof(PixelSize), typeof(float), typeof(TextEditor), default(float), propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
+ public static readonly BindableProperty PixelSizeProperty = null;
+
+ internal static void SetInternalPixelSizeProperty(BindableObject bindable, object oldValue, object newValue)
{
var textEditor = (TextEditor)bindable;
if (newValue != null)
Object.InternalSetPropertyFloat(textEditor.SwigCPtr, TextEditor.Property.PixelSize, (float)newValue);
}
- }),
- defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
+ }
+
+ internal static object GetInternalPixelSizeProperty(BindableObject bindable)
{
var textEditor = (TextEditor)bindable;
return Object.InternalGetPropertyFloat(textEditor.SwigCPtr, TextEditor.Property.PixelSize);
- }));
+ }
+
/// This will be public opened in tizen_5.0 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(TextEditor), string.Empty, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
+ public static readonly BindableProperty PlaceholderTextProperty = null;
+
+ internal static void SetInternalPlaceholderTextProperty(BindableObject bindable, object oldValue, object newValue)
{
var textEditor = (TextEditor)bindable;
if (newValue != null)
Object.InternalSetPropertyString(textEditor.SwigCPtr, TextEditor.Property.PlaceholderText, (string)newValue);
}
- }),
- defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
+ }
+
+ internal static object GetInternalPlaceholderTextProperty(BindableObject bindable)
{
var textEditor = (TextEditor)bindable;
return Object.InternalGetPropertyString(textEditor.SwigCPtr, TextEditor.Property.PlaceholderText);
- }));
+ }
+
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
- public static readonly BindableProperty PlaceholderTextColorProperty = BindableProperty.Create(nameof(PlaceholderTextColor), typeof(Color), typeof(TextEditor), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
+ public static readonly BindableProperty PlaceholderTextColorProperty = null;
+
+ internal static void SetInternalPlaceholderTextColorProperty(BindableObject bindable, object oldValue, object newValue)
{
var textEditor = (TextEditor)bindable;
if (newValue != null)
Object.InternalSetPropertyVector4(textEditor.SwigCPtr, TextEditor.Property.PlaceholderTextColor, ((Color)newValue).SwigCPtr);
}
- }),
- defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
+ }
+
+ internal static object GetInternalPlaceholderTextColorProperty(BindableObject bindable)
{
var textEditor = (TextEditor)bindable;
}
Object.InternalRetrievingPropertyVector4(textEditor.SwigCPtr, TextEditor.Property.PlaceholderTextColor, textEditor.internalPlaceholderTextColor.SwigCPtr);
return textEditor.internalPlaceholderTextColor;
- }));
+ }
+
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
- public static readonly BindableProperty EnableSelectionProperty = BindableProperty.Create(nameof(EnableSelection), typeof(bool), typeof(TextEditor), false, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
+ public static readonly BindableProperty EnableSelectionProperty = null;
+
+ internal static void SetInternalEnableSelectionProperty(BindableObject bindable, object oldValue, object newValue)
{
var textEditor = (TextEditor)bindable;
if (newValue != null)
Object.InternalSetPropertyBool(textEditor.SwigCPtr, TextEditor.Property.EnableSelection, (bool)newValue);
}
- }),
- defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
+ }
+
+ internal static object GetInternalEnableSelectionProperty(BindableObject bindable)
{
var textEditor = (TextEditor)bindable;
return Object.InternalGetPropertyBool(textEditor.SwigCPtr, TextEditor.Property.EnableSelection);
- }));
+ }
+
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
- public static readonly BindableProperty PlaceholderProperty = BindableProperty.Create(nameof(Placeholder), typeof(PropertyMap), typeof(TextEditor), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
+ public static readonly BindableProperty PlaceholderProperty = null;
+
+ internal static void SetInternalPlaceholderProperty(BindableObject bindable, object oldValue, object newValue)
{
var textEditor = (TextEditor)bindable;
if (newValue != null)
{
Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.PLACEHOLDER, new Tizen.NUI.PropertyValue((PropertyMap)newValue));
}
- }),
- defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
+ }
+
+ internal static object GetInternalPlaceholderProperty(BindableObject bindable)
{
var textEditor = (TextEditor)bindable;
Tizen.NUI.PropertyMap temp = new Tizen.NUI.PropertyMap();
Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.PLACEHOLDER).Get(temp);
return temp;
- }));
+ }
+
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
- public static readonly BindableProperty LineWrapModeProperty = BindableProperty.Create(nameof(LineWrapMode), typeof(LineWrapMode), typeof(TextEditor), LineWrapMode.Word, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
+ public static readonly BindableProperty LineWrapModeProperty = null;
+
+ internal static void SetInternalLineWrapModeProperty(BindableObject bindable, object oldValue, object newValue)
{
var textEditor = (TextEditor)bindable;
if (newValue != null)
Object.InternalSetPropertyInt(textEditor.SwigCPtr, TextEditor.Property.LineWrapMode, (int)newValue);
}
- }),
- defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
+ }
+
+ internal static object GetInternalLineWrapModeProperty(BindableObject bindable)
{
var textEditor = (TextEditor)bindable;
return Object.InternalGetPropertyInt(textEditor.SwigCPtr, TextEditor.Property.LineWrapMode);
- }));
+ }
+
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
- public static readonly BindableProperty EnableShiftSelectionProperty = BindableProperty.Create(nameof(TextEditor.EnableShiftSelection), typeof(bool), typeof(TextEditor), true, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
+ public static readonly BindableProperty EnableShiftSelectionProperty = null;
+
+ internal static void SetInternalEnableShiftSelectionProperty(BindableObject bindable, object oldValue, object newValue)
{
var textEditor = (TextEditor)bindable;
if (newValue != null)
Object.InternalSetPropertyBool(textEditor.SwigCPtr, TextEditor.Property.EnableShiftSelection, (bool)newValue);
}
- }),
- defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
+ }
+
+ internal static object GetInternalEnableShiftSelectionProperty(BindableObject bindable)
{
var textEditor = (TextEditor)bindable;
//textEditor.mShiftSelectionFlag(true);
return Object.InternalGetPropertyBool(textEditor.SwigCPtr, TextEditor.Property.EnableShiftSelection);
- }));
+ }
+
/// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
- public static readonly BindableProperty MatchSystemLanguageDirectionProperty = BindableProperty.Create(nameof(TextEditor.MatchSystemLanguageDirection), typeof(bool), typeof(TextEditor), false, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
+ public static readonly BindableProperty MatchSystemLanguageDirectionProperty = null;
+
+ internal static void SetInternalMatchSystemLanguageDirectionProperty(BindableObject bindable, object oldValue, object newValue)
{
var textEditor = (TextEditor)bindable;
if (newValue != null)
Object.InternalSetPropertyBool(textEditor.SwigCPtr, TextEditor.Property.MatchSystemLanguageDirection, (bool)newValue);
}
- }),
- defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
+ }
+
+ internal static object GetInternalMatchSystemLanguageDirectionProperty(BindableObject bindable)
{
var textEditor = (TextEditor)bindable;
return Object.InternalGetPropertyBool(textEditor.SwigCPtr, TextEditor.Property.MatchSystemLanguageDirection);
- }));
+ }
+
/// This will be public opened in tizen_6.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(TextEditor), default(int), propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
+ public static readonly BindableProperty MaxLengthProperty = null;
+
+ internal static void SetInternalMaxLengthProperty(BindableObject bindable, object oldValue, object newValue)
{
var textEditor = (TextEditor)bindable;
if (newValue != null)
Object.InternalSetPropertyInt(textEditor.SwigCPtr, TextEditor.Property.MaxLength, (int)newValue);
}
- }),
- defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
+ }
+
+ internal static object GetInternalMaxLengthProperty(BindableObject bindable)
{
var textEditor = (TextEditor)bindable;
return Object.InternalGetPropertyInt(textEditor.SwigCPtr, TextEditor.Property.MaxLength);
- }));
+ }
+
[EditorBrowsable(EditorBrowsableState.Never)]
- public static readonly BindableProperty FontSizeScaleProperty = BindableProperty.Create(nameof(FontSizeScale), typeof(float), typeof(TextEditor), default(float), propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
+ public static readonly BindableProperty FontSizeScaleProperty = null;
+
+ internal static void SetInternalFontSizeScaleProperty(BindableObject bindable, object oldValue, object newValue)
{
var textEditor = (TextEditor)bindable;
if (newValue != null)
{
textEditor.InternalFontSizeScale = (float)newValue;
}
- }),
- defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
+ }
+
+ internal static object GetInternalFontSizeScaleProperty(BindableObject bindable)
{
var textEditor = (TextEditor)bindable;
return textEditor.InternalFontSizeScale;
- }));
+ }
+
[EditorBrowsable(EditorBrowsableState.Never)]
- public static readonly BindableProperty EnableFontSizeScaleProperty = BindableProperty.Create(nameof(EnableFontSizeScale), typeof(bool), typeof(TextEditor), default(bool), propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
+ public static readonly BindableProperty EnableFontSizeScaleProperty = null;
+
+ internal static void SetInternalEnableFontSizeScaleProperty(BindableObject bindable, object oldValue, object newValue)
{
var textEditor = (TextEditor)bindable;
if (newValue != null)
Object.InternalSetPropertyBool(textEditor.SwigCPtr, TextEditor.Property.EnableFontSizeScale, (bool)newValue);
}
- }),
- defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
+ }
+
+ internal static object GetInternalEnableFontSizeScaleProperty(BindableObject bindable)
{
var textEditor = (TextEditor)bindable;
return Object.InternalGetPropertyBool(textEditor.SwigCPtr, TextEditor.Property.EnableFontSizeScale);
- }));
+ }
/// This will be public opened in tizen_6.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
- public static readonly BindableProperty GrabHandleColorProperty = BindableProperty.Create(nameof(GrabHandleColor), typeof(Color), typeof(TextEditor), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
+ public static readonly BindableProperty GrabHandleColorProperty = null;
+
+ internal static void SetInternalGrabHandleColorProperty(BindableObject bindable, object oldValue, object newValue)
{
var textEditor = (TextEditor)bindable;
if (newValue != null)
Object.InternalSetPropertyVector4(textEditor.SwigCPtr, TextEditor.Property.GrabHandleColor, ((Color)newValue).SwigCPtr);
}
- }),
- defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
+ }
+
+ internal static object GetInternalGrabHandleColorProperty(BindableObject bindable)
{
var textEditor = (TextEditor)bindable;
}
Object.InternalRetrievingPropertyVector4(textEditor.SwigCPtr, TextEditor.Property.GrabHandleColor, textEditor.internalGrabHandleColor.SwigCPtr);
return textEditor.internalGrabHandleColor;
- }));
+ }
+
[EditorBrowsable(EditorBrowsableState.Never)]
- public static readonly BindableProperty EnableGrabHandleProperty = BindableProperty.Create(nameof(TextEditor.EnableGrabHandle), typeof(bool), typeof(TextEditor), true, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
+ public static readonly BindableProperty EnableGrabHandleProperty = null;
+
+ internal static void SetInternalEnableGrabHandleProperty(BindableObject bindable, object oldValue, object newValue)
{
var textEditor = (TextEditor)bindable;
if (newValue != null)
Object.InternalSetPropertyBool(textEditor.SwigCPtr, TextEditor.Property.EnableGrabHandle, (bool)newValue);
}
- }),
- defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
+ }
+
+ internal static object GetInternalEnableGrabHandleProperty(BindableObject bindable)
{
var textEditor = (TextEditor)bindable;
return Object.InternalGetPropertyBool(textEditor.SwigCPtr, TextEditor.Property.EnableGrabHandle);
- }));
-
+ }
+
[EditorBrowsable(EditorBrowsableState.Never)]
- public static readonly BindableProperty EnableGrabHandlePopupProperty = BindableProperty.Create(nameof(TextEditor.EnableGrabHandlePopup), typeof(bool), typeof(TextEditor), true, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
+ public static readonly BindableProperty EnableGrabHandlePopupProperty = null;
+
+ internal static void SetInternalEnableGrabHandlePopupProperty(BindableObject bindable, object oldValue, object newValue)
{
var textEditor = (TextEditor)bindable;
if (newValue != null)
Object.InternalSetPropertyBool(textEditor.SwigCPtr, TextEditor.Property.EnableGrabHandlePopup, (bool)newValue);
}
- }),
- defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
+ }
+
+ internal static object GetInternalEnableGrabHandlePopupProperty(BindableObject bindable)
{
var textEditor = (TextEditor)bindable;
return Object.InternalGetPropertyBool(textEditor.SwigCPtr, TextEditor.Property.EnableGrabHandlePopup);
- }));
+ }
[EditorBrowsable(EditorBrowsableState.Never)]
- public static readonly BindableProperty InputMethodSettingsProperty = BindableProperty.Create(nameof(TextEditor.InputMethodSettings), typeof(PropertyMap), typeof(TextEditor), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
+ public static readonly BindableProperty InputMethodSettingsProperty = null;
+
+ internal static void SetInternalInputMethodSettingsProperty(BindableObject bindable, object oldValue, object newValue)
{
var textEditor = (TextEditor)bindable;
if (newValue != null)
{
Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.InputMethodSettings, new Tizen.NUI.PropertyValue((PropertyMap)newValue));
}
- }),
- defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
+ }
+
+ internal static object GetInternalInputMethodSettingsProperty(BindableObject bindable)
{
var textEditor = (TextEditor)bindable;
PropertyMap temp = new PropertyMap();
Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.InputMethodSettings).Get(temp);
return temp;
- }));
+ }
+
/// This will be public opened in tizen_6.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
- public static readonly BindableProperty EllipsisProperty = BindableProperty.Create(nameof(TextEditor.Ellipsis), typeof(bool), typeof(TextEditor), false, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
+ public static readonly BindableProperty EllipsisProperty = null;
+
+ internal static void SetInternalEllipsisProperty(BindableObject bindable, object oldValue, object newValue)
{
var textEditor = (TextEditor)bindable;
if (newValue != null)
Object.InternalSetPropertyBool(textEditor.SwigCPtr, TextEditor.Property.ELLIPSIS, (bool)newValue);
}
- }),
- defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
+ }
+
+ internal static object GetInternalEllipsisProperty(BindableObject bindable)
{
var textEditor = (TextEditor)bindable;
return Object.InternalGetPropertyBool(textEditor.SwigCPtr, TextEditor.Property.ELLIPSIS);
- }));
+ }
+
/// This will be public opened in tizen_6.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
- public static readonly BindableProperty EllipsisPositionProperty = BindableProperty.Create(nameof(EllipsisPosition), typeof(EllipsisPosition), typeof(TextEditor), EllipsisPosition.End, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
+ public static readonly BindableProperty EllipsisPositionProperty = null;
+
+ internal static void SetInternalEllipsisPositionProperty(BindableObject bindable, object oldValue, object newValue)
{
var textEditor = (TextEditor)bindable;
if (newValue != null)
Object.InternalSetPropertyInt(textEditor.SwigCPtr, TextEditor.Property.EllipsisPosition, (int)newValue);
}
- }),
- defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
+ }
+
+ internal static object GetInternalEllipsisPositionProperty(BindableObject bindable)
{
var textEditor = (TextEditor)bindable;
return Object.InternalGetPropertyInt(textEditor.SwigCPtr, TextEditor.Property.EllipsisPosition);
- }));
+ }
/// currently need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
- public static readonly BindableProperty MinLineSizeProperty = BindableProperty.Create(nameof(MinLineSize), typeof(float), typeof(TextEditor), default(float), propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
+ public static readonly BindableProperty MinLineSizeProperty = null;
+
+ internal static void SetInternalMinLineSizeProperty(BindableObject bindable, object oldValue, object newValue)
{
var textEditor = (TextEditor)bindable;
if (newValue != null)
Object.InternalSetPropertyFloat(textEditor.SwigCPtr, TextEditor.Property.MinLineSize, (float)newValue);
}
- }),
- defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
+ }
+
+ internal static object GetInternalMinLineSizeProperty(BindableObject bindable)
{
var textEditor = (TextEditor)bindable;
return Object.InternalGetPropertyFloat(textEditor.SwigCPtr, TextEditor.Property.MinLineSize);
- }));
+ }
/// <summary>
/// TranslatableTextProperty
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
- public static readonly BindableProperty TranslatableTextProperty = BindableProperty.Create(nameof(TranslatableText), typeof(string), typeof(Tizen.NUI.BaseComponents.TextEditor), string.Empty, propertyChanged: (bindable, oldValue, newValue) =>
+ public static readonly BindableProperty TranslatableTextProperty = null;
+
+ internal static void SetInternalTranslatableTextProperty(BindableObject bindable, object oldValue, object newValue)
{
var instance = (Tizen.NUI.BaseComponents.TextEditor)bindable;
if (newValue != null)
{
instance.InternalTranslatableText = (string)newValue;
}
- },
- defaultValueCreator: (bindable) =>
+ }
+
+ internal static object GetInternalTranslatableTextProperty(BindableObject bindable)
{
var instance = (Tizen.NUI.BaseComponents.TextEditor)bindable;
return instance.InternalTranslatableText;
- });
+ }
/// <summary>
/// TranslatablePlaceholderTextProperty
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
- public static readonly BindableProperty TranslatablePlaceholderTextProperty = BindableProperty.Create(nameof(TranslatablePlaceholderText), typeof(string), typeof(Tizen.NUI.BaseComponents.TextEditor), string.Empty, propertyChanged: (bindable, oldValue, newValue) =>
+ public static readonly BindableProperty TranslatablePlaceholderTextProperty = null;
+
+ internal static void SetInternalTranslatablePlaceholderTextProperty(BindableObject bindable, object oldValue, object newValue)
{
var instance = (Tizen.NUI.BaseComponents.TextEditor)bindable;
if (newValue != null)
{
instance.InternalTranslatablePlaceholderText = (string)newValue;
}
- },
- defaultValueCreator: (bindable) =>
+ }
+
+ internal static object GetInternalTranslatablePlaceholderTextProperty(BindableObject bindable)
{
var instance = (Tizen.NUI.BaseComponents.TextEditor)bindable;
return instance.InternalTranslatablePlaceholderText;
- });
+ }
/// <summary>
/// EnableEditingProperty
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
- public static readonly BindableProperty EnableEditingProperty = BindableProperty.Create(nameof(EnableEditing), typeof(bool), typeof(Tizen.NUI.BaseComponents.TextEditor), false, propertyChanged: (bindable, oldValue, newValue) =>
+ public static readonly BindableProperty EnableEditingProperty = null;
+
+ internal static void SetInternalEnableEditingProperty(BindableObject bindable, object oldValue, object newValue)
{
var instance = (Tizen.NUI.BaseComponents.TextEditor)bindable;
if (newValue != null)
{
instance.InternalEnableEditing = (bool)newValue;
}
- },
- defaultValueCreator: (bindable) =>
+ }
+
+ internal static object GetInternalEnableEditingProperty(BindableObject bindable)
{
var instance = (Tizen.NUI.BaseComponents.TextEditor)bindable;
return instance.InternalEnableEditing;
- });
+ }
/// <summary>
/// HorizontalScrollPositionProperty
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
- public static readonly BindableProperty HorizontalScrollPositionProperty = BindableProperty.Create(nameof(HorizontalScrollPosition), typeof(int), typeof(Tizen.NUI.BaseComponents.TextEditor), 0, propertyChanged: (bindable, oldValue, newValue) =>
+ public static readonly BindableProperty HorizontalScrollPositionProperty = null;
+
+ internal static void SetInternalHorizontalScrollPositionProperty(BindableObject bindable, object oldValue, object newValue)
{
var instance = (Tizen.NUI.BaseComponents.TextEditor)bindable;
if (newValue != null)
{
instance.InternalHorizontalScrollPosition = (int)newValue;
}
- },
- defaultValueCreator: (bindable) =>
+ }
+
+ internal static object GetInternalHorizontalScrollPositionProperty(BindableObject bindable)
{
var instance = (Tizen.NUI.BaseComponents.TextEditor)bindable;
return instance.InternalHorizontalScrollPosition;
- });
+ }
/// <summary>
/// VerticalScrollPositionProperty
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
- public static readonly BindableProperty VerticalScrollPositionProperty = BindableProperty.Create(nameof(VerticalScrollPosition), typeof(int), typeof(Tizen.NUI.BaseComponents.TextEditor), 0, propertyChanged: (bindable, oldValue, newValue) =>
+ public static readonly BindableProperty VerticalScrollPositionProperty = null;
+
+ internal static void SetInternalVerticalScrollPositionProperty(BindableObject bindable, object oldValue, object newValue)
{
var instance = (Tizen.NUI.BaseComponents.TextEditor)bindable;
if (newValue != null)
{
instance.InternalVerticalScrollPosition = (int)newValue;
}
- },
- defaultValueCreator: (bindable) =>
+ }
+
+ internal static object GetInternalVerticalScrollPositionProperty(BindableObject bindable)
{
var instance = (Tizen.NUI.BaseComponents.TextEditor)bindable;
return instance.InternalVerticalScrollPosition;
- });
+ }
/// <summary>
/// PrimaryCursorPositionProperty
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
- public static readonly BindableProperty PrimaryCursorPositionProperty = BindableProperty.Create(nameof(PrimaryCursorPosition), typeof(int), typeof(Tizen.NUI.BaseComponents.TextEditor), 0, propertyChanged: (bindable, oldValue, newValue) =>
+ public static readonly BindableProperty PrimaryCursorPositionProperty = null;
+
+ internal static void SetInternalPrimaryCursorPositionProperty(BindableObject bindable, object oldValue, object newValue)
{
var instance = (Tizen.NUI.BaseComponents.TextEditor)bindable;
if (newValue != null)
{
instance.InternalPrimaryCursorPosition = (int)newValue;
}
- },
- defaultValueCreator: (bindable) =>
+ }
+
+ internal static object GetInternalPrimaryCursorPositionProperty(BindableObject bindable)
{
var instance = (Tizen.NUI.BaseComponents.TextEditor)bindable;
return instance.InternalPrimaryCursorPosition;
- });
+ }
/// This will be public opened in tizen_6.5 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
- public static readonly BindableProperty CharacterSpacingProperty = BindableProperty.Create(nameof(CharacterSpacing), typeof(float), typeof(TextEditor), default(float), propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
+ public static readonly BindableProperty CharacterSpacingProperty = null;
+
+ internal static void SetInternalCharacterSpacingProperty(BindableObject bindable, object oldValue, object newValue)
{
var textEditor = (TextEditor)bindable;
if (newValue != null)
Object.InternalSetPropertyFloat(textEditor.SwigCPtr, TextEditor.Property.CharacterSpacing, (float)newValue);
}
- }),
- defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
+ }
+
+ internal static object GetInternalCharacterSpacingProperty(BindableObject bindable)
{
var textEditor = (TextEditor)bindable;
return Object.InternalGetPropertyFloat(textEditor.SwigCPtr, TextEditor.Property.CharacterSpacing);
- }));
+ }
}
}