예제 #1
0
 protected override void SetControlReadOnly(ReadOnlyStatus value)
 {
     this.Control.IsReadOnly = value;
 }
예제 #2
0
 protected override void SetControlReadOnly(ReadOnlyStatus value)
 {
     _listEditor.IsReadOnly = value;
 }
예제 #3
0
파일: LogicalView.cs 프로젝트: yungtau/oea
 /// <summary>
 /// 子类实现本方法设置控件的只读性。
 /// </summary>
 /// <param name="value"></param>
 protected virtual void SetControlReadOnly(ReadOnlyStatus value)
 {
     throw new NotSupportedException("当前视图不支持设置 IsReadOnly 属性。");
 }
예제 #4
0
 protected override void SetControlReadOnly(ReadOnlyStatus value)
 {
     _listEditor.IsReadOnly = value;
 }
예제 #5
0
 protected override void SetControlReadOnly(ReadOnlyStatus value)
 {
     //报表永远只读。
 }
예제 #6
0
 protected override void SetControlReadOnly(ReadOnlyStatus value)
 {
     //报表永远只读。
 }
예제 #7
0
 /// <summary>
 /// 设置初始的 IsReadOnly 的值。
 /// </summary>
 internal void SetInitVallue()
 {
     var indicator = this.Meta.ReadonlyIndicator;
     switch (indicator.Status)
     {
         case ReadOnlyStatus.None:
         case ReadOnlyStatus.ReadOnly:
             this.IsReadOnly = indicator.Status;
             break;
         case ReadOnlyStatus.Dynamic:
             this.BindDymanicReadOnly();
             break;
         default:
             break;
     }
 }
예제 #8
0
 protected override void SetControlReadOnly(ReadOnlyStatus value)
 {
     this.Control.IsReadOnly = value;
 }