Frame Properties |
The Frame type exposes the following members.
Name | Description | |
---|---|---|
CustomExpanders |
Configures how reflection-based expansion behaves - see also `df.ExpandColumns`.
This (mutable, non-thread-safe) collection lets you specify custom expansion behavior
for any type. This is a dictionary with types as keys and functions that implement the
expansion as values.
## Example
For example, say you have a type `MyPair` with propreties `Item1` of type `int` and
`Item2` of type `string` (and perhaps other properties which makes the default behavior
inappropriate). You can register custom expander as:
Frame.CustomExpanders.Add(typeof<MyPair>, fun v ->
let a = v :?> MyPair
[ "First", typeof<int>, box a.Item1;
"Second", typeof<string>, box a.Item2 ] :> seq<_> )
[category:Configuration]
| |
NonExpandableInterfaces |
Configures how reflection-based expansion behaves - see also `df.ExpandColumns`.
This (mutable, non-thread-safe) collection specifies interfaces whose implementations
should not be expanded. By default, this includes collections such as IList.
[category:Configuration]
| |
NonExpandableTypes |
Configures how reflection-based expansion behaves - see also `df.ExpandColumns`.
This (mutable, non-thread-safe) collection specifies additional primitive (but reference)
types that should not be expaneded. By default, this includes DateTime, string, etc.
[category:Configuration]
|