Interface IBorderInterface

Definition

Namespace:
Tizen.NUI
Assembly:
Tizen.NUI.dll

This is the interface used to draw the border UI.

C#
Copy
public interface IBorderInterface : IDisposable

Properties

View Source

BorderHeight

The height of the border. This value is the initial value used when creating borders.

Declaration
C#
Copy
float BorderHeight { get; }
Property Value
Type Description
Single
View Source

BorderLineThickness

The thickness of the border.

Declaration
C#
Copy
uint BorderLineThickness { get; }
Property Value
Type Description
UInt32
View Source

BorderWindow

The window with borders added.

Declaration
C#
Copy
Window BorderWindow { get; set; }
Property Value
Type Description
Window
View Source

MaxSize

The maximum size by which the window will big.

Declaration
C#
Copy
Size2D MaxSize { get; }
Property Value
Type Description
Size2D
View Source

MinSize

The minimum size by which the window will small.

Declaration
C#
Copy
Size2D MinSize { get; }
Property Value
Type Description
Size2D
View Source

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#
Copy
bool OverlayMode { get; }
Property Value
Type Description
Boolean
View Source

ResizePolicy

Set the window resizing policy.

Declaration
C#
Copy
Window.BorderResizePolicyType ResizePolicy { get; }
Property Value
Type Description
Window.BorderResizePolicyType
View Source

TouchThickness

The thickness of the border's touch area.

Declaration
C#
Copy
uint TouchThickness { get; }
Property Value
Type Description
UInt32

Methods

View Source

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#
Copy
void CreateBorderView(View borderView)
Parameters
Type Name Description
View borderView

The border view on which the border.

View Source

CreateBottomBorderView(View)

Create bottom border UI. User can override this method to draw bottom border UI.

Declaration
C#
Copy
bool CreateBottomBorderView(View bottomView)
Parameters
Type Name Description
View bottomView

The bottom view on which the border.

Returns
Type Description
Boolean
View Source

CreateTopBorderView(View)

Create top border UI. User can override this method to draw top border UI.

Declaration
C#
Copy
bool CreateTopBorderView(View topView)
Parameters
Type Name Description
View topView

The top view on which the border.

Returns
Type Description
Boolean
View Source

OnCreated(View)

Called after the border UI is created.

Declaration
C#
Copy
void OnCreated(View borderView)
Parameters
Type Name Description
View borderView

The border view on which the border.

View Source

OnMaximize(Boolean)

Called when the window is maximized.

Declaration
C#
Copy
void OnMaximize(bool isMaximized)
Parameters
Type Name Description
Boolean isMaximized

If window is maximized or unmaximized.

View Source

OnMinimize(Boolean)

Called when the window is minimized.

Declaration
C#
Copy
void OnMinimize(bool isMinimized)
Parameters
Type Name Description
Boolean isMinimized

If window is minimized or unminimized.

View Source

OnMoveCompleted(Int32, Int32)

Called when window has been moved the display server.

Declaration
C#
Copy
void 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

View Source

OnMoved(Int32, Int32)

Called when the window is moved.

Declaration
C#
Copy
void 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

View Source

OnOverlayMode(Boolean)

Called when there is a change in overlay mode.

Declaration
C#
Copy
void OnOverlayMode(bool enabled)
Parameters
Type Name Description
Boolean enabled

If true, borderView has entered overlayMode.

View Source

OnResizeCompleted(Int32, Int32)

Called when window has been resized the display server.

Declaration
C#
Copy
void 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

View Source

OnResized(Int32, Int32)

Called when the window is resized.

Declaration
C#
Copy
void 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

Extension Methods