Interface IBorderInterface
Definition
- Namespace:
- Tizen.NUI
- Assembly:
- Tizen.NUI.dll
This is the interface used to draw the border UI.
C#Copypublic interface IBorderInterface : IDisposable
Properties
BorderHeight
The height of the border. This value is the initial value used when creating borders.
Declaration
C#Copyfloat BorderHeight { get; }
Property Value
Type | Description |
---|---|
Single |
Declaration
C#Copyuint BorderLineThickness { get; }
Property Value
Type | Description |
---|---|
UInt32 |
Declaration
C#CopyWindow BorderWindow { get; set; }
Property Value
Type | Description |
---|---|
Window |
Declaration
C#CopySize2D MaxSize { get; }
Property Value
Type | Description |
---|---|
Size2D |
Declaration
C#CopySize2D MinSize { get; }
Property Value
Type | Description |
---|---|
Size2D |
OverlayMode
Whether overlay mode. If overlay mode is true, the border area is hidden when the window is maximized. And if you touched at screen, the border area is shown on the screen. Default value is false;
Declaration
C#Copybool OverlayMode { get; }
Property Value
Type | Description |
---|---|
Boolean |
Declaration
C#CopyWindow.BorderResizePolicyType ResizePolicy { get; }
Property Value
Type | Description |
---|---|
Window.BorderResizePolicyType |
Declaration
C#Copyuint TouchThickness { get; }
Property Value
Type | Description |
---|---|
UInt32 |
Methods
CreateBorderView(View)
Create border UI. User can override this method to draw border UI. A top border and a bottom border are added to this view.
Declaration
C#Copyvoid CreateBorderView(View borderView)
Parameters
Type | Name | Description |
---|---|---|
View | borderView | The border view on which the border. |
CreateBottomBorderView(View)
Create bottom border UI. User can override this method to draw bottom border UI.
Declaration
C#Copybool CreateBottomBorderView(View bottomView)
Parameters
Type | Name | Description |
---|---|---|
View | bottomView | The bottom view on which the border. |
Returns
Type | Description |
---|---|
Boolean |
CreateTopBorderView(View)
Create top border UI. User can override this method to draw top border UI.
Declaration
C#Copybool CreateTopBorderView(View topView)
Parameters
Type | Name | Description |
---|---|---|
View | topView | The top view on which the border. |
Returns
Type | Description |
---|---|
Boolean |
Declaration
C#Copyvoid OnCreated(View borderView)
Parameters
Type | Name | Description |
---|---|---|
View | borderView | The border view on which the border. |
Declaration
C#Copyvoid OnMaximize(bool isMaximized)
Parameters
Type | Name | Description |
---|---|---|
Boolean | isMaximized | If window is maximized or unmaximized. |
Declaration
C#Copyvoid OnMinimize(bool isMinimized)
Parameters
Type | Name | Description |
---|---|---|
Boolean | isMinimized | If window is minimized or unminimized. |
Declaration
C#Copyvoid OnMoveCompleted(int x, int y)
Parameters
Type | Name | Description |
---|---|---|
Int32 | x | The x of the has been moved window |
Int32 | y | The y of the has been moved window |
Declaration
C#Copyvoid OnMoved(int x, int y)
Parameters
Type | Name | Description |
---|---|---|
Int32 | x | The x of the moved window |
Int32 | y | The y of the moved window |
Declaration
C#Copyvoid OnOverlayMode(bool enabled)
Parameters
Type | Name | Description |
---|---|---|
Boolean | enabled | If true, borderView has entered overlayMode. |
Declaration
C#Copyvoid OnResizeCompleted(int width, int height)
Parameters
Type | Name | Description |
---|---|---|
Int32 | width | The width of the resized window |
Int32 | height | The height of the resized window |
Declaration
C#Copyvoid OnResized(int width, int height)
Parameters
Type | Name | Description |
---|---|---|
Int32 | width | The width of the resized window |
Int32 | height | The height of the resized window |