C# Class System.Windows.MetroGridHelper

A utility class that overlays a designer-friendly grid on top of the application frame, for use similar to the performance counters in App.xaml.cs. The color and opacity are configurable. The grid contains a number of squares that are 24x24, offset with 12px gutters, and all 24px away from the edge of the device.
Datei anzeigen Open project: mikkoviitala/battlelogmobile

Private Methods

Method Description
BuildGrid ( ) : void

Builds the grid.

PrepareGrid ( System.Windows.Controls.Frame frame, Grid parent ) : void

Does the actual work of preparing the grid once the parent frame is in the visual tree and we have a Grid instance to work with for placing the chilren.

UpdateGrid ( ) : void

Updates the grid (if it already has been created) or initializes it otherwise.