Binding

It is possible to display data in a document by binding a content control to a data source
You can retrieve data from a data source as well as updating a data source with the content control data.
You can bind content controls to database fields or managed objects by using the same data binding model as Windows Forms.
You can bind content controls to elements in pieces of XML that are embedded in the document.



Binding to Custom XML Parts

You can bind the following content controls to elements in custom xml parts that are embedded in the document
ComboBoxContentControl
DatePickerContentControl
DropDownListContentControl
PictureContentControl
PlainTextContentControl


To bind a content control to an xml element you can use the XMLMapping property

ContentControl.XMLMapping.SetMapping("//Category1/Name", String.Empty, null); 


Events

ContentUpdating - ContentControlBeforeContentUpdate
StoreUpdating - ContentControlBeforeStoreUpdate
Validating
Validated



© 2024 Better Solutions Limited. All Rights Reserved. © 2024 Better Solutions Limited TopPrevNext