# Xaml #CS // Error1. CheckBox mycheckbox = dataGrid1.Columns[7].GetCellContent(dataGrid1.Items[Row_num])) as CheckBox; // Error2. bool? chks = ((CheckBox)dataGrid1.Columns[7].GetCellContent(dataGrid1.Items[Row_num])).IsChecked;).IsChecked;) // Solved FrameworkElement item = dataGrid1.Columns[7].GetCellContent(dataGrid1.Items[Row_num]); DataGridTemplateColumn temp = (dataGrid1.Columns[7] as Data..
https://docs.microsoft.com/en-us/dotnet/framework/wpf/graphics-multimedia/how-to-animate-a-rectangle How to: Animate a Rectangle - WPF How to: Animate a Rectangle In this article --> This example shows how to animate changes to the size and position of a rectangle. Example The following example uses an instance of the RectAnimation class to animate the Rect property of a RectangleGeometry docs.m..
DataTable Column Sum Total DataTable sumDataTable = new DataTable(); sumDataTable.Columns.Add("total", typeof(string)); sumDataTable.Columns.Add("workedhours", typeof(int)); sumDataTable.Columns.Add("tfshours", typeof(int)); DataRow row = sumDataTable.NewRow(); row["total"] = "Total"; row["workedhours"] = oldDataTable.Compute("Sum(workedhours)", "workedhours > 0"); row["tfshours"] = oldDataTable..
private void Text_body_KeyDown(object sender, KeyEventArgs e) { var myTextBox = (TextBox)sender; int caret = myTextBox.CaretIndex; int iLine = myTextBox.GetLineIndexFromCharacterIndex(caret); if (iLine < 11) { e.Handled = true; return; } }
https://stackoverflow.com/questions/27157390/wpf-custom-window-windows-edge-resize-feature Wpf custom window, Windows edge resize feature Got a custom wpf window (WindowStyle=None, AllowTransparancy=true) and wondering how to get Windows edge resize features to work.. you know when draging window and mouse touches left, right or top ... stackoverflow.com
Microsoft.Office.Interop을 사용하여 셀별로 복사하면 너무오래걸려 Row 일괄 복사하도록하여 성능향상 DataGrid -> DataView -> DataTable 로 변환하고 foreach 에서 DataRow 별로 일괄 붙이기. DataView Dview = (DataView)result_grid2.ItemsSource as DataView; DataTable Ex_table = Dview.Table; string excelRange1 = "A" + cellRowIndex;// 복사 시작범위 string excelRange2 = "BL" + cellRowIndex;// 복사 종료범위 worksheet.Range[excelRange1, excelRange2].Value2 = dr.Item..
- Total
- Today
- Yesterday
- 연산자 뒤에 피연산자가 없습니다.
- ClickOnce 인증서 인증기간 변경
- Xamarin reCAPTCHA
- Xamarin SMS OTP Send
- c# Encrypt / Decrypt
- Linux SSH Multi Computer Join
- Xamarin.Ios Firebase Phone Auth
- Xamarin.Ios Firebase Phone SMS OTP Send
- Embeded 한글Font적용
- SkiaSharp
- Xamarin Firebase Phone User Add
- 암호 마스터키
- WPF Scrollviewer in ScrollViwer
- Microcharts
- ssl_client_socket_impl.cc
- FileStream Add Byte
- Entry '' has empty native path
- 서버 수준의 URN 필터
- Xamarin Firebase Phone Auth
- Xamarin.Forms
- WPF Excel Export Microsoft.Office.Interop 성능향상(열 기준으로 복사)
- Windows IIS FTP 디렉토리 목록 오류
- C# LINQ Left join
- GetCellContent CheckBox Value
- Xamarin.Ios Firebase Phone User Add
- WPF Datagrid Cell Value Change
- Label Text LineBreak in Xaml
- WPF Textbox
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | |||||
| 3 | 4 | 5 | 6 | 7 | 8 | 9 |
| 10 | 11 | 12 | 13 | 14 | 15 | 16 |
| 17 | 18 | 19 | 20 | 21 | 22 | 23 |
| 24 | 25 | 26 | 27 | 28 | 29 | 30 |
| 31 |