분류 전체보기172 결합 속성(?) Attached Property Dependency Property 중에 다른 하나인 Attached Property 를 정리해 봅니다. 1. Declare Attached Property Classusing System;using System.Linq;using System.Windows;using System.Windows.Controls; namespace SteveDependencyProperties.AttachedProperties{ /// /// AttachedProperty class declare /// public static class MyTestAttachedProperties { /// /// DependencyProperty.RegisterAttached /// public static readonly Depen.. 2015. 4. 8. 의존 속성(Dependency Object) WPF 중요 개념중에 하나인 Dependency Object에 대해서 xaml, cs 중심으로 알아 보겠습니다. 1. Declare DependencyObject Classusing System;using System.Diagnostics;using System.Linq;using System.Windows; namespace SteveDependencyProperties.DependencyProperties{ /// /// Inheritance DependencyObject Class /// public class MyTestDependencyObject : DependencyObject { /// /// Regist Dependency Object /// public static readonly De.. 2015. 4. 8. 사용자 정의 이벤트 만들기 [XAML] [CS]namespace CommonUserControl.CommonCtrl{ public class CustomEventCtrlArgs : RoutedEventArgs { public CustomEventCtrlArgs(RoutedEvent routedEvent, object source) : base(routedEvent, source) { } } /// /// Interaction logic for CustomEventUserControl.xaml /// public partial class CustomEventUserControl : UserControl { public static readonly RoutedEvent CustomCtrlEvent = EventManager.Regis.. 2015. 4. 8. 윈도우 8 메트로 스타일 App Deploy 관련해서... 윈도우 8 전용 어플리케이션을 Deploy 하는 방법은 크게 아래 3가지가 있습니다. 윈도우 8 메트로 스타일 어플리케이션은 기존 일반적인 방법으로 디플로이 할 수 없습니다. 아래 방법을 따라야 합니다.Metro-style apps aren't meant to be run as ordinary applications. If you want to run an application you wrote, you can do one of the following:비주얼 스튜디오를 이용해서 실행 해야 합니다. (Run it from VS (with or without debugging). This will actually install unpackaged version of your app, so you will .. 2015. 4. 8. 이전 1 ··· 27 28 29 30 31 32 33 ··· 43 다음