Header menu logo Fittings

DependencyProps Module

A module to provide DependencyProperties and their bindings Includes extension methods for Button, Grid, TextBox

Functions and values

Function or value Description

dockPanelVert (top, center, bottom)

Full Usage: dockPanelVert (top, center, bottom)

Parameters:
Returns: DockPanel
top : UIElement
center : UIElement
bottom : UIElement
Returns: DockPanel

makeContextMenu xs

Full Usage: makeContextMenu xs

Parameters:
    xs : 'a list

Returns: ContextMenu
xs : 'a list
Returns: ContextMenu

makeGrid xs

Full Usage: makeGrid xs

Parameters:
Returns: Grid
xs : UIElement list
Returns: Grid

makeGridLength len

Full Usage: makeGridLength len

Parameters:
    len : float

Returns: GridLength
len : float
Returns: GridLength

makeMenu xss

Full Usage: makeMenu xss

Parameters:
Returns: Menu
xss : (MenuItem * Control list) list
Returns: Menu

makePanelHor xs

Full Usage: makePanelHor xs

Parameters:
    xs : 'a list

Returns: StackPanel
xs : 'a list
Returns: StackPanel

makePanelVert xs

Full Usage: makePanelVert xs

Parameters:
    xs : 'a list

Returns: StackPanel
xs : 'a list
Returns: StackPanel

setGridHorizontal grid xs

Full Usage: setGridHorizontal grid xs

Parameters:

clear Grid first and then set with new elements

grid : Grid
xs : (UIElement * RowDefinition) list

setGridVertical grid xs

Full Usage: setGridVertical grid xs

Parameters:

clear Grid first and then set with new elements

grid : Grid
xs : (UIElement * ColumnDefinition) list

updateMenu menu xss

Full Usage: updateMenu menu xss

Parameters:
menu : Menu
xss : (MenuItem * Control list) list

Type extensions

Type extension Description

Grid.Column(value)

Full Usage: Grid.Column(value)

Parameters:
    value : int

Returns: DependencyPropertyValuePair

Extended Type: Grid

value : int
Returns: DependencyPropertyValuePair

Button.CommandBinding(binding)

Full Usage: Button.CommandBinding(binding)

Parameters:
Returns: DependencyPropertyBindingPair

Extended Type: Button

binding : BindingBase
Returns: DependencyPropertyBindingPair

Grid.Row(value)

Full Usage: Grid.Row(value)

Parameters:
    value : int

Returns: DependencyPropertyValuePair

Extended Type: Grid

value : int
Returns: DependencyPropertyValuePair

TextBox.TextBinding(binding)

Full Usage: TextBox.TextBinding(binding)

Parameters:
Returns: DependencyPropertyBindingPair

Extended Type: TextBox

binding : BindingBase
Returns: DependencyPropertyBindingPair

Type something to start searching.