博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Learning note for Binding and validation
阅读量:4680 次
发布时间:2019-06-09

本文共 658 字,大约阅读时间需要 2 分钟。

Summary of my learning note for WPF

Binding

  • Binding to DataSet.

    when we want to add new record, we should modify DataTable, not the DataTableView.
  • Validation when Binding

    we can get the detail descrition from .

    For ValidationRules, generally, we have three validaterule type: ExceptionValidationRule, DataErrorValidationRule,CustomervalidationRule

    ExceptionValidationRule: you can refer

    DataErrorValidationRule: you can refer

    CustomerErrorValidation: you canrefer

  • Binding Group

    if we hope to apply validationg over a set of propeties, we can use binding group and add validationrule to it.

    refer link in

转载于:https://www.cnblogs.com/kongshu-612/p/5457608.html

你可能感兴趣的文章
vim代码格式化插件clang-format
查看>>
What does the dot after dollar sign mean in jQuery when declaring variables?
查看>>
windows registry
查看>>
jquery 动画总结(主要指效果函数)
查看>>
leetcode-17-电话号码的字母组合’
查看>>
Flume 示例
查看>>
Designing for Performance
查看>>
HTML属性的应用
查看>>
HEAP CORRUPTION DETECTED
查看>>
Android URI简单介绍
查看>>
蒙板 模态对话框
查看>>
pythong中的全局变量的调用和嵌套函数中变量的使用
查看>>
【POJ - 3009】Curling 2.0 (dfs+回溯)
查看>>
Windows下载安装良心教程
查看>>
Android上下文菜单ContextMenu
查看>>
【bzoj4543】Hotel加强版(thr)
查看>>
React-Native学习手册----搭建基于ios平台的开发环境
查看>>
[stm32] 中断
查看>>
L1-043 阅览室
查看>>
RTP Payload Format for Transport of MPEG-4 Elementary Streams over http
查看>>