Classes:MainWindow

From XfireWiki

Jump to: navigation, search

The Mainwindow class is the type of component used in the first tile of every window. All tiles in a window are children of the tile based on this component.


Example Code

<Component Name="MainWindow"

Class="MainWindow"
MinWidth="287"
MinHeight="430"
DefaultWidth="287"
DefaultHeight="430"

/>


Attribute definitions

Name: The name used to reference the component from a tile.
MinWidth: The minimum width the window can be resized to.
MinHeight: The minimum height the window can be resized to.
DefaultWidth: The width the window will be the first time it is displayed.
DefaultHeight: The height the window will be the first time it is displayed.


Depreciated Attributes

ResizeX: The percentage the width of the window can be resized (Should always be 100 for the MainWindow).
ResizeY: The percentage the height of the window can be resized (Should always be 100 for the MainWindow).

These attributes should now be specified in the <Tile> element (See Tile).

Personal tools