{"id":43227,"date":"2024-11-26T12:26:18","date_gmt":"2024-11-26T12:26:18","guid":{"rendered":"https:\/\/atmokpo.com\/w\/?p=43227"},"modified":"2024-11-26T12:26:18","modified_gmt":"2024-11-26T12:26:18","slug":"prism-017-prism%ec%9d%98-%ec%8a%a4%ed%83%80%ec%9d%bc-%eb%b0%8f-%ed%85%8c%eb%a7%88-%eb%8d%b0%ec%9d%b4%ed%84%b0-%ed%85%9c%ed%94%8c%eb%a6%bf%ea%b3%bc-controltemplate-%ec%82%ac%ec%9a%a9%ed%95%98","status":"publish","type":"post","link":"https:\/\/atmokpo.com\/w\/43227\/","title":{"rendered":"[Prism]  017. Prism\uc758 \uc2a4\ud0c0\uc77c \ubc0f \ud14c\ub9c8, \ub370\uc774\ud130 \ud15c\ud50c\ub9bf\uacfc ControlTemplate \uc0ac\uc6a9\ud558\uae30"},"content":{"rendered":"<p>WPF(Windows Presentation Foundation)\uc758 Prism \ud504\ub808\uc784\uc6cc\ud06c\ub294 \ubaa8\ub4c8\ud654 \ubc0f MVVM(\ubaa8\ub378-\ubdf0-\ubdf0\ubaa8\ub378) \ud328\ud134\uc744 \uae30\ubc18\uc73c\ub85c \ud558\ub294 \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \uac1c\ubc1c\uc744 \uc704\ud55c \uac15\ub825\ud55c \ub3c4\uad6c\uc785\ub2c8\ub2e4. \uc774 \uae00\uc5d0\uc11c\ub294 Prism\uc744 \uc0ac\uc6a9\ud558\uc5ec \uc2a4\ud0c0\uc77c \ubc0f \ud14c\ub9c8\ub97c \uc815\uc758\ud558\uace0, \ub370\uc774\ud130 \ud15c\ud50c\ub9bf \ubc0f ControlTemplate\uc744 \ud65c\uc6a9\ud558\ub294 \ubc29\ubc95\uc5d0 \ub300\ud574 \uae4a\uc774 \uc0b4\ud3b4\ubcf4\uaca0\uc2b5\ub2c8\ub2e4.<\/p>\n<h2>1. Prism\uacfc \uc2a4\ud0c0\uc77c \ubc0f \ud14c\ub9c8\uc758 \uc911\uc694\uc131<\/h2>\n<p>\uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc758 \uc0ac\uc6a9\uc790 \uacbd\ud5d8(UX)\uc744 \ud5a5\uc0c1\uc2dc\ud0a4\uae30 \uc704\ud574\uc11c\ub294 \uc77c\uad00\ub41c \uc2a4\ud0c0\uc77c\uacfc \ub9e4\ub825\uc801\uc778 \ud14c\ub9c8\uac00 \ud544\uc218\uc801\uc785\ub2c8\ub2e4. Prism \ud504\ub808\uc784\uc6cc\ud06c\ub294 UI\ub97c \ubaa8\ub4c8\ud654\ud558\uc5ec \uad00\ub9ac\ud560 \uc218 \uc788\ub294 \uae30\ub2a5\uc744 \uc81c\uacf5\ud558\ubbc0\ub85c, \uc2a4\ud0c0\uc77c\uacfc \ud14c\ub9c8\ub97c \ud6a8\uacfc\uc801\uc73c\ub85c \uc801\uc6a9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. WPF\ub294 XAML\uc744 \ud1b5\ud574 \uc2a4\ud0c0\uc77c \ubc0f \ud14c\ub9c8\ub97c \uc27d\uac8c \uc815\uc758\ud560 \uc218 \uc788\ub3c4\ub85d \ub3c4\uc640\uc90d\ub2c8\ub2e4.<\/p>\n<h3>1.1 \uc2a4\ud0c0\uc77c\uc758 \uc815\uc758<\/h3>\n<p>WPF\uc5d0\uc11c \uc2a4\ud0c0\uc77c\uc740 UI \uc694\uc18c\uc758 \uc2dc\uac01\uc801 \uc18d\uc131\uc744 \uc815\uc758\ud558\ub294 XAML \uac1d\uccb4\uc785\ub2c8\ub2e4. \uc2a4\ud0c0\uc77c\uc744 \uc0ac\uc6a9\ud558\uba74 \uc5ec\ub7ec UI \uc694\uc18c\uc5d0 \uac78\uccd0 \uc77c\uad00\ub41c \uc18d\uc131\uc744 \uc801\uc6a9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<pre><code>&lt;Window x:Class=\"PrismApp.MainWindow\" xmlns=\"http:\/\/schemas.microsoft.com\/winfx\/2006\/xaml\/presentation\" xmlns:x=\"http:\/\/schemas.microsoft.com\/winfx\/2006\/xaml\"&gt;\n    &lt;Window.Resources&gt;\n        &lt;Style TargetType=\"Button\"&gt;\n            &lt;Setter Property=\"Background\" Value=\"LightBlue\"\/&gt;\n            &lt;Setter Property=\"Foreground\" Value=\"White\"\/&gt;\n            &lt;Setter Property=\"FontSize\" Value=\"14\"\/&gt;\n        &lt;\/Style&gt;\n    &lt;\/Window.Resources&gt;\n    &lt;Grid&gt;\n        &lt;Button Content=\"Click Me\" Width=\"100\" Height=\"50\"\/&gt;\n    &lt;\/Grid&gt;\n&lt;\/Window&gt;\n<\/code><\/pre>\n<p>\uc704\uc758 \ucf54\ub4dc\uc5d0\uc11c \ubc84\ud2bc\uc5d0 \ub300\ud55c \uae30\ubcf8 \uc2a4\ud0c0\uc77c\uc744 \uc815\uc758\ud588\uc2b5\ub2c8\ub2e4. \uc774 \uc2a4\ud0c0\uc77c\uc740 \ubaa8\ub4e0 \ubc84\ud2bc\uc5d0 \ub300\ud574 \ubc30\uacbd\uc0c9, \uc804\uacbd\uc0c9 \ubc0f \uae00\uaf34 \ud06c\uae30\ub97c \uc77c\uad00\ub418\uac8c \uc801\uc6a9\ud569\ub2c8\ub2e4.<\/p>\n<h3>1.2 \ud14c\ub9c8\uc758 \uc801\uc6a9<\/h3>\n<p>\ud14c\ub9c8\ub294 \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \uc804\uccb4\uc758 \uc2dc\uac01\uc801 \uc694\uc18c\ub97c \uc815\uc758\ud558\ub294 \ubc29\ubc95\uc785\ub2c8\ub2e4. Prism\uc744 \ud65c\uc6a9\ud558\uc5ec \ud14c\ub9c8\ub97c \uc801\uc6a9\ud558\uba74, \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc758 \uc804\uccb4\uc801\uc778 \ubcf4\uae30\uc640 \ub290\ub08c\uc744 \uc27d\uac8c \ubc14\uafc0 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<pre><code>&lt;ResourceDictionary Source=\"pack:\/\/application:,,,\/PrismApp;component\/Themes\/LightTheme.xaml\"\/&gt;\n<\/code><\/pre>\n<p>\uc704\uc758 \ucf54\ub4dc \uc870\uac01\uc744 \ud1b5\ud574 \ub2e4\ub978 XAML \ud30c\uc77c\uc5d0\uc11c \ud14c\ub9c8 \ub9ac\uc18c\uc2a4 \uc0ac\uc804\uc744 \ubd88\ub7ec\uc624\ub294 \ubc29\ubc95\uc744 \ubcf4\uc5ec\uc90d\ub2c8\ub2e4. LightTheme.xaml \ud30c\uc77c\uc740 \ub2e4\uc591\ud55c UI \uc694\uc18c\uc5d0 \ub300\ud55c \uc2a4\ud0c0\uc77c\uacfc \ud15c\ud50c\ub9bf\uc744 \uc815\uc758\ud569\ub2c8\ub2e4.<\/p>\n<h2>2. \ub370\uc774\ud130 \ud15c\ud50c\ub9bf<\/h2>\n<p>\ub370\uc774\ud130 \ud15c\ud50c\ub9bf\uc740 \ub370\uc774\ud130\uc758 \uc2dc\uac01\uc801 \ud45c\ud604\uc744 \uc815\uc758\ud558\ub294\ub370 \uc0ac\uc6a9\ub429\ub2c8\ub2e4. \ub370\uc774\ud130 \ud15c\ud50c\ub9bf\uc744 \uc0ac\uc6a9\ud558\uba74 \ub370\uc774\ud130\uac00 \uc5b4\ub5bb\uac8c \ud45c\uc2dc\ub418\ub294\uc9c0\ub97c \uc27d\uac8c \uc815\uc758\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<h3>2.1 \ub370\uc774\ud130 \ud15c\ud50c\ub9bf \uc815\uc758\ud558\uae30<\/h3>\n<p>\ub2e4\uc74c\uc740 \ub370\uc774\ud130 \ud15c\ud50c\ub9bf\uc744 \uc815\uc758\ud558\ub294 \uc608\uc81c\uc785\ub2c8\ub2e4. \ud559\uc0dd \uc815\ubcf4\ub97c \ub9ac\uc2a4\ud2b8\uc5d0 \ud45c\uc2dc\ud558\ub294 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \uc0dd\uac01\ud574 \ubcf4\uaca0\uc2b5\ub2c8\ub2e4.<\/p>\n<pre><code>&lt;Window x:Class=\"PrismApp.MainWindow\" xmlns=\"http:\/\/schemas.microsoft.com\/winfx\/2006\/xaml\/presentation\" xmlns:x=\"http:\/\/schemas.microsoft.com\/winfx\/2006\/xaml\"&gt;\n    &lt;Window.Resources&gt;\n        &lt;DataTemplate x:Key=\"StudentTemplate\"&gt;\n            &lt;StackPanel&gt;\n                &lt;TextBlock Text=\"{Binding Name}\" FontSize=\"16\"\/&gt;\n                &lt;TextBlock Text=\"{Binding Age}\" FontSize=\"14\" Foreground=\"Gray\"\/&gt;\n            &lt;\/StackPanel&gt;\n        &lt;\/DataTemplate&gt;\n    &lt;\/Window.Resources&gt;\n    &lt;Grid&gt;\n        &lt;ListBox ItemsSource=\"{Binding Students}\" ItemTemplate=\"{StaticResource StudentTemplate}\" \/&gt;\n    &lt;\/Grid&gt;\n&lt;\/Window&gt;\n<\/code><\/pre>\n<p>\uc704\uc758 \ucf54\ub4dc\uc5d0\uc11c StudentTemplate\uc774\ub77c\ub294 \ub370\uc774\ud130 \ud15c\ud50c\ub9bf\uc744 \uc815\uc758\ud588\uc2b5\ub2c8\ub2e4. \uc774 \ud15c\ud50c\ub9bf\uc740 \ud559\uc0dd\uc758 \uc774\ub984\uacfc \ub098\uc774\ub97c \ud45c\uc2dc\ud558\ub294 StackPanel\uc744 \ud3ec\ud568\ud558\uace0 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<h3>2.2 \ub370\uc774\ud130 \ubc14\uc778\ub529\uacfc \ub370\uc774\ud130 \ud15c\ud50c\ub9bf \uc0ac\uc6a9\ud558\uae30<\/h3>\n<p>ViewModel\uc5d0\uc11c Students \uceec\ub809\uc158\uc744 \uc815\uc758\ud558\uace0 \uc774 \uceec\ub809\uc158\uc744 ListBox\uc758 ItemsSource\uc5d0 \ub370\uc774\ud130 \ubc14\uc778\ub529\ud569\ub2c8\ub2e4.<\/p>\n<pre><code>public class MainViewModel : BindableBase\n{\n    public ObservableCollection&lt;Student&gt; Students { get; set; }\n\n    public MainViewModel()\n    {\n        Students = new ObservableCollection&lt;Student&gt;\n        {\n            new Student { Name = \"John Doe\", Age = 20 },\n            new Student { Name = \"Jane Doe\", Age = 22 }\n        };\n    }\n}\n\npublic class Student\n{\n    public string Name { get; set; }\n    public int Age { get; set; }\n}\n<\/code><\/pre>\n<p>\uc774\ub807\uac8c \ud558\uba74 ListBox\uc5d0 \ud559\uc0dd \uc815\ubcf4\ub97c \uc790\ub3d9\uc73c\ub85c \ud45c\uc2dc\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<h2>3. ControlTemplate<\/h2>\n<p>ControlTemplate\uc740 \ud2b9\uc815 \ucee8\ud2b8\ub864\uc758 \uad6c\uc870\uc640 \uc2dc\uac01\uc801 \uc694\uc18c\ub97c \uc815\uc758\ud569\ub2c8\ub2e4. ControlTemplate\uc744 \uc0ac\uc6a9\ud558\uba74 \uae30\ubcf8 \uc81c\uacf5\ub418\ub294 UI \uad6c\uc131 \uc694\uc18c\uc758 \ubaa8\uc591\uc744 \uc644\uc804\ud788 \ubc14\uafc0 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<h3>3.1 ControlTemplate \uc815\uc758\ud558\uae30<\/h3>\n<p>\uc544\ub798\ub294 Button \ucee8\ud2b8\ub864\uc758 ControlTemplate\uc744 \uc815\uc758\ud558\ub294 \uc608\uc81c\uc785\ub2c8\ub2e4.<\/p>\n<pre><code>&lt;Window x:Class=\"PrismApp.MainWindow\" xmlns=\"http:\/\/schemas.microsoft.com\/winfx\/2006\/xaml\/presentation\" xmlns:x=\"http:\/\/schemas.microsoft.com\/winfx\/2006\/xaml\"&gt;\n    &lt;Window.Resources&gt;\n        &lt;ControlTemplate x:Key=\"CustomButtonTemplate\" TargetType=\"Button\"&gt;\n            &lt;Border Background=\"{TemplateBinding Background}\" CornerRadius=\"5\"&gt;\n                &lt;ContentPresenter HorizontalAlignment=\"Center\" VerticalAlignment=\"Center\"\/&gt;\n            &lt;\/Border&gt;\n        &lt;\/ControlTemplate&gt;\n    &lt;\/Window.Resources&gt;\n    &lt;Grid&gt;\n        &lt;Button Template=\"{StaticResource CustomButtonTemplate}\" Content=\"Click Me\" Background=\"LightCoral\" Width=\"120\" Height=\"50\"\/&gt;\n    &lt;\/Grid&gt;\n&lt;\/Window&gt;\n<\/code><\/pre>\n<p>\uc704\uc758 \ucf54\ub4dc\uc5d0\uc11c\ub294 CustomButtonTemplate\uc774\ub77c\ub294 ControlTemplate\uc744 \uc815\uc758\ud558\uc600\uc2b5\ub2c8\ub2e4. \uc774 ControlTemplate\uc740 Button\uc5d0 \ub300\ud55c \uc0c8\ub85c\uc6b4 \ubaa8\uc591\uc744 \ub9cc\ub4e4\uc5b4 \ub0b4\uba70, ContentPresenter\ub97c \ud1b5\ud574 \ubc84\ud2bc\uc758 \ub0b4\uc6a9\uc744 \uc911\uc559\uc5d0 \ubc30\uce58\ud569\ub2c8\ub2e4.<\/p>\n<h3>3.2 ControlTemplate\uc744 \uc0ac\uc6a9\ud55c \uc0ac\uc6a9\uc790 \uc9c0\uc815 \ubc84\ud2bc \ub9cc\ub4e4\uae30<\/h3>\n<p>Prism\uc758 MVVM \ud328\ud134 \ub2e4\ub8e8\uae30\uc5d0 \uc801\ud569\ud55c UI \uc694\uc18c \uc0ac\uc6a9\uc790 \uc9c0\uc815\uc744 \ud1b5\ud574 \ub2e4\uc591\ud55c \uc2dc\ub098\ub9ac\uc624\ub97c \uad6c\ud604\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<pre><code>public class CustomButton : Button\n{\n    static CustomButton()\n    {\n        DefaultStyleKeyProperty.OverrideMetadata(typeof(CustomButton), new FrameworkPropertyMetadata(typeof(CustomButton)));\n    }\n}\n<\/code><\/pre>\n<p>\uc704\uc640 \uac19\uc774 CustomButton \ud074\ub798\uc2a4\ub97c \uc815\uc758\ud558\uace0, ControlTemplate\uc744 \ud1b5\ud574 \uc2dc\uac01\uc801 \uc694\uc18c\ub97c \uc6b0\ub9ac\uac00 \uc6d0\ud558\ub294 \ub300\ub85c \uad6c\uc131\ud569\ub2c8\ub2e4.<\/p>\n<h2>4. \uacb0\ub860<\/h2>\n<p>Prism\uc744 \ud1b5\ud574 WPF \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc5d0\uc11c \uc2a4\ud0c0\uc77c, \ud14c\ub9c8, \ub370\uc774\ud130 \ud15c\ud50c\ub9bf \ubc0f ControlTemplate\uc744 \ud65c\uc6a9\ud558\ub294 \ubc29\ubc95\uc744 \uc0b4\ud3b4\ubcf4\uc558\uc2b5\ub2c8\ub2e4. \uc774\ub7ec\ud55c \uc694\uc18c\ub4e4\uc740 \uc0ac\uc6a9\uc790 \uacbd\ud5d8\uc744 \uadf9\ub300\ud654\ud558\uae30 \uc704\ud55c \uc911\uc694\ud55c \ub3c4\uad6c\uc774\uba70, \uc2e4\uc81c\ub85c \ubcf5\uc7a1\ud558\uace0 \ud48d\ubd80\ud55c UI\ub97c \uad6c\uc131\ud560 \uc218 \uc788\ub294 \uae30\ud68c\ub97c \uc81c\uacf5\ud569\ub2c8\ub2e4. Prism\uc758 \ubaa8\ub4c8\ud654\ub41c \uad6c\uc870\ub97c \ud1b5\ud574 \ub354\uc6b1 \ud6a8\uacfc\uc801\uc73c\ub85c \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \uac1c\ubc1c\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc0ac\uc6a9\uc790\uc758 \uc694\uad6c\uc5d0 \uc801\ud569\ud55c UI\ub97c \uad6c\uc131\ud558\uace0, \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc758 \uc77c\uad00\uc131\uacfc \uc720\uc9c0 \ubcf4\uc218\uc131\uc744 \ud5a5\uc0c1\uc2dc\ud0a4\ub294 \uac83\uc740 Prism\uc758 \ud070 \uc7a5\uc810\uc785\ub2c8\ub2e4.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>WPF(Windows Presentation Foundation)\uc758 Prism \ud504\ub808\uc784\uc6cc\ud06c\ub294 \ubaa8\ub4c8\ud654 \ubc0f MVVM(\ubaa8\ub378-\ubdf0-\ubdf0\ubaa8\ub378) \ud328\ud134\uc744 \uae30\ubc18\uc73c\ub85c \ud558\ub294 \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \uac1c\ubc1c\uc744 \uc704\ud55c \uac15\ub825\ud55c \ub3c4\uad6c\uc785\ub2c8\ub2e4. \uc774 \uae00\uc5d0\uc11c\ub294 Prism\uc744 \uc0ac\uc6a9\ud558\uc5ec \uc2a4\ud0c0\uc77c \ubc0f \ud14c\ub9c8\ub97c \uc815\uc758\ud558\uace0, \ub370\uc774\ud130 \ud15c\ud50c\ub9bf \ubc0f ControlTemplate\uc744 \ud65c\uc6a9\ud558\ub294 \ubc29\ubc95\uc5d0 \ub300\ud574 \uae4a\uc774 \uc0b4\ud3b4\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. 1. Prism\uacfc \uc2a4\ud0c0\uc77c \ubc0f \ud14c\ub9c8\uc758 \uc911\uc694\uc131 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc758 \uc0ac\uc6a9\uc790 \uacbd\ud5d8(UX)\uc744 \ud5a5\uc0c1\uc2dc\ud0a4\uae30 \uc704\ud574\uc11c\ub294 \uc77c\uad00\ub41c \uc2a4\ud0c0\uc77c\uacfc \ub9e4\ub825\uc801\uc778 \ud14c\ub9c8\uac00 \ud544\uc218\uc801\uc785\ub2c8\ub2e4. Prism \ud504\ub808\uc784\uc6cc\ud06c\ub294 UI\ub97c \ubaa8\ub4c8\ud654\ud558\uc5ec \uad00\ub9ac\ud560 \uc218 &hellip; <a href=\"https:\/\/atmokpo.com\/w\/43227\/\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;[Prism]  017. Prism\uc758 \uc2a4\ud0c0\uc77c \ubc0f \ud14c\ub9c8, \ub370\uc774\ud130 \ud15c\ud50c\ub9bf\uacfc ControlTemplate \uc0ac\uc6a9\ud558\uae30&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[39],"tags":[],"class_list":["post-43227","post","type-post","status-publish","format-standard","hentry","category-wpf-"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>[Prism] 017. Prism\uc758 \uc2a4\ud0c0\uc77c \ubc0f \ud14c\ub9c8, \ub370\uc774\ud130 \ud15c\ud50c\ub9bf\uacfc ControlTemplate \uc0ac\uc6a9\ud558\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/atmokpo.com\/w\/43227\/\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"[Prism] 017. Prism\uc758 \uc2a4\ud0c0\uc77c \ubc0f \ud14c\ub9c8, \ub370\uc774\ud130 \ud15c\ud50c\ub9bf\uacfc ControlTemplate \uc0ac\uc6a9\ud558\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"og:description\" content=\"WPF(Windows Presentation Foundation)\uc758 Prism \ud504\ub808\uc784\uc6cc\ud06c\ub294 \ubaa8\ub4c8\ud654 \ubc0f MVVM(\ubaa8\ub378-\ubdf0-\ubdf0\ubaa8\ub378) \ud328\ud134\uc744 \uae30\ubc18\uc73c\ub85c \ud558\ub294 \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \uac1c\ubc1c\uc744 \uc704\ud55c \uac15\ub825\ud55c \ub3c4\uad6c\uc785\ub2c8\ub2e4. \uc774 \uae00\uc5d0\uc11c\ub294 Prism\uc744 \uc0ac\uc6a9\ud558\uc5ec \uc2a4\ud0c0\uc77c \ubc0f \ud14c\ub9c8\ub97c \uc815\uc758\ud558\uace0, \ub370\uc774\ud130 \ud15c\ud50c\ub9bf \ubc0f ControlTemplate\uc744 \ud65c\uc6a9\ud558\ub294 \ubc29\ubc95\uc5d0 \ub300\ud574 \uae4a\uc774 \uc0b4\ud3b4\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. 1. Prism\uacfc \uc2a4\ud0c0\uc77c \ubc0f \ud14c\ub9c8\uc758 \uc911\uc694\uc131 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc758 \uc0ac\uc6a9\uc790 \uacbd\ud5d8(UX)\uc744 \ud5a5\uc0c1\uc2dc\ud0a4\uae30 \uc704\ud574\uc11c\ub294 \uc77c\uad00\ub41c \uc2a4\ud0c0\uc77c\uacfc \ub9e4\ub825\uc801\uc778 \ud14c\ub9c8\uac00 \ud544\uc218\uc801\uc785\ub2c8\ub2e4. Prism \ud504\ub808\uc784\uc6cc\ud06c\ub294 UI\ub97c \ubaa8\ub4c8\ud654\ud558\uc5ec \uad00\ub9ac\ud560 \uc218 &hellip; \ub354 \ubcf4\uae30 &quot;[Prism] 017. Prism\uc758 \uc2a4\ud0c0\uc77c \ubc0f \ud14c\ub9c8, \ub370\uc774\ud130 \ud15c\ud50c\ub9bf\uacfc ControlTemplate \uc0ac\uc6a9\ud558\uae30&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/atmokpo.com\/w\/43227\/\" \/>\n<meta property=\"og:site_name\" content=\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2024-11-26T12:26:18+00:00\" \/>\n<meta name=\"author\" content=\"root\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@bebubo4\" \/>\n<meta name=\"twitter:site\" content=\"@bebubo4\" \/>\n<meta name=\"twitter:label1\" content=\"\uae00\uc4f4\uc774\" \/>\n\t<meta name=\"twitter:data1\" content=\"root\" \/>\n\t<meta name=\"twitter:label2\" content=\"\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04\" \/>\n\t<meta name=\"twitter:data2\" content=\"2\ubd84\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/atmokpo.com\/w\/43227\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/43227\/\"},\"author\":{\"name\":\"root\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\"},\"headline\":\"[Prism] 017. Prism\uc758 \uc2a4\ud0c0\uc77c \ubc0f \ud14c\ub9c8, \ub370\uc774\ud130 \ud15c\ud50c\ub9bf\uacfc ControlTemplate \uc0ac\uc6a9\ud558\uae30\",\"datePublished\":\"2024-11-26T12:26:18+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/atmokpo.com\/w\/43227\/\"},\"wordCount\":60,\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"articleSection\":[\"WPF \uac1c\ubc1c\"],\"inLanguage\":\"ko-KR\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/atmokpo.com\/w\/43227\/\",\"url\":\"https:\/\/atmokpo.com\/w\/43227\/\",\"name\":\"[Prism] 017. Prism\uc758 \uc2a4\ud0c0\uc77c \ubc0f \ud14c\ub9c8, \ub370\uc774\ud130 \ud15c\ud50c\ub9bf\uacfc ControlTemplate \uc0ac\uc6a9\ud558\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#website\"},\"datePublished\":\"2024-11-26T12:26:18+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/atmokpo.com\/w\/43227\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atmokpo.com\/w\/43227\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atmokpo.com\/w\/43227\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\ud648\",\"item\":\"https:\/\/atmokpo.com\/w\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"[Prism] 017. Prism\uc758 \uc2a4\ud0c0\uc77c \ubc0f \ud14c\ub9c8, \ub370\uc774\ud130 \ud15c\ud50c\ub9bf\uacfc ControlTemplate \uc0ac\uc6a9\ud558\uae30\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/atmokpo.com\/w\/#website\",\"url\":\"https:\/\/atmokpo.com\/w\/\",\"name\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/atmokpo.com\/w\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ko-KR\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\",\"name\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"url\":\"https:\/\/atmokpo.com\/w\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png\",\"contentUrl\":\"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png\",\"width\":400,\"height\":400,\"caption\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\"},\"image\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/x.com\/bebubo4\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\",\"name\":\"root\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g\",\"caption\":\"root\"},\"sameAs\":[\"http:\/\/atmokpo.com\/w\"],\"url\":\"https:\/\/atmokpo.com\/w\/author\/root\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"[Prism] 017. Prism\uc758 \uc2a4\ud0c0\uc77c \ubc0f \ud14c\ub9c8, \ub370\uc774\ud130 \ud15c\ud50c\ub9bf\uacfc ControlTemplate \uc0ac\uc6a9\ud558\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/atmokpo.com\/w\/43227\/","og_locale":"ko_KR","og_type":"article","og_title":"[Prism] 017. Prism\uc758 \uc2a4\ud0c0\uc77c \ubc0f \ud14c\ub9c8, \ub370\uc774\ud130 \ud15c\ud50c\ub9bf\uacfc ControlTemplate \uc0ac\uc6a9\ud558\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","og_description":"WPF(Windows Presentation Foundation)\uc758 Prism \ud504\ub808\uc784\uc6cc\ud06c\ub294 \ubaa8\ub4c8\ud654 \ubc0f MVVM(\ubaa8\ub378-\ubdf0-\ubdf0\ubaa8\ub378) \ud328\ud134\uc744 \uae30\ubc18\uc73c\ub85c \ud558\ub294 \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \uac1c\ubc1c\uc744 \uc704\ud55c \uac15\ub825\ud55c \ub3c4\uad6c\uc785\ub2c8\ub2e4. \uc774 \uae00\uc5d0\uc11c\ub294 Prism\uc744 \uc0ac\uc6a9\ud558\uc5ec \uc2a4\ud0c0\uc77c \ubc0f \ud14c\ub9c8\ub97c \uc815\uc758\ud558\uace0, \ub370\uc774\ud130 \ud15c\ud50c\ub9bf \ubc0f ControlTemplate\uc744 \ud65c\uc6a9\ud558\ub294 \ubc29\ubc95\uc5d0 \ub300\ud574 \uae4a\uc774 \uc0b4\ud3b4\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. 1. Prism\uacfc \uc2a4\ud0c0\uc77c \ubc0f \ud14c\ub9c8\uc758 \uc911\uc694\uc131 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc758 \uc0ac\uc6a9\uc790 \uacbd\ud5d8(UX)\uc744 \ud5a5\uc0c1\uc2dc\ud0a4\uae30 \uc704\ud574\uc11c\ub294 \uc77c\uad00\ub41c \uc2a4\ud0c0\uc77c\uacfc \ub9e4\ub825\uc801\uc778 \ud14c\ub9c8\uac00 \ud544\uc218\uc801\uc785\ub2c8\ub2e4. Prism \ud504\ub808\uc784\uc6cc\ud06c\ub294 UI\ub97c \ubaa8\ub4c8\ud654\ud558\uc5ec \uad00\ub9ac\ud560 \uc218 &hellip; \ub354 \ubcf4\uae30 \"[Prism] 017. Prism\uc758 \uc2a4\ud0c0\uc77c \ubc0f \ud14c\ub9c8, \ub370\uc774\ud130 \ud15c\ud50c\ub9bf\uacfc ControlTemplate \uc0ac\uc6a9\ud558\uae30\"","og_url":"https:\/\/atmokpo.com\/w\/43227\/","og_site_name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","article_published_time":"2024-11-26T12:26:18+00:00","author":"root","twitter_card":"summary_large_image","twitter_creator":"@bebubo4","twitter_site":"@bebubo4","twitter_misc":{"\uae00\uc4f4\uc774":"root","\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04":"2\ubd84"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/atmokpo.com\/w\/43227\/#article","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/43227\/"},"author":{"name":"root","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7"},"headline":"[Prism] 017. Prism\uc758 \uc2a4\ud0c0\uc77c \ubc0f \ud14c\ub9c8, \ub370\uc774\ud130 \ud15c\ud50c\ub9bf\uacfc ControlTemplate \uc0ac\uc6a9\ud558\uae30","datePublished":"2024-11-26T12:26:18+00:00","mainEntityOfPage":{"@id":"https:\/\/atmokpo.com\/w\/43227\/"},"wordCount":60,"publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"articleSection":["WPF \uac1c\ubc1c"],"inLanguage":"ko-KR"},{"@type":"WebPage","@id":"https:\/\/atmokpo.com\/w\/43227\/","url":"https:\/\/atmokpo.com\/w\/43227\/","name":"[Prism] 017. Prism\uc758 \uc2a4\ud0c0\uc77c \ubc0f \ud14c\ub9c8, \ub370\uc774\ud130 \ud15c\ud50c\ub9bf\uacfc ControlTemplate \uc0ac\uc6a9\ud558\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/#website"},"datePublished":"2024-11-26T12:26:18+00:00","breadcrumb":{"@id":"https:\/\/atmokpo.com\/w\/43227\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/atmokpo.com\/w\/43227\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/atmokpo.com\/w\/43227\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\ud648","item":"https:\/\/atmokpo.com\/w\/en\/"},{"@type":"ListItem","position":2,"name":"[Prism] 017. Prism\uc758 \uc2a4\ud0c0\uc77c \ubc0f \ud14c\ub9c8, \ub370\uc774\ud130 \ud15c\ud50c\ub9bf\uacfc ControlTemplate \uc0ac\uc6a9\ud558\uae30"}]},{"@type":"WebSite","@id":"https:\/\/atmokpo.com\/w\/#website","url":"https:\/\/atmokpo.com\/w\/","name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","description":"","publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/atmokpo.com\/w\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ko-KR"},{"@type":"Organization","@id":"https:\/\/atmokpo.com\/w\/#organization","name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","url":"https:\/\/atmokpo.com\/w\/","logo":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/","url":"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png","contentUrl":"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png","width":400,"height":400,"caption":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8"},"image":{"@id":"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/bebubo4"]},{"@type":"Person","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7","name":"root","image":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g","caption":"root"},"sameAs":["http:\/\/atmokpo.com\/w"],"url":"https:\/\/atmokpo.com\/w\/author\/root\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/43227","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/comments?post=43227"}],"version-history":[{"count":1,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/43227\/revisions"}],"predecessor-version":[{"id":43228,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/43227\/revisions\/43228"}],"wp:attachment":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/media?parent=43227"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/categories?post=43227"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/tags?post=43227"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}