-
[C#] Observable.FromEvent<>()C#/기초 2023. 12. 27. 13:52
Observable.FromEvent( addHandler , removeHandler) Type Parameters TEventArgs The type of event. Parameters addHandler Type: System.Action Action that attaches the given event handler to the underlying .NET event. removeHandler Type: System.Action Action that detaches the given event handler from the underlying .NET event. Return Value Type: System.IObservable Observable sequence th..
-
[C#] NuGet Package ExplorerC#/기초 2023. 12. 22. 13:47
NuGet Package Explorer Install https://apps.microsoft.com/detail/9WZDNCRDMDM3?hl=en-US&gl=US NuGet Package Explorer - Official app in the Microsoft Store IMPORTANT: This app works with Windows 10 Pro and Home. This app performs with core functionality on Windows 10 S but binary enumeration and plugins do not work. This app allows browsing NuGet packages from an online feed and viewing contents o..
-
[DX_WPF] DockLayoutManager SaveLayoutDevExpress/DX_WPF 2023. 12. 14. 15:47
* VS2022 ,.net6, prism, DevExpress 23.1.5 현재 제대로 동작 안함.( DockLayout 위치 중구난방, Region 잃어버리는 현상) Dock 서비스 클래스 서비스 주입된 xaml 소스의 관련 오브젝트 DockLayoutManager 로 가져와서 처리. xaml DockLayoutManager 안에 Behavior등록 이벤트 핸들러 이벤트 핸들러에 메소드 등록 이벤트 핸들러 실행. DevExpress control Save/Restore하려면 각 컨트롤에게 key를 부여해야 함. https://docs.devexpress.com/WPF/7391/common-concepts/save-and-restore-layouts?utm_source=SupportCenter&utm_m..
-
[C#] Using AppDomain in C#C#/기초 2023. 12. 12. 17:14
https://stackoverflow.com/questions/6578170/using-appdomain-in-c-sharp-to-dynamically-load-and-unload-dll Using AppDomain in C# to dynamically load and unload dll In one of my application, which is related to system diagnostics, the related DLL is to be loaded and unloaded dynamically in C#. After some search I found that a separate DLL cannot be loaded stackoverflow.com https://learn.microsoft...
-
[WPF] ListBox SelectItem Don't FocusC#/WPF 2023. 12. 7. 16:29
ItemsControl 사용하기 https://stackoverflow.com/questions/1398559/there-is-no-listbox-selectionmode-none-is-there-another-way-to-disable-select There is no ListBox.SelectionMode="None", is there another way to disable selection in a listbox? How do I disable selection in a ListBox? stackoverflow.com
-
[C#] _ =C#/기초 2023. 11. 30. 13:28
https://drehzr.tistory.com/989 기본기)c#) 무시 항목 무시 항목 C# 7.0부터 C#에서는 애플리케이션 코드에서 의도적으로 사용되지 않는 자리 표시자 변수인 무시 항목을 지원합니다. 무시 항목은 할당되지 않은 변수에 해당하므로 값을 가지지 않는 drehzr.tistory.com https://learn.microsoft.com/ko-kr/dotnet/csharp/fundamentals/functional/discards Dis카드s - 할당되지 않은 dis카드able 변수 - C# 할당되지 않은 무시 가능한 변수인 무시 항목에 대한 C#의 지원과 무시 항목을 사용할 수 있는 방법에 관해 설명합니다. learn.microsoft.com
-
[Prism] Command ObservesPropertyC#/Prism 2023. 11. 29. 13:17
프로퍼티 bool 값에 따른 Command 실행 EX) private bool _isChecked; public bool IsChecked { get { return _isChecked; } set { SetProperty(ref _isChecked, value); } } private DelegateCommand _navigateCommand; public DelegateCommand NavigateCommand => //_navigateCommand ?? (_navigateCommand = new DelegateCommand(ExecuteNavigateCommand).ObservesCanExecute(() => IsChecked)); _navigateCommand ?? (_navigateCommand..
-
[DX_WPF] DevExpress Create a Custom ServiceDevExpress/DX_WPF 2023. 11. 29. 08:45
https://docs.devexpress.com/WPF/16920/mvvm-framework/services/create-a-custom-service Create a Custom Service | WPF Controls | DevExpress Documentation This topic describes how to create a custom service if predefined services do not suit your requirements. Note If you need to implement the logic that should access a UI element in the View Model code, you can use the UIObjectService instead. Fol..