C#/WPF
-
[WPF] wpf vertical split defaultC#/WPF 2023. 3. 5. 17:59
https://stackoverflow.com/questions/26645795/visual-studio-settings-how-to-set-vertical-split-view-to-default Visual Studio settings: How to set vertical split view to default I am working with C#(WPF) and when I open XAML file it splits to Vertical every time, I'm changing to Horizontal, but when I reopen again it still Vertical, is it possible to set default to Horizon... stackoverflow.com
-
-
[WPF] Multiple BindingC#/WPF 2023. 3. 3. 09:14
//0번슬랏 //1번슬랏 https://stackoverflow.com/questions/2552853/how-to-bind-multiple-values-to-a-single-wpf-textblock How to bind multiple values to a single WPF TextBlock? I'm currently using the TextBlock below to bind the value of a property named Name: Now, I want to bind another property named ID to the same TextBlock. ... stackoverflow.com
-
[WPF] Binding RelativeSource, ElementNameC#/WPF 2023. 3. 3. 08:58
CommandParameter Binding 시 ElementName 사용 예시 Command Binding 시 RelativeSource 사용 예시 한 단계 위의 UserControl소스의 DataContext의 ItemClickCommand에 바인딩. ■ Binding 태그 확장의 RelativeSource 속성을 사용하는 방법을 보여준다. ▶ TextBlock 자신이 바인딩 소스인 경우 (C#) 여기서 self는 TextBlock의 DataContext를 접근하려는 경우는 이런 식으로 DataContext.프로퍼티네임 으로 접근 ▶ TextBlock 기준 1단계 위의 StackPanel이 바인딩 소스인 경우 (C#) ▶ TextBlock 기준 2단계 위의 StackPanel이 바인딩 소스인 경우 (..
-
[WPF] JsonConvert, 직렬화C#/WPF 2023. 2. 22. 16:03
using Newtonsoft.Json; https://learn.microsoft.com/ko-kr/dotnet/standard/serialization/system-text-json/how-to?pivots=dotnet-8-0 C에서 JSON을 직렬화 및 역직렬화하는 방법# - .NET System.Text.Json 네임스페이스를 사용하여 .NET에서 JSON으로 직렬화 및 역직렬화하는 방법을 알아봅니다. 샘플 코드가 포함되어 있습니다. learn.microsoft.com https://devstarsj.github.io/development/2016/06/11/CSharp.NewtonJSON/ Newtonsoft.Json 사용법 C# 에서 JSON document를 다루기 위해 가장 많이 사용되는 ..
-
-