예제 #1
0
 public virtual void SetReadOnly(bool readOnly)
 {
     this.IsReadOnly = readOnly;
     if (InputGridPropertiesPanel != null)
     {
         InputGridPropertiesPanel.SetReadOnly(readOnly);
     }
 }
예제 #2
0
        protected virtual void InitializeComponents()
        {
            InputGridPropertiesPanel = new InputGridPropertiesPanel();

            this.Background  = System.Windows.Media.Brushes.White;
            this.BorderBrush = System.Windows.Media.Brushes.White;

            //Uri rd1 = new Uri("../Resources/Styles/TabControl.xaml", UriKind.Relative);
            //this.Resources.MergedDictionaries.Add(Application.LoadComponent(rd1) as ResourceDictionary);
            this.GridBrowser = new GridBrowser();
            this.Content     = this.GridBrowser;
        }
예제 #3
0
 /// <summary>
 /// Cette méthode permet valider les données éditée.
 /// </summary>
 /// <returns>true si les données sont valides</returns>
 public bool validateEdition()
 {
     return(InputGridPropertiesPanel.validateEdition());
 }