xmlns:my="clr-namespace:Test_name" Xaml 컨트롤에서 사용
try { PrintDialog printDialog = new PrintDialog(); // 프린트 다이얼로그 생성 printDialog.PrintTicket.PageOrientation = System.Printing.PageOrientation.Landscape; printDialog.PageRangeSelection = PageRangeSelection.AllPages; printDialog.SelectedPagesEnabled = true; printDialog.UserPageRangeEnabled = true; string return_value = string.Empty; if (Print_Queue == true) { Print_Queue = false; printDialog.MaxPag..
# 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
- Linux SSH Multi Computer Join
- Xamarin.Ios Firebase Phone Auth
- WPF Textbox
- Xamarin.Forms
- Xamarin.Ios Firebase Phone User Add
- 서버 수준의 URN 필터
- ClickOnce 인증서 인증기간 변경
- C# LINQ Left join
- c# Encrypt / Decrypt
- Label Text LineBreak in Xaml
- Xamarin.Ios Firebase Phone SMS OTP Send
- WPF Datagrid Cell Value Change
- Xamarin reCAPTCHA
- Xamarin Firebase Phone Auth
- FileStream Add Byte
- GetCellContent CheckBox Value
- Entry '' has empty native path
- SkiaSharp
- WPF Excel Export Microsoft.Office.Interop 성능향상(열 기준으로 복사)
- Embeded 한글Font적용
- Windows IIS FTP 디렉토리 목록 오류
- WPF Scrollviewer in ScrollViwer
- ssl_client_socket_impl.cc
- Xamarin SMS OTP Send
- Microcharts
- 암호 마스터키
- Xamarin Firebase Phone User Add
- 연산자 뒤에 피연산자가 없습니다.
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |