MNGuiAvatarImage.DockRight
Skip to content
mnscript
MNGuiAvatarImage.DockRight() 

Description ​

Docks the element to the right.

Example ​

msc
using Surface;
using System;

MNGuiFrame frame = Surface.CreateApplicationFrame();
MNGuiPanel pnl = frame.GetPanel();

// Creates a panel in and docks it to the right.
MNGuiPanel panel = Surface.CreatePanel(pnl);
panel.DockRight();

// Update to add the new UI to the screen.
Surface.Update();

// Keep the program alive so the UI stays.
while(true){
    System.Sleep(1);
}