[NUI.Components] Fix build warnings (#1233)
[platform/core/csapi/tizenfx.git] / src / Tizen.NUI / src / public / BaseComponents / Style / ViewStyle.cs
1 /*
2  * Copyright(c) 2019 Samsung Electronics Co., Ltd.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  *
16  */
17 using System;
18 using System.Collections.Generic;
19 using System.ComponentModel;
20 using Tizen.NUI.Binding;
21
22 namespace Tizen.NUI.BaseComponents
23 {
24     /// <summary>
25     /// The base class for Children attributes in Components.
26     /// </summary>
27     /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
28     [EditorBrowsable(EditorBrowsableState.Never)]
29     public class ViewStyle : BindableObject
30     {
31         private string styleName;
32         private string backgroundImage;
33         private View.States? state;
34         private View.States? subState;
35         private float? flex;
36         private int? alignSelf;
37         private Vector4 flexMargin;
38         private Vector2 cellIndex;
39         private float? rowSpan;
40         private float? columnSpan;
41         private HorizontalAlignmentType? cellHorizontalAlignment;
42         private VerticalAlignmentType? cellVerticalAlignment;
43         private View leftFocusableView;
44         private View rightFocusableView;
45         private View upFocusableView;
46         private View downFocusableView;
47         private bool? focusable;
48         private Size2D size2D;
49         private Position2D position2D;
50         private bool? positionUsesPivotPoint;
51         private int? siblingOrder;
52         private Position parentOrigin;
53         private Position pivotPoint;
54         private float? sizeWidth;
55         private float? sizeHeight;
56         private Position position;
57         private float? positionX;
58         private float? positionY;
59         private float? positionZ;
60         private Rotation orientation;
61         private Vector3 scale;
62         private float? scaleX;
63         private float? scaleY;
64         private float? scaleZ;
65         private string name;
66         private bool? sensitive;
67         private bool? leaveRequired;
68         private bool? inheritOrientation;
69         private bool? inheritScale;
70         private DrawModeType? drawMode;
71         private Vector3 sizeModeFactor;
72         private ResizePolicyType? widthResizePolicy;
73         private ResizePolicyType? heightResizePolicy;
74         private SizeScalePolicyType? sizeScalePolicy;
75         private bool? widthForHeight;
76         private bool? heightForWidth;
77         private Extents padding;
78         private Size2D minimumSize;
79         private Size2D maximumSize;
80         private bool? inheritPosition;
81         private ClippingModeType? clippingMode;
82         private Size size;
83         private bool? inheritLayoutDirection;
84         private ViewLayoutDirectionType? layoutDirection;
85         private Extents margin;
86         private float? weight;
87
88         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
89         [EditorBrowsable(EditorBrowsableState.Never)]
90         public static readonly BindableProperty StyleNameProperty = BindableProperty.Create(nameof(StyleName), typeof(string), typeof(ViewStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
91         {
92             var viewStyle = (ViewStyle)bindable;
93             viewStyle.styleName = (string)newValue;
94         },
95         defaultValueCreator: (bindable) =>
96         {
97             var viewStyle = (ViewStyle)bindable;
98             return viewStyle.styleName;
99         });
100         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
101         [EditorBrowsable(EditorBrowsableState.Never)]
102         public static readonly BindableProperty BackgroundImageSelectorProperty = BindableProperty.Create("BackgroundImageSelector", typeof(Selector<string>), typeof(ViewStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
103         {
104             var viewStyle = (ViewStyle)bindable;
105             if (null == viewStyle.backgroundImageSelector) viewStyle.backgroundImageSelector = new Selector<string>();
106             viewStyle.backgroundImageSelector.Clone((Selector<string>)newValue);
107         },
108         defaultValueCreator: (bindable) =>
109         {
110             var viewStyle = (ViewStyle)bindable;
111             return viewStyle.backgroundImageSelector;
112         });
113         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
114         [EditorBrowsable(EditorBrowsableState.Never)]
115         public static readonly BindableProperty StateProperty = BindableProperty.Create(nameof(State), typeof(View.States?), typeof(ViewStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
116         {
117             var viewStyle = (ViewStyle)bindable;
118             viewStyle.state = (View.States?)newValue;
119         },
120         defaultValueCreator: (bindable) =>
121         {
122             var viewStyle = (ViewStyle)bindable;
123             return viewStyle.state;
124         });
125         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
126         [EditorBrowsable(EditorBrowsableState.Never)]
127         public static readonly BindableProperty SubStateProperty = BindableProperty.Create(nameof(SubState), typeof(View.States?), typeof(ViewStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
128         {
129             var viewStyle = (ViewStyle)bindable;
130             viewStyle.subState = (View.States?)newValue;
131         },
132         defaultValueCreator: (bindable) =>
133         {
134             var viewStyle = (ViewStyle)bindable;
135             return viewStyle.subState;
136         });
137         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
138         [EditorBrowsable(EditorBrowsableState.Never)]
139         public static readonly BindableProperty FlexProperty = BindableProperty.Create(nameof(Flex), typeof(float?), typeof(ViewStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
140         {
141             var viewStyle = (ViewStyle)bindable;
142             viewStyle.flex = (float?)newValue;
143         },
144         defaultValueCreator: (bindable) =>
145         {
146             var viewStyle = (ViewStyle)bindable;
147             return viewStyle.flex;
148         });
149         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
150         [EditorBrowsable(EditorBrowsableState.Never)]
151         public static readonly BindableProperty AlignSelfProperty = BindableProperty.Create(nameof(AlignSelf), typeof(int?), typeof(ViewStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
152         {
153             var viewStyle = (ViewStyle)bindable;
154             viewStyle.alignSelf = (int?)newValue;
155         },
156         defaultValueCreator: (bindable) =>
157         {
158             var viewStyle = (ViewStyle)bindable;
159             return viewStyle.alignSelf;
160         });
161         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
162         [EditorBrowsable(EditorBrowsableState.Never)]
163         public static readonly BindableProperty FlexMarginProperty = BindableProperty.Create(nameof(FlexMargin), typeof(Vector4), typeof(ViewStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
164         {
165             var viewStyle = (ViewStyle)bindable;
166             viewStyle.flexMargin = (Vector4)newValue;
167         },
168         defaultValueCreator: (bindable) =>
169         {
170             var viewStyle = (ViewStyle)bindable;
171             return viewStyle.flexMargin;
172         });
173         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
174         [EditorBrowsable(EditorBrowsableState.Never)]
175         public static readonly BindableProperty CellIndexProperty = BindableProperty.Create(nameof(CellIndex), typeof(Vector2), typeof(ViewStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
176         {
177             var viewStyle = (ViewStyle)bindable;
178             viewStyle.cellIndex = (Vector2)newValue;
179         },
180         defaultValueCreator: (bindable) =>
181         {
182             var viewStyle = (ViewStyle)bindable;
183             return viewStyle.cellIndex;
184         });
185         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
186         [EditorBrowsable(EditorBrowsableState.Never)]
187         public static readonly BindableProperty RowSpanProperty = BindableProperty.Create(nameof(RowSpan), typeof(float?), typeof(ViewStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
188         {
189             var viewStyle = (ViewStyle)bindable;
190             viewStyle.rowSpan = (float?)newValue;
191         },
192         defaultValueCreator: (bindable) =>
193         {
194             var viewStyle = (ViewStyle)bindable;
195             return viewStyle.rowSpan;
196         });
197         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
198         [EditorBrowsable(EditorBrowsableState.Never)]
199         public static readonly BindableProperty ColumnSpanProperty = BindableProperty.Create(nameof(ColumnSpan), typeof(float?), typeof(ViewStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
200         {
201             var viewStyle = (ViewStyle)bindable;
202             viewStyle.columnSpan = (float?)newValue;
203         },
204         defaultValueCreator: (bindable) =>
205         {
206             var viewStyle = (ViewStyle)bindable;
207             return viewStyle.columnSpan;
208         });
209         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
210         [EditorBrowsable(EditorBrowsableState.Never)]
211         public static readonly BindableProperty CellHorizontalAlignmentProperty = BindableProperty.Create(nameof(CellHorizontalAlignment), typeof(HorizontalAlignmentType?), typeof(ViewStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
212         {
213             var viewStyle = (ViewStyle)bindable;
214             viewStyle.cellHorizontalAlignment = (HorizontalAlignmentType?)newValue;
215         },
216         defaultValueCreator: (bindable) =>
217         {
218             var viewStyle = (ViewStyle)bindable;
219             return viewStyle.cellHorizontalAlignment;
220         });
221         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
222         [EditorBrowsable(EditorBrowsableState.Never)]
223         public static readonly BindableProperty CellVerticalAlignmentProperty = BindableProperty.Create(nameof(CellVerticalAlignment), typeof(VerticalAlignmentType?), typeof(ViewStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
224         {
225             var viewStyle = (ViewStyle)bindable;
226             viewStyle.cellVerticalAlignment = (VerticalAlignmentType?)newValue;
227         },
228         defaultValueCreator: (bindable) =>
229         {
230             var viewStyle = (ViewStyle)bindable;
231             return viewStyle.cellVerticalAlignment;
232         });
233         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
234         [EditorBrowsable(EditorBrowsableState.Never)]
235         public static readonly BindableProperty LeftFocusableViewProperty = BindableProperty.Create(nameof(LeftFocusableView), typeof(View), typeof(ViewStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
236         {
237             var viewStyle = (ViewStyle)bindable;
238             viewStyle.leftFocusableView = (View)newValue;
239         },
240         defaultValueCreator: (bindable) =>
241         {
242             var viewStyle = (ViewStyle)bindable;
243             return viewStyle.leftFocusableView;
244         });
245         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
246         [EditorBrowsable(EditorBrowsableState.Never)]
247         public static readonly BindableProperty RightFocusableViewProperty = BindableProperty.Create(nameof(RightFocusableView), typeof(View), typeof(ViewStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
248         {
249             var viewStyle = (ViewStyle)bindable;
250             viewStyle.rightFocusableView = (View)newValue;
251         },
252         defaultValueCreator: (bindable) =>
253         {
254             var viewStyle = (ViewStyle)bindable;
255             return viewStyle.rightFocusableView;
256         });
257         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
258         [EditorBrowsable(EditorBrowsableState.Never)]
259         public static readonly BindableProperty UpFocusableViewProperty = BindableProperty.Create(nameof(UpFocusableView), typeof(View), typeof(ViewStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
260         {
261             var viewStyle = (ViewStyle)bindable;
262             viewStyle.upFocusableView = (View)newValue;
263         },
264         defaultValueCreator: (bindable) =>
265         {
266             var viewStyle = (ViewStyle)bindable;
267             return viewStyle.upFocusableView;
268         });
269         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
270         [EditorBrowsable(EditorBrowsableState.Never)]
271         public static readonly BindableProperty DownFocusableViewProperty = BindableProperty.Create(nameof(DownFocusableView), typeof(View), typeof(ViewStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
272         {
273             var viewStyle = (ViewStyle)bindable;
274             viewStyle.downFocusableView = (View)newValue;
275         },
276         defaultValueCreator: (bindable) =>
277         {
278             var viewStyle = (ViewStyle)bindable;
279             return viewStyle.downFocusableView;
280         });
281         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
282         [EditorBrowsable(EditorBrowsableState.Never)]
283         public static readonly BindableProperty FocusableProperty = BindableProperty.Create(nameof(Focusable), typeof(bool?), typeof(ViewStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
284         {
285             var viewStyle = (ViewStyle)bindable;
286             viewStyle.focusable = (bool?)newValue;
287         },
288         defaultValueCreator: (bindable) =>
289         {
290             var viewStyle = (ViewStyle)bindable;
291             return viewStyle.focusable;
292         });
293         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
294         [EditorBrowsable(EditorBrowsableState.Never)]
295         public static readonly BindableProperty Size2DProperty = BindableProperty.Create(nameof(Size2D), typeof(Size2D), typeof(ViewStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
296         {
297             var viewStyle = (ViewStyle)bindable;
298             viewStyle.size2D = (Size2D)newValue;
299         },
300         defaultValueCreator: (bindable) =>
301         {
302             var viewStyle = (ViewStyle)bindable;
303             return viewStyle.size2D;
304         });
305         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
306         [EditorBrowsable(EditorBrowsableState.Never)]
307         public static readonly BindableProperty OpacitySelectorProperty = BindableProperty.Create("OpacitySelector", typeof(Selector<float?>), typeof(ViewStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
308         {
309             var viewStyle = (ViewStyle)bindable;
310             if (null == viewStyle.opacitySelector) viewStyle.opacitySelector = new Selector<float?>();
311             viewStyle.opacitySelector.Clone((Selector<float?>)newValue);
312         },
313         defaultValueCreator: (bindable) =>
314         {
315             var controlStyle = (ViewStyle)bindable;
316             return controlStyle.opacitySelector;
317         });
318         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
319         [EditorBrowsable(EditorBrowsableState.Never)]
320         public static readonly BindableProperty Position2DProperty = BindableProperty.Create(nameof(Position2D), typeof(Position2D), typeof(ViewStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
321         {
322             var viewStyle = (ViewStyle)bindable;
323             viewStyle.position2D = (Position2D)newValue;
324         },
325         defaultValueCreator: (bindable) =>
326         {
327             var viewStyle = (ViewStyle)bindable;
328             return viewStyle.position2D;
329         });
330         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
331         [EditorBrowsable(EditorBrowsableState.Never)]
332         public static readonly BindableProperty PositionUsesPivotPointProperty = BindableProperty.Create(nameof(PositionUsesPivotPoint), typeof(bool?), typeof(ViewStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
333         {
334             var viewStyle = (ViewStyle)bindable;
335             viewStyle.positionUsesPivotPoint = (bool?)newValue;
336         },
337         defaultValueCreator: (bindable) =>
338         {
339             var viewStyle = (ViewStyle)bindable;
340             return viewStyle.positionUsesPivotPoint;
341         });
342         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
343         [EditorBrowsable(EditorBrowsableState.Never)]
344         public static readonly BindableProperty SiblingOrderProperty = BindableProperty.Create(nameof(SiblingOrder), typeof(int?), typeof(ViewStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
345         {
346             var viewStyle = (ViewStyle)bindable;
347             viewStyle.siblingOrder = (int?)newValue;
348         },
349         defaultValueCreator: (bindable) =>
350         {
351             var viewStyle = (ViewStyle)bindable;
352             return viewStyle.siblingOrder;
353         });
354         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
355         [EditorBrowsable(EditorBrowsableState.Never)]
356         public static readonly BindableProperty ParentOriginProperty = BindableProperty.Create(nameof(ParentOrigin), typeof(Position), typeof(ViewStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
357         {
358             var viewStyle = (ViewStyle)bindable;
359             viewStyle.parentOrigin = (Position)newValue;
360         },
361         defaultValueCreator: (bindable) =>
362         {
363             var viewStyle = (ViewStyle)bindable;
364             return viewStyle.parentOrigin;
365         });
366         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
367         [EditorBrowsable(EditorBrowsableState.Never)]
368         public static readonly BindableProperty PivotPointProperty = BindableProperty.Create(nameof(PivotPoint), typeof(Position), typeof(ViewStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
369         {
370             var viewStyle = (ViewStyle)bindable;
371             viewStyle.pivotPoint = (Position)newValue;
372         },
373         defaultValueCreator: (bindable) =>
374         {
375             var viewStyle = (ViewStyle)bindable;
376             return viewStyle.pivotPoint;
377         });
378         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
379         [EditorBrowsable(EditorBrowsableState.Never)]
380         public static readonly BindableProperty SizeWidthProperty = BindableProperty.Create(nameof(SizeWidth), typeof(float?), typeof(ViewStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
381         {
382             var viewStyle = (ViewStyle)bindable;
383             viewStyle.sizeWidth = (float?)newValue;
384         },
385         defaultValueCreator: (bindable) =>
386         {
387             var viewStyle = (ViewStyle)bindable;
388             return viewStyle.sizeWidth;
389         });
390         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
391         [EditorBrowsable(EditorBrowsableState.Never)]
392         public static readonly BindableProperty SizeHeightProperty = BindableProperty.Create(nameof(SizeHeight), typeof(float?), typeof(ViewStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
393         {
394             var viewStyle = (ViewStyle)bindable;
395             viewStyle.sizeHeight = (float?)newValue;
396         },
397         defaultValueCreator: (bindable) =>
398         {
399             var viewStyle = (ViewStyle)bindable;
400             return viewStyle.sizeHeight;
401         });
402         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
403         [EditorBrowsable(EditorBrowsableState.Never)]
404         public static readonly BindableProperty PositionProperty = BindableProperty.Create(nameof(Position), typeof(Position), typeof(ViewStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
405         {
406             var viewStyle = (ViewStyle)bindable;
407             viewStyle.position = (Position)newValue;
408         },
409         defaultValueCreator: (bindable) =>
410         {
411             var viewStyle = (ViewStyle)bindable;
412             return viewStyle.position;
413         });
414         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
415         [EditorBrowsable(EditorBrowsableState.Never)]
416         public static readonly BindableProperty PositionXProperty = BindableProperty.Create(nameof(PositionX), typeof(float?), typeof(ViewStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
417         {
418             var viewStyle = (ViewStyle)bindable;
419             viewStyle.positionX = (float?)newValue;
420         },
421         defaultValueCreator: (bindable) =>
422         {
423             var viewStyle = (ViewStyle)bindable;
424             return viewStyle.positionX;
425         });
426         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
427         [EditorBrowsable(EditorBrowsableState.Never)]
428         public static readonly BindableProperty PositionYProperty = BindableProperty.Create(nameof(PositionY), typeof(float?), typeof(ViewStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
429         {
430             var viewStyle = (ViewStyle)bindable;
431             viewStyle.positionY = (float?)newValue;
432         },
433         defaultValueCreator: (bindable) =>
434         {
435             var viewStyle = (ViewStyle)bindable;
436             return viewStyle.positionY;
437         });
438         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
439         [EditorBrowsable(EditorBrowsableState.Never)]
440         public static readonly BindableProperty PositionZProperty = BindableProperty.Create(nameof(PositionZ), typeof(float?), typeof(ViewStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
441         {
442             var viewStyle = (ViewStyle)bindable;
443             viewStyle.positionZ = (float?)newValue;
444         },
445         defaultValueCreator: (bindable) =>
446         {
447             var viewStyle = (ViewStyle)bindable;
448             return viewStyle.positionZ;
449         });
450         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
451         [EditorBrowsable(EditorBrowsableState.Never)]
452         public static readonly BindableProperty OrientationProperty = BindableProperty.Create(nameof(Orientation), typeof(Rotation), typeof(ViewStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
453         {
454             var viewStyle = (ViewStyle)bindable;
455             viewStyle.orientation = (Rotation)newValue;
456         },
457         defaultValueCreator: (bindable) =>
458         {
459             var viewStyle = (ViewStyle)bindable;
460             return viewStyle.orientation;
461         });
462         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
463         [EditorBrowsable(EditorBrowsableState.Never)]
464         public static readonly BindableProperty ScaleProperty = BindableProperty.Create(nameof(Scale), typeof(Vector3), typeof(ViewStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
465         {
466             var viewStyle = (ViewStyle)bindable;
467             viewStyle.scale = (Vector3)newValue;
468         },
469         defaultValueCreator: (bindable) =>
470         {
471             var viewStyle = (ViewStyle)bindable;
472             return viewStyle.scale;
473         });
474         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
475         [EditorBrowsable(EditorBrowsableState.Never)]
476         public static readonly BindableProperty ScaleXProperty = BindableProperty.Create(nameof(ScaleX), typeof(float?), typeof(ViewStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
477         {
478             var viewStyle = (ViewStyle)bindable;
479             viewStyle.scaleX = (float?)newValue;
480         },
481         defaultValueCreator: (bindable) =>
482         {
483             var viewStyle = (ViewStyle)bindable;
484             return viewStyle.scaleX;
485         });
486         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
487         [EditorBrowsable(EditorBrowsableState.Never)]
488         public static readonly BindableProperty ScaleYProperty = BindableProperty.Create(nameof(ScaleY), typeof(float?), typeof(ViewStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
489         {
490             var viewStyle = (ViewStyle)bindable;
491             viewStyle.scaleY = (float?)newValue;
492         },
493         defaultValueCreator: (bindable) =>
494         {
495             var viewStyle = (ViewStyle)bindable;
496             return viewStyle.scaleY;
497         });
498         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
499         [EditorBrowsable(EditorBrowsableState.Never)]
500         public static readonly BindableProperty ScaleZProperty = BindableProperty.Create(nameof(ScaleZ), typeof(float?), typeof(ViewStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
501         {
502             var viewStyle = (ViewStyle)bindable;
503             viewStyle.scaleZ = (float?)newValue;
504         },
505         defaultValueCreator: (bindable) =>
506         {
507             var viewStyle = (ViewStyle)bindable;
508             return viewStyle.scaleZ;
509         });
510         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
511         [EditorBrowsable(EditorBrowsableState.Never)]
512         public static readonly BindableProperty NameProperty = BindableProperty.Create(nameof(Name), typeof(string), typeof(ViewStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
513         {
514             var viewStyle = (ViewStyle)bindable;
515             viewStyle.name = (string)newValue;
516         },
517         defaultValueCreator: (bindable) =>
518         {
519             var viewStyle = (ViewStyle)bindable;
520             return viewStyle.name;
521         });
522         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
523         [EditorBrowsable(EditorBrowsableState.Never)]
524         public static readonly BindableProperty SensitiveProperty = BindableProperty.Create(nameof(Sensitive), typeof(bool?), typeof(ViewStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
525         {
526             var viewStyle = (ViewStyle)bindable;
527             viewStyle.sensitive = (bool?)newValue;
528         },
529         defaultValueCreator: (bindable) =>
530         {
531             var viewStyle = (ViewStyle)bindable;
532             return viewStyle.sensitive;
533         });
534         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
535         [EditorBrowsable(EditorBrowsableState.Never)]
536         public static readonly BindableProperty LeaveRequiredProperty = BindableProperty.Create(nameof(LeaveRequired), typeof(bool?), typeof(ViewStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
537         {
538             var viewStyle = (ViewStyle)bindable;
539             viewStyle.leaveRequired = (bool?)newValue;
540         },
541         defaultValueCreator: (bindable) =>
542         {
543             var viewStyle = (ViewStyle)bindable;
544             return viewStyle.leaveRequired;
545         });
546         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
547         [EditorBrowsable(EditorBrowsableState.Never)]
548         public static readonly BindableProperty InheritOrientationProperty = BindableProperty.Create(nameof(InheritOrientation), typeof(bool?), typeof(ViewStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
549         {
550             var viewStyle = (ViewStyle)bindable;
551             viewStyle.inheritOrientation = (bool?)newValue;
552         },
553         defaultValueCreator: (bindable) =>
554         {
555             var viewStyle = (ViewStyle)bindable;
556             return viewStyle.inheritOrientation;
557         });
558         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
559         [EditorBrowsable(EditorBrowsableState.Never)]
560         public static readonly BindableProperty InheritScaleProperty = BindableProperty.Create(nameof(InheritScale), typeof(bool?), typeof(ViewStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
561         {
562             var viewStyle = (ViewStyle)bindable;
563             viewStyle.inheritScale = (bool?)newValue;
564         },
565         defaultValueCreator: (bindable) =>
566         {
567             var viewStyle = (ViewStyle)bindable;
568             return viewStyle.inheritScale;
569         });
570         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
571         [EditorBrowsable(EditorBrowsableState.Never)]
572         public static readonly BindableProperty DrawModeProperty = BindableProperty.Create(nameof(DrawMode), typeof(DrawModeType?), typeof(ViewStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
573         {
574             var viewStyle = (ViewStyle)bindable;
575             viewStyle.drawMode = (DrawModeType?)newValue;
576         },
577         defaultValueCreator: (bindable) =>
578         {
579             var viewStyle = (ViewStyle)bindable;
580             return viewStyle.drawMode;
581         });
582         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
583         [EditorBrowsable(EditorBrowsableState.Never)]
584         public static readonly BindableProperty SizeModeFactorProperty = BindableProperty.Create(nameof(SizeModeFactor), typeof(Vector3), typeof(ViewStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
585         {
586             var viewStyle = (ViewStyle)bindable;
587             viewStyle.sizeModeFactor = (Vector3)newValue;
588         },
589         defaultValueCreator: (bindable) =>
590         {
591             var viewStyle = (ViewStyle)bindable;
592             return viewStyle.sizeModeFactor;
593         });
594         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
595         [EditorBrowsable(EditorBrowsableState.Never)]
596         public static readonly BindableProperty WidthResizePolicyProperty = BindableProperty.Create(nameof(WidthResizePolicy), typeof(ResizePolicyType?), typeof(ViewStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
597         {
598             var viewStyle = (ViewStyle)bindable;
599             viewStyle.widthResizePolicy = (ResizePolicyType?)newValue;
600         },
601         defaultValueCreator: (bindable) =>
602         {
603             var viewStyle = (ViewStyle)bindable;
604             return viewStyle.widthResizePolicy;
605         });
606         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
607         [EditorBrowsable(EditorBrowsableState.Never)]
608         public static readonly BindableProperty HeightResizePolicyProperty = BindableProperty.Create(nameof(HeightResizePolicy), typeof(ResizePolicyType?), typeof(ViewStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
609         {
610             var viewStyle = (ViewStyle)bindable;
611             viewStyle.heightResizePolicy = (ResizePolicyType?)newValue;
612         },
613         defaultValueCreator: (bindable) =>
614         {
615             var viewStyle = (ViewStyle)bindable;
616             return viewStyle.heightResizePolicy;
617         });
618         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
619         [EditorBrowsable(EditorBrowsableState.Never)]
620         public static readonly BindableProperty SizeScalePolicyProperty = BindableProperty.Create(nameof(SizeScalePolicy), typeof(SizeScalePolicyType?), typeof(ViewStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
621         {
622             var viewStyle = (ViewStyle)bindable;
623             viewStyle.sizeScalePolicy = (SizeScalePolicyType?)newValue;
624         },
625         defaultValueCreator: (bindable) =>
626         {
627             var viewStyle = (ViewStyle)bindable;
628             return viewStyle.sizeScalePolicy;
629         });
630         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
631         [EditorBrowsable(EditorBrowsableState.Never)]
632         public static readonly BindableProperty WidthForHeightProperty = BindableProperty.Create(nameof(WidthForHeight), typeof(bool?), typeof(ViewStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
633         {
634             var viewStyle = (ViewStyle)bindable;
635             viewStyle.widthForHeight = (bool?)newValue;
636         },
637         defaultValueCreator: (bindable) =>
638         {
639             var viewStyle = (ViewStyle)bindable;
640             return viewStyle.widthForHeight;
641         });
642         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
643         [EditorBrowsable(EditorBrowsableState.Never)]
644         public static readonly BindableProperty HeightForWidthProperty = BindableProperty.Create(nameof(HeightForWidth), typeof(bool?), typeof(ViewStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
645         {
646             var viewStyle = (ViewStyle)bindable;
647             viewStyle.heightForWidth = (bool?)newValue;
648         },
649         defaultValueCreator: (bindable) =>
650         {
651             var viewStyle = (ViewStyle)bindable;
652             return viewStyle.heightForWidth;
653         });
654         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
655         [EditorBrowsable(EditorBrowsableState.Never)]
656         public static readonly BindableProperty PaddingProperty = BindableProperty.Create(nameof(Padding), typeof(Extents), typeof(ViewStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
657         {
658             var viewStyle = (ViewStyle)bindable;
659             viewStyle.padding = (Extents)newValue;
660         },
661         defaultValueCreator: (bindable) =>
662         {
663             var viewStyle = (ViewStyle)bindable;
664             return viewStyle.padding;
665         });
666         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
667         [EditorBrowsable(EditorBrowsableState.Never)]
668         public static readonly BindableProperty MinimumSizeProperty = BindableProperty.Create(nameof(MinimumSize), typeof(Size2D), typeof(ViewStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
669         {
670             var viewStyle = (ViewStyle)bindable;
671             viewStyle.minimumSize = (Size2D)newValue;
672         },
673         defaultValueCreator: (bindable) =>
674         {
675             var viewStyle = (ViewStyle)bindable;
676             return viewStyle.minimumSize;
677         });
678         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
679         [EditorBrowsable(EditorBrowsableState.Never)]
680         public static readonly BindableProperty MaximumSizeProperty = BindableProperty.Create(nameof(MaximumSize), typeof(Size2D), typeof(ViewStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
681         {
682             var viewStyle = (ViewStyle)bindable;
683             viewStyle.maximumSize = (Size2D)newValue;
684         },
685         defaultValueCreator: (bindable) =>
686         {
687             var viewStyle = (ViewStyle)bindable;
688             return viewStyle.maximumSize;
689         });
690         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
691         [EditorBrowsable(EditorBrowsableState.Never)]
692         public static readonly BindableProperty InheritPositionProperty = BindableProperty.Create(nameof(InheritPosition), typeof(bool?), typeof(ViewStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
693         {
694             var viewStyle = (ViewStyle)bindable;
695             viewStyle.inheritPosition = (bool?)newValue;
696         },
697         defaultValueCreator: (bindable) =>
698         {
699             var viewStyle = (ViewStyle)bindable;
700             return viewStyle.inheritPosition;
701         });
702         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
703         [EditorBrowsable(EditorBrowsableState.Never)]
704         public static readonly BindableProperty ClippingModeProperty = BindableProperty.Create(nameof(ClippingMode), typeof(ClippingModeType?), typeof(ViewStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
705         {
706             var viewStyle = (ViewStyle)bindable;
707             viewStyle.clippingMode = (ClippingModeType?)newValue;
708         },
709         defaultValueCreator: (bindable) =>
710         {
711             var viewStyle = (ViewStyle)bindable;
712             return viewStyle.clippingMode;
713         });
714         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
715         [EditorBrowsable(EditorBrowsableState.Never)]
716         public static readonly BindableProperty SizeProperty = BindableProperty.Create(nameof(Size), typeof(Size), typeof(ViewStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
717         {
718             var viewStyle = (ViewStyle)bindable;
719             viewStyle.size = (Size)newValue;
720         },
721         defaultValueCreator: (bindable) =>
722         {
723             var viewStyle = (ViewStyle)bindable;
724             return viewStyle.size;
725         });
726         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
727         [EditorBrowsable(EditorBrowsableState.Never)]
728         public static readonly BindableProperty InheritLayoutDirectionProperty = BindableProperty.Create(nameof(InheritLayoutDirection), typeof(bool?), typeof(ViewStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
729         {
730             var viewStyle = (ViewStyle)bindable;
731             viewStyle.inheritLayoutDirection = (bool?)newValue;
732         },
733         defaultValueCreator: (bindable) =>
734         {
735             var viewStyle = (ViewStyle)bindable;
736             return viewStyle.inheritLayoutDirection;
737         });
738         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
739         [EditorBrowsable(EditorBrowsableState.Never)]
740         public static readonly BindableProperty LayoutDirectionProperty = BindableProperty.Create(nameof(LayoutDirection), typeof(ViewLayoutDirectionType?), typeof(ViewStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
741         {
742             var viewStyle = (ViewStyle)bindable;
743             viewStyle.layoutDirection = (ViewLayoutDirectionType?)newValue;
744         },
745         defaultValueCreator: (bindable) =>
746         {
747             var viewStyle = (ViewStyle)bindable;
748             return viewStyle.layoutDirection;
749         });
750         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
751         [EditorBrowsable(EditorBrowsableState.Never)]
752         public static readonly BindableProperty MarginProperty = BindableProperty.Create(nameof(Margin), typeof(Extents), typeof(ViewStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
753         {
754             var viewStyle = (ViewStyle)bindable;
755             viewStyle.margin = (Extents)newValue;
756         },
757         defaultValueCreator: (bindable) =>
758         {
759             var viewStyle = (ViewStyle)bindable;
760             return viewStyle.margin;
761         });
762         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
763         [EditorBrowsable(EditorBrowsableState.Never)]
764         public static readonly BindableProperty WeightProperty = BindableProperty.Create(nameof(Weight), typeof(float?), typeof(ViewStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
765         {
766             var viewStyle = (ViewStyle)bindable;
767             viewStyle.weight = (float?)newValue;
768         },
769         defaultValueCreator: (bindable) =>
770         {
771             var viewStyle = (ViewStyle)bindable;
772             return viewStyle.weight;
773         });
774         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
775         [EditorBrowsable(EditorBrowsableState.Never)]
776         public static readonly BindableProperty BackgroundColorSelectorProperty = BindableProperty.Create("BackgroundColorSelector", typeof(Selector<Color>), typeof(ViewStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
777         {
778             var viewStyle = (ViewStyle)bindable;
779             if (null == viewStyle.backgroundColorSelector) viewStyle.backgroundColorSelector = new Selector<Color>();
780             viewStyle.backgroundColorSelector.Clone((Selector<Color>)newValue);
781         },
782         defaultValueCreator: (bindable) =>
783         {
784             var viewStyle = (ViewStyle)bindable;
785             return viewStyle.backgroundColorSelector;
786         });
787         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
788         [EditorBrowsable(EditorBrowsableState.Never)]
789         public static readonly BindableProperty BackgroundImageBorderSelectorProperty = BindableProperty.Create("BackgroundImageBorderSelector", typeof(Selector<Rectangle>), typeof(ViewStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
790         {
791             var viewStyle = (ViewStyle)bindable;
792             if (null == viewStyle.backgroundImageBorderSelector) viewStyle.backgroundImageBorderSelector = new Selector<Rectangle>();
793             viewStyle.backgroundImageBorderSelector.Clone((Selector<Rectangle>)newValue);
794         },
795         defaultValueCreator: (bindable) =>
796         {
797             var viewStyle = (ViewStyle)bindable;
798             return viewStyle.backgroundImageBorderSelector;
799         });
800
801         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
802         [EditorBrowsable(EditorBrowsableState.Never)]
803         public ViewStyle()
804         {
805         }
806
807         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
808         [EditorBrowsable(EditorBrowsableState.Never)]
809         public ViewStyle(ViewStyle viewAttributes)
810         {
811             if (null != viewAttributes)
812             {
813                 this.CopyFrom(viewAttributes);
814             }
815         }
816
817         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
818         [EditorBrowsable(EditorBrowsableState.Never)]
819         public string StyleName
820         {
821             get => (string)GetValue(StyleNameProperty);
822             set => SetValue(StyleNameProperty, value);
823         }
824
825         private Selector<string> backgroundImageSelector;
826         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
827         [EditorBrowsable(EditorBrowsableState.Never)]
828         public Selector<string> BackgroundImage
829         {
830             get
831             {
832                 Selector<string> image = (Selector<string>)GetValue(BackgroundImageSelectorProperty);
833                 return (null != image) ? image : backgroundImageSelector = new Selector<string>();
834             }
835             set => SetValue(BackgroundImageSelectorProperty, value);
836         }
837
838         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
839         [EditorBrowsable(EditorBrowsableState.Never)]
840         public View.States? State
841         {
842             get => (View.States?)GetValue(StateProperty);
843             set => SetValue(StateProperty, value);
844         }
845
846         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
847         [EditorBrowsable(EditorBrowsableState.Never)]
848         public View.States? SubState
849         {
850             get => (View.States?)GetValue(SubStateProperty);
851             set => SetValue(SubStateProperty, value);
852         }
853
854         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
855         [EditorBrowsable(EditorBrowsableState.Never)]
856         public float? Flex
857         {
858             get => (float?)GetValue(FlexProperty);
859             set => SetValue(FlexProperty, value);
860         }
861
862         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
863         [EditorBrowsable(EditorBrowsableState.Never)]
864         public int? AlignSelf
865         {
866             get => (int?)GetValue(AlignSelfProperty);
867             set => SetValue(AlignSelfProperty, value);
868         }
869
870         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
871         [EditorBrowsable(EditorBrowsableState.Never)]
872         public Vector4 FlexMargin
873         {
874             get => (Vector4)GetValue(FlexMarginProperty);
875             set => SetValue(FlexMarginProperty, value);
876         }
877
878         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
879         [EditorBrowsable(EditorBrowsableState.Never)]
880         public Vector2 CellIndex
881         {
882             get => (Vector2)GetValue(CellIndexProperty);
883             set => SetValue(CellIndexProperty, value);
884         }
885
886         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
887         [EditorBrowsable(EditorBrowsableState.Never)]
888         public float? RowSpan
889         {
890             get => (float?)GetValue(RowSpanProperty);
891             set => SetValue(RowSpanProperty, value);
892         }
893
894         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
895         [EditorBrowsable(EditorBrowsableState.Never)]
896         public float? ColumnSpan
897         {
898             get => (float?)GetValue(ColumnSpanProperty);
899             set => SetValue(ColumnSpanProperty, value);
900         }
901
902         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
903         [EditorBrowsable(EditorBrowsableState.Never)]
904         public HorizontalAlignmentType? CellHorizontalAlignment
905         {
906             get => (HorizontalAlignmentType?)GetValue(CellHorizontalAlignmentProperty);
907             set => SetValue(CellHorizontalAlignmentProperty, value);
908         }
909
910         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
911         [EditorBrowsable(EditorBrowsableState.Never)]
912         public VerticalAlignmentType? CellVerticalAlignment
913         {
914             get => (VerticalAlignmentType?)GetValue(CellVerticalAlignmentProperty);
915             set => SetValue(CellVerticalAlignmentProperty, value);
916         }
917
918         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
919         [EditorBrowsable(EditorBrowsableState.Never)]
920         public View LeftFocusableView
921         {
922             get => (View)GetValue(LeftFocusableViewProperty);
923             set => SetValue(LeftFocusableViewProperty, value);
924         }
925
926         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
927         [EditorBrowsable(EditorBrowsableState.Never)]
928         public View RightFocusableView
929         {
930             get => (View)GetValue(RightFocusableViewProperty);
931             set => SetValue(RightFocusableViewProperty, value);
932         }
933
934         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
935         [EditorBrowsable(EditorBrowsableState.Never)]
936         public View UpFocusableView
937         {
938             get => (View)GetValue(UpFocusableViewProperty);
939             set => SetValue(UpFocusableViewProperty, value);
940         }
941
942         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
943         [EditorBrowsable(EditorBrowsableState.Never)]
944         public View DownFocusableView
945         {
946             get => (View)GetValue(DownFocusableViewProperty);
947             set => SetValue(DownFocusableViewProperty, value);
948         }
949
950         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
951         [EditorBrowsable(EditorBrowsableState.Never)]
952         public bool? Focusable
953         {
954             get => (bool?)GetValue(FocusableProperty);
955             set => SetValue(FocusableProperty, value);
956         }
957
958         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
959         [EditorBrowsable(EditorBrowsableState.Never)]
960         public Size2D Size2D
961         {
962             get => (Size2D)GetValue(Size2DProperty);
963             set => SetValue(Size2DProperty, value);
964         }
965
966         private Selector<float?> opacitySelector;
967         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
968         [EditorBrowsable(EditorBrowsableState.Never)]
969         public Selector<float?> Opacity
970         {
971             get
972             {
973                 Selector<float?> opacity = (Selector<float?>)GetValue(OpacitySelectorProperty);
974                 return (null != opacity) ? opacity : opacitySelector = new Selector<float?>();
975             }
976             set => SetValue(OpacitySelectorProperty, value);
977         }
978
979         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
980         [EditorBrowsable(EditorBrowsableState.Never)]
981         public Position2D Position2D
982         {
983             get => (Position2D)GetValue(Position2DProperty);
984             set => SetValue(Position2DProperty, value);
985         }
986
987         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
988         [EditorBrowsable(EditorBrowsableState.Never)]
989         public bool? PositionUsesPivotPoint
990         {
991             get => (bool?)GetValue(PositionUsesPivotPointProperty);
992             set => SetValue(PositionUsesPivotPointProperty, value);
993         }
994
995         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
996         [EditorBrowsable(EditorBrowsableState.Never)]
997         public int? SiblingOrder
998         {
999             get => (int?)GetValue(SiblingOrderProperty);
1000             set => SetValue(SiblingOrderProperty, value);
1001         }
1002
1003         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
1004         [EditorBrowsable(EditorBrowsableState.Never)]
1005         public Position ParentOrigin
1006         {
1007             get => (Position)GetValue(ParentOriginProperty);
1008             set => SetValue(ParentOriginProperty, value);
1009         }
1010
1011         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
1012         [EditorBrowsable(EditorBrowsableState.Never)]
1013         public Position PivotPoint
1014         {
1015             get => (Position)GetValue(PivotPointProperty);
1016             set => SetValue(PivotPointProperty, value);
1017         }
1018
1019         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
1020         [EditorBrowsable(EditorBrowsableState.Never)]
1021         public float? SizeWidth
1022         {
1023             get => (float?)GetValue(SizeWidthProperty);
1024             set => SetValue(SizeWidthProperty, value);
1025         }
1026
1027         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
1028         [EditorBrowsable(EditorBrowsableState.Never)]
1029         public float? SizeHeight
1030         {
1031             get => (float?)GetValue(SizeHeightProperty);
1032             set => SetValue(SizeHeightProperty, value);
1033         }
1034
1035         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
1036         [EditorBrowsable(EditorBrowsableState.Never)]
1037         public Position Position
1038         {
1039             get => (Position)GetValue(PositionProperty);
1040             set => SetValue(PositionProperty, value);
1041         }
1042
1043         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
1044         [EditorBrowsable(EditorBrowsableState.Never)]
1045         public float? PositionX
1046         {
1047             get => (float?)GetValue(PositionXProperty);
1048             set => SetValue(PositionXProperty, value);
1049         }
1050
1051         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
1052         [EditorBrowsable(EditorBrowsableState.Never)]
1053         public float? PositionY
1054         {
1055             get => (float?)GetValue(PositionYProperty);
1056             set => SetValue(PositionYProperty, value);
1057         }
1058
1059         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
1060         [EditorBrowsable(EditorBrowsableState.Never)]
1061         public float? PositionZ
1062         {
1063             get => (float?)GetValue(PositionZProperty);
1064             set => SetValue(PositionZProperty, value);
1065         }
1066
1067         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
1068         [EditorBrowsable(EditorBrowsableState.Never)]
1069         public Rotation Orientation
1070         {
1071             get => (Rotation)GetValue(OrientationProperty);
1072             set => SetValue(OrientationProperty, value);
1073         }
1074
1075         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
1076         [EditorBrowsable(EditorBrowsableState.Never)]
1077         public Vector3 Scale
1078         {
1079             get => (Vector3)GetValue(ScaleProperty);
1080             set => SetValue(ScaleProperty, value);
1081         }
1082
1083         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
1084         [EditorBrowsable(EditorBrowsableState.Never)]
1085         public float? ScaleX
1086         {
1087             get => (float?)GetValue(ScaleXProperty);
1088             set => SetValue(ScaleXProperty, value);
1089         }
1090
1091         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
1092         [EditorBrowsable(EditorBrowsableState.Never)]
1093         public float? ScaleY
1094         {
1095             get => (float?)GetValue(ScaleYProperty);
1096             set => SetValue(ScaleYProperty, value);
1097         }
1098
1099         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
1100         [EditorBrowsable(EditorBrowsableState.Never)]
1101         public float? ScaleZ
1102         {
1103             get => (float?)GetValue(ScaleZProperty);
1104             set => SetValue(ScaleZProperty, value);
1105         }
1106
1107         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
1108         [EditorBrowsable(EditorBrowsableState.Never)]
1109         public string Name
1110         {
1111             get => (string)GetValue(NameProperty);
1112             set => SetValue(NameProperty, value);
1113         }
1114
1115         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
1116         [EditorBrowsable(EditorBrowsableState.Never)]
1117         public bool? Sensitive
1118         {
1119             get => (bool?)GetValue(SensitiveProperty);
1120             set => SetValue(SensitiveProperty, value);
1121         }
1122
1123         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
1124         [EditorBrowsable(EditorBrowsableState.Never)]
1125         public bool? LeaveRequired
1126         {
1127             get => (bool?)GetValue(LeaveRequiredProperty);
1128             set => SetValue(LeaveRequiredProperty, value);
1129         }
1130
1131         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
1132         [EditorBrowsable(EditorBrowsableState.Never)]
1133         public bool? InheritOrientation
1134         {
1135             get => (bool?)GetValue(InheritOrientationProperty);
1136             set => SetValue(InheritOrientationProperty, value);
1137         }
1138
1139         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
1140         [EditorBrowsable(EditorBrowsableState.Never)]
1141         public bool? InheritScale
1142         {
1143             get => (bool?)GetValue(InheritScaleProperty);
1144             set => SetValue(InheritScaleProperty, value);
1145         }
1146
1147         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
1148         [EditorBrowsable(EditorBrowsableState.Never)]
1149         public DrawModeType? DrawMode
1150         {
1151             get => (DrawModeType?)GetValue(DrawModeProperty);
1152             set => SetValue(DrawModeProperty, value);
1153         }
1154
1155         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
1156         [EditorBrowsable(EditorBrowsableState.Never)]
1157         public Vector3 SizeModeFactor
1158         {
1159             get => (Vector3)GetValue(SizeModeFactorProperty);
1160             set => SetValue(SizeModeFactorProperty, value);
1161         }
1162
1163         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
1164         [EditorBrowsable(EditorBrowsableState.Never)]
1165         public ResizePolicyType? WidthResizePolicy
1166         {
1167             get => (ResizePolicyType?)GetValue(WidthResizePolicyProperty);
1168             set => SetValue(WidthResizePolicyProperty, value);
1169         }
1170
1171         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
1172         [EditorBrowsable(EditorBrowsableState.Never)]
1173         public ResizePolicyType? HeightResizePolicy
1174         {
1175             get => (ResizePolicyType?)GetValue(HeightResizePolicyProperty);
1176             set => SetValue(HeightResizePolicyProperty, value);
1177         }
1178
1179         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
1180         [EditorBrowsable(EditorBrowsableState.Never)]
1181         public SizeScalePolicyType? SizeScalePolicy
1182         {
1183             get => (SizeScalePolicyType?)GetValue(SizeScalePolicyProperty);
1184             set => SetValue(SizeScalePolicyProperty, value);
1185         }
1186
1187         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
1188         [EditorBrowsable(EditorBrowsableState.Never)]
1189         public bool? WidthForHeight
1190         {
1191             get => (bool?)GetValue(WidthForHeightProperty);
1192             set => SetValue(WidthForHeightProperty, value);
1193         }
1194
1195         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
1196         [EditorBrowsable(EditorBrowsableState.Never)]
1197         public bool? HeightForWidth
1198         {
1199             get => (bool?)GetValue(HeightForWidthProperty);
1200             set => SetValue(HeightForWidthProperty, value);
1201         }
1202
1203         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
1204         [EditorBrowsable(EditorBrowsableState.Never)]
1205         public Extents Padding
1206         {
1207             get
1208             {
1209                 Extents tmp = (Extents)GetValue(PaddingProperty);
1210                 return (null != tmp) ? tmp : padding = new Extents((ushort start, ushort end, ushort top, ushort bottom) => { Padding = new Extents(start, end, top, bottom); }, 0, 0, 0, 0);
1211             }
1212             set => SetValue(PaddingProperty, value);
1213         }
1214
1215         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
1216         [EditorBrowsable(EditorBrowsableState.Never)]
1217         public Size2D MinimumSize
1218         {
1219             get => (Size2D)GetValue(MinimumSizeProperty);
1220             set => SetValue(MinimumSizeProperty, value);
1221         }
1222
1223         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
1224         [EditorBrowsable(EditorBrowsableState.Never)]
1225         public Size2D MaximumSize
1226         {
1227             get => (Size2D)GetValue(MaximumSizeProperty);
1228             set => SetValue(MaximumSizeProperty, value);
1229         }
1230
1231         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
1232         [EditorBrowsable(EditorBrowsableState.Never)]
1233         public bool? InheritPosition
1234         {
1235             get => (bool?)GetValue(InheritPositionProperty);
1236             set => SetValue(InheritPositionProperty, value);
1237         }
1238
1239         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
1240         [EditorBrowsable(EditorBrowsableState.Never)]
1241         public ClippingModeType? ClippingMode
1242         {
1243             get => (ClippingModeType?)GetValue(ClippingModeProperty);
1244             set => SetValue(ClippingModeProperty, value);
1245         }
1246
1247         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
1248         [EditorBrowsable(EditorBrowsableState.Never)]
1249         public Size Size
1250         {
1251             get
1252             {
1253                 Size tmp = (Size)GetValue(SizeProperty);
1254                 return (null != tmp) ? tmp : size = new Size((float width, float height, float depth) => { Size = new Size(width, height, depth); }, 0, 0, 0);
1255             }
1256             set => SetValue(SizeProperty, value);
1257         }
1258
1259         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
1260         [EditorBrowsable(EditorBrowsableState.Never)]
1261         public bool? InheritLayoutDirection
1262         {
1263             get => (bool?)GetValue(InheritLayoutDirectionProperty);
1264             set => SetValue(InheritLayoutDirectionProperty, value);
1265         }
1266
1267         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
1268         [EditorBrowsable(EditorBrowsableState.Never)]
1269         public ViewLayoutDirectionType? LayoutDirection
1270         {
1271             get => (ViewLayoutDirectionType?)GetValue(LayoutDirectionProperty);
1272             set => SetValue(LayoutDirectionProperty, value);
1273         }
1274
1275         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
1276         [EditorBrowsable(EditorBrowsableState.Never)]
1277         public Extents Margin
1278         {
1279             get
1280             {
1281                 Extents tmp = (Extents)GetValue(MarginProperty);
1282                 return (null != tmp) ? tmp : margin = new Extents((ushort start, ushort end, ushort top, ushort bottom) => { Margin = new Extents(start, end, top, bottom); }, 0, 0, 0, 0);
1283             }
1284             set => SetValue(MarginProperty, value);
1285         }
1286
1287         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
1288         [EditorBrowsable(EditorBrowsableState.Never)]
1289         public float? Weight
1290         {
1291             get => (float?)GetValue(WeightProperty);
1292             set => SetValue(WeightProperty, value);
1293         }
1294
1295         private Selector<Color> backgroundColorSelector;
1296         /// <summary> View BackgroundColor </summary>
1297         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
1298         [EditorBrowsable(EditorBrowsableState.Never)]
1299         public Selector<Color> BackgroundColor
1300         {
1301             get
1302             {
1303                 Selector<Color> color = (Selector<Color>)GetValue(BackgroundColorSelectorProperty);
1304                 return (null != color) ? color : backgroundColorSelector = new Selector<Color>();
1305             }
1306             set => SetValue(BackgroundColorSelectorProperty, value);
1307         }
1308         private Selector<Rectangle> backgroundImageBorderSelector;
1309         /// <summary>View BackgroundBorder</summary>
1310         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
1311         [EditorBrowsable(EditorBrowsableState.Never)]
1312         public Selector<Rectangle> BackgroundImageBorder
1313         {
1314             get
1315             {
1316                 Selector<Rectangle> border = (Selector<Rectangle>)GetValue(BackgroundImageBorderSelectorProperty);
1317                 return (null != border) ? border : backgroundImageBorderSelector = new Selector<Rectangle>();
1318             }
1319             set => SetValue(BackgroundImageBorderSelectorProperty, value);
1320         }
1321     }
1322 }