»Ë»Ñ Æ÷·³
°³¹ßÀÚÆ÷·³ ÀÔ´Ï´Ù.
  • ºÏ¸¶Å© ¾ÆÀÌÄÜ

DevExpress Xamarin Datagrid ¹ÙÀεùÇÏ´Â ¹æ¹ý1

  • ÇÏ¿ÂÀ±
  • µî·ÏÀÏ 2023-02-02 13:19
  • Á¶È¸¼ö 581
publicclassPhotometricMeasureData: INotifyPropertyChanged {public string No { get; set;}public string Cell { get; set;}public DateTime DateTime { get; set;}public List<float>ABS{ get; set;}=newList<float>();public List<float> Trans { get; set;}=newList<float>();public List<float> OriginABS { get; set;}=newList<float>();public List<float> OriginTrans { get; set;}=newList<float>();public event PropertyChangedEventHandler PropertyChanged;voidOnPropertyChanged(string propertyName){ PropertyChanged?.Invoke(this,newPropertyChangedEventArgs(propertyName));}}

 

 

 

 

 

//// [Wave header »ý¼º] TextColumn cNo = GridUtil.Instance.SetColumn(ColumnTypes.Text,"No","No",75)as DevExpress.XamarinForms.DataGrid.TextColumn;this.xDataGrid.Columns.Add(cNo);// [ÆÄÀå°ª ÀÔ·Â]for(int i =0; i <this.m_Model.WaveLength.Count; i++){ string strID = string.Empty; string strTitle = string.Empty;if((DisplayDataType)Enum.Parse(typeof(DisplayDataType),this.m_Model.DisplayDataUnitType.ToString())== DisplayDataType.ABS){ strID = string.Format("ABS[{0}]", i); strTitle = string.Format("A[{0}]",this.m_Model.WaveLength[i]); TemplateColumn Col = GridUtil.Instance.SetColumn(ColumnTypes.LabelTemplate, strID, strTitle,150,this.m_Model.MeasureData)as TemplateColumn;this.xDataGrid.Columns.Add(Col);}else{ strID = string.Format("Trans[{0}]", i); strTitle = string.Format("T[{0}]",this.m_Model.WaveLength[i]); TemplateColumn Col = GridUtil.Instance.SetColumn(ColumnTypes.LabelTemplate, strID, strTitle,150,this.m_Model.MeasureData)as TemplateColumn;this.xDataGrid.Columns.Add(Col);}}

 

 

 

Á¦°¡ ¿øÇÏ´Â ÇüÅÂÀÇ °á°ú ÀÔ´Ï´Ù.

±Ùµ¥ ¹ÙÀεùÀÌ µÇÁú ¾Ê½À´Ï´Ù. ÀÌ·± ÇüÅ·Π¹ÙÀεù ÇÒ ¼ö ÀÖ´Â ¹æ¹ýÀÌ ÀÖ½À´Ï±î?

0
ÃßõÇϱ⠴ٸ¥ÀÇ°ß 0
|
°øÀ¯¹öÆ°

´Ù¸¥ÀÇ°ß 0 Ãßõ 0 [* ºñȸ¿ø *]
  • ¾Ë¸² ¿å¼³, »óó ÁÙ ¼ö ÀÖ´Â ¾ÇÇÃÀº »ï°¡ÁÖ¼¼¿ä.
©¹æ »çÁø  
¡â ÀÌÀü±Û¡ä ´ÙÀ½±Û