Interface IBorderInterface
Definition
- Assembly:
- Tizen.NUI.dll
This is the interface used to draw the border UI.
public interface IBorderInterface : IDisposable
Properties
View SourceBorderHeight
The height of the border. This value is the initial value used when creating borders.
Declaration
float BorderHeight { get; }
Property Value
Type | Description |
---|---|
float |
BorderLineThickness
The thickness of the border.
Declaration
uint BorderLineThickness { get; }
Property Value
Type | Description |
---|---|
uint |
BorderWindow
The window with borders added.
Declaration
Window BorderWindow { get; set; }
Property Value
Type | Description |
---|---|
Window |
MaxSize
The maximum size by which the window will big.
Declaration
Size2D MaxSize { get; }
Property Value
Type | Description |
---|---|
Size2D |
MinSize
The minimum size by which the window will small.
Declaration
Size2D 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
bool OverlayMode { get; }
Property Value
Type | Description |
---|---|
bool |
ResizePolicy
Set the window resizing policy.
Declaration
Window.BorderResizePolicyType ResizePolicy { get; }
Property Value
Type | Description |
---|---|
Window.BorderResizePolicyType |
TouchThickness
The thickness of the border's touch area.
Declaration
uint TouchThickness { get; }
Property Value
Type | Description |
---|---|
uint |
Methods
View SourceCreateBorderView(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
void 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
bool CreateBottomBorderView(View bottomView)
Parameters
Type | Name | Description |
---|---|---|
View | bottomView | The bottom view on which the border. |
Returns
Type | Description |
---|---|
bool |
CreateTopBorderView(View)
Create top border UI. User can override this method to draw top border UI.
Declaration
bool CreateTopBorderView(View topView)
Parameters
Type | Name | Description |
---|---|---|
View | topView | The top view on which the border. |
Returns
Type | Description |
---|---|
bool |
OnCreated(View)
Called after the border UI is created.
Declaration
void OnCreated(View borderView)
Parameters
Type | Name | Description |
---|---|---|
View | borderView | The border view on which the border. |
OnMaximize(bool)
Called when the window is maximized.
Declaration
void OnMaximize(bool isMaximized)
Parameters
Type | Name | Description |
---|---|---|
bool | isMaximized | If window is maximized or unmaximized. |
OnMinimize(bool)
Called when the window is minimized.
Declaration
void OnMinimize(bool isMinimized)
Parameters
Type | Name | Description |
---|---|---|
bool | isMinimized | If window is minimized or unminimized. |
OnMoveCompleted(int, int)
Called when window has been moved the display server.
Declaration
void OnMoveCompleted(int x, int y)
Parameters
Type | Name | Description |
---|---|---|
int | x | The x of the has been moved window |
int | y | The y of the has been moved window |
OnMoved(int, int)
Called when the window is moved.
Declaration
void OnMoved(int x, int y)
Parameters
Type | Name | Description |
---|---|---|
int | x | The x of the moved window |
int | y | The y of the moved window |
OnOverlayMode(bool)
Called when there is a change in overlay mode.
Declaration
void OnOverlayMode(bool enabled)
Parameters
Type | Name | Description |
---|---|---|
bool | enabled | If true, borderView has entered overlayMode. |
OnResizeCompleted(int, int)
Called when window has been resized the display server.
Declaration
void OnResizeCompleted(int width, int height)
Parameters
Type | Name | Description |
---|---|---|
int | width | The width of the resized window |
int | height | The height of the resized window |
OnResized(int, int)
Called when the window is resized.
Declaration
void OnResized(int width, int height)
Parameters
Type | Name | Description |
---|---|---|
int | width | The width of the resized window |
int | height | The height of the resized window |