Silverlight Table Reference

The Table exposes several properties for controlling various aspects of the Table and its behaviour.

Properties for Liquid.Table

Below are the available properties complete with descriptions.

Property Name
Type
Description
SelectedCellRow
Int32
Gets the row index for the selected cell.
SelectedCellColumn
Int32
Gets the column index for the selected cell.
SelectedRowStart
Int32
Gets the first selected row index.
SelectedColumnStart
Int32
Gets the first selected column index.
SelectedRowCount
Int32
Gets the number of rows selected.
SelectedColumnCount
Int32
Gets the number of columns selected.
SelectMode
SelectMode
Gets or sets the selection mode.
HeaderRows
Int32
Gets or sets the number of header rows.
HeaderColumns
Int32
Gets or sets the number of header columns.
AutoWidth
Boolean
Gets or sets whether the table stretches to full width.
MinEditableRowHeight
Double
Gets or sets the minimum height a row can be dragged.
MinEditableColumnWidth
Double
Gets or sets the minimum height a columns can be dragged.
EnableEditingFadeout
Boolean
Gets or sets whether the table should fade-out during editing.
StyleID
String
Gets or sets the table style ID.
Selected
List`1
Gets the selected table cells.

 

Methods for Liquid.Table

Below are the available methods, complete with parameters and descriptions.

Method Name
Description
Parameters
AddRow()
Adds a new row to the bottom of the table.
AddRow(List<UIElement>)
Adds a new row to the bottom of the table containing the provided elements.

Parameters

elements
Any element derived from UIElement

 

AddColumn()
Adds a new column to the right of the table.
AddColumn(List<UIElement>)
Adds a new column to the right of the table containing the provided elements.

Parameters

elements
Any element derived from UIElement

 

DeleteRow(Int32)
Deletes the specified Row including all elements that refer to it.

Parameters

rowIndex
Row index to delete

 

GetRowElements(Int32)
Gets a collection of elements with a matching row index.

Parameters

rowIndex
Row index
Returns: Element collection

 

GetColumnElements(Int32)
Gets a collection of elements with a matching column index.

Parameters

columnIndex
Column index
Returns: Element collection

 

DeleteColumn(Int32)
Deletes the specified Column including all elements that refer to it.

Parameters

columnIndex
Column index to delete

 

InsertColumn(Int32, Int32)
Creates a new column with default richtextblock content.

Parameters

columnIndex
The column index to insert the new column

 

InsertColumn(Int32, Nullable<GridLength>, List<UIElement>)
Creates a new column and populates the cells with the provided elements.

Parameters

columnIndex
The column index to insert the new column
width
Width of the column
elements
Any element derived from UIElement

 

InsertRow(Int32, Int32)
Creates a new row with default richtextblock content.

Parameters

rowIndex
The row index to insert the new row
count
Number of rows to insert

 

InsertRow(Int32, Nullable<GridLength>, List<UIElement>)
Creates a new row and populates the cells with the provided elements.

Parameters

rowIndex
The row index to insert the new row
height
Row height
elements
Any element derived from UIElement

 

SwapRows(Int32, Int32)
Swaps two rows around.

Parameters

rowA
The first row
rowB
The second row

 

SetColumnsToPixelWidth()
Fixes all column widths to pixel widths.
 
 
Latest Games
Zombie Escape
Apr 19, 2016
Plays: 2,797

Zombie Escape ScreenshotDrive fast before the crazy mutant zombies get you!

6 Ratings/4.1 Average
Car Parking
Jan 16, 2016
Plays: 2,666

Car Parking ScreenshotGuide the car to its parking space in this fun Car Parking game.

1 Rating/5 Average
Trash It
Jan 11, 2016
Plays: 2,509

Trash It ScreenshotAim for the Trash Can and get the various items of Trash in the bin.

4 Ratings/5 Average
Sky Fly
Jan 11, 2016
Plays: 2,711

Sky Fly ScreenshotFly your plane in this colorful vertical scrolling shoot-em-up. Blast the bad guys and collect any bonus's they leave behind.

1 Rating/5 Average
Professor Snappy
Jan 11, 2016
Plays: 2,175

Professor Snappy ScreenshotPop as many bubbles as possible in this fun and colorful bubble popping game. The levels start off easy enough but gradually get harder!

1 Rating/5 Average
Monster Match Saga
Jan 10, 2016
Plays: 2,501

Monster Match Saga ScreenshotHere we have a bunch of monsters that need to be matched up. Look out for the bomb and spinning monsters that will cause special damage!

3 Ratings/4.6 Average
Fly Bird Fly
Jan 10, 2016
Plays: 2,324

Fly Bird Fly ScreenshotGuide your friendly Bird through the maze of pipes and other obstacles collecting the Stars in this cool arcade game inspired by the legendary Flappy Bird.

1 Rating/5 Average
Life In One
Jan 10, 2016
Plays: 2,499

Life In One ScreenshotYou are stranded on an Alien planet. Your goal is to build a space rocket and escape. Start by building units to create power and mine the metal patches. Build defenses to defend your base from the advancing Aliens and Zombies!

2 Ratings/3 Average
X Pool
Jan 02, 2016
Plays: 3,141

X Pool ScreenshotPlay Pool against the computer or battle against your friends in the online mode!

3 Ratings/3 Average
Fruit Slicer
Jan 02, 2016
Plays: 2,211

Fruit Slicer ScreenshotSlice the fruit that is thrown up onto the screen. Slice the fruit into multiple pieces for maximum points!

1 Rating/5 Average