분류 전체보기
-
[DX_WPF] Localization FolderDevExpress/DX_WPF 2024. 2. 7. 07:48
DevExpress 사용하면 Output Folder에 언어 지역화 폴더 자동생성. (by Default) 자동생성 막으려면 아래 참조. https://docs.devexpress.com/GeneralInformation/404608/localization#satellite-resource-assemblies Localization | General Information | DevExpress Documentation Localization allows you to translate DevExpress UI controls and components into different languages. From straightforward localization with pre-built satellite re..
-
[DX_WPF] IRegion VisualSerializationModeDevExpress/DX_WPF 2024. 2. 6. 07:35
Hello, The VisualSerializationMode property defines how visual components associated with corresponding regions save their layouts. This feature is supported for a certain number of controls. Please refer to the following help topic: Save/Restore Control Layout. These are the available values from the VisualSerializationMode enumeration and their functions: Disabled - The feature is disabled; Pe..
-
[C#] Instance is TypeC#/기초 2024. 2. 2. 11:52
인스턴스 value가 어떤 타입(sub타입)인지 알고 싶을 때 public interface IContainerRegistry: ICustomContainer public interface IContainerProvider : ICustomContainer public class SimpleContainer : SimpleInjector.Container, IContainerRegistry, IContainerProvider ICustomContainer customContainer = new SimpleContainer; if (customContainer is SimpleContainer) // True https://stackoverflow.com/questions/3561202/check-if-i..
-
[DX_WPF] Pagination or Infinite ScrollDevExpress/DX_WPF 2024. 1. 26. 15:51
https://docs.devexpress.com/WPF/9788/controls-and-libraries/data-grid/paging-and-scrolling Paging and Scrolling | WPF Controls | DevExpress Documentation docs.devexpress.com https://stackoverflow.com/questions/8691467/wpf-listbox-generate-items-as-user-scrolls WPF ListBox generate items as user scrolls I am trying to use a ListBox to display a possibly infinite list of options to a user. Current..
-
[DX_WPF] Dynamic Module Project CreateDevExpress/DX_WPF 2024. 1. 26. 14:34
# 프로젝트 생성 절차.1. WPF 프로젝트 생성. Dev 템플릿에서 만들어지는 디렉토리에 맞추기 위해 Location에 같은 이름의 디렉토리 경로 하나 더 추가. .NET 7.0 사용. => Class 이름 변경. 2. 프로젝트 설정 => enable 삭제 3. IDynamicModule 추가.IDynamicModule 은 DXModularWithDynamic.Common에 Package로 참조 되어있음.같은 솔루션 내 프로젝트면 인텔리젠스로 간단하게 Common 참조. 아래와 같이 인터페이스 참조한 상태면 동적 로드 준비 완료. 4. View&ViewModel 추가 아래 빨간박스 확인하고 추가. 4.1 View => 삭제 4.2 ViewModel아래와 같이 구성 추가기본으로 구성되는 ..
-
[WPF] IOC, IServiceProviderC#/WPF 2024. 1. 26. 09:56
Ioc Container 는 Resolve(=GetInstance)하면 locked 걸리면선 Register안됨. Register 할거 있으면 먼저 다 하고 Resolve 진행. (=> Resolve 는 IServiceProvider의 기능이라고 보면 됨.) IServiceProvider (=> 서비스릉 등록하고 Get하는 등. 생성자에 주입하는 기능등.) Ioc Container에 등록된 서비스는 Constructor DI 가능. ex) Register DoucumentModule 서비스 customContainer.RegisterSingleton(); Constructor Di public ModuleAViewModel(IDocumentModule documentModule) { this.docume..