{"id":31206,"date":"2024-10-28T11:15:25","date_gmt":"2024-10-28T11:15:25","guid":{"rendered":"http:\/\/atmokpo.com\/w\/?p=31206"},"modified":"2024-10-28T11:15:25","modified_gmt":"2024-10-28T11:15:25","slug":"wpf-%ea%b0%9c%eb%b0%9c-%eb%aa%85%eb%a0%b9%ea%b3%bc-%eb%a9%94%ec%86%8c%eb%93%9c","status":"publish","type":"post","link":"https:\/\/atmokpo.com\/w\/31206\/","title":{"rendered":"WPF \uac1c\ubc1c, \uba85\ub839\uacfc \uba54\uc18c\ub4dc"},"content":{"rendered":"<h2>WPF \uac1c\ubc1c, \uba85\ub839\uacfc \uba54\uc18c\ub4dc<\/h2>\n<p>\uc708\ub3c4\uc6b0 \ud504\ub808\uc820\ud14c\uc774\uc158 \uc7ac\ub2e8(WPF, Windows Presentation Foundation)\uc740 .NET Framework\ub97c \uae30\ubc18\uc73c\ub85c \ud558\ub294 \uac15\ub825\ud55c \uc0ac\uc6a9\uc790 \uc778\ud130\ud398\uc774\uc2a4(UI) \uac1c\ubc1c \ud50c\ub7ab\ud3fc\uc785\ub2c8\ub2e4. WPF\ub294 MVVM(Model-View-ViewModel) \uc544\ud0a4\ud14d\ucc98\ub97c \ud65c\uc6a9\ud558\uc5ec UI\uc640 \ube44\uc988\ub2c8\uc2a4 \ub85c\uc9c1 \uac04\uc758 \ubd84\ub9ac\ub97c \uc6a9\uc774\ud558\uac8c \ud558\uc5ec \uc7ac\uc0ac\uc6a9\uc131\uacfc \uc720\uc9c0 \ubcf4\uc218\uc131\uc744 \ub192\uc785\ub2c8\ub2e4. \uc774\ubc88 \uae00\uc5d0\uc11c\ub294 WPF\uc5d0\uc11c <strong>\uba85\ub839(Commands)<\/strong>\uacfc <strong>\uba54\uc18c\ub4dc(Methods)<\/strong>\uc5d0 \ub300\ud574 \uc790\uc138\ud788 \uc124\uba85\ud558\uace0, \uc774\ub97c \ud65c\uc6a9\ud55c \uc608\uc81c \ucf54\ub4dc\ub97c \uc81c\uacf5\ud558\uaca0\uc2b5\ub2c8\ub2e4.<\/p>\n<h3>\uba85\ub839(Commands)\ub780?<\/h3>\n<p>WPF\uc758 \ucee4\ub9e8\ub4dc\ub294 \uc0ac\uc6a9\uc790 \uc778\ud130\ud398\uc774\uc2a4\uc758 \ud2b9\uc815 \uc791\uc5c5\uc744 \uc218\ud589\ud560 \uc218 \uc788\ub3c4\ub85d \ud558\ub294 \uc911\uc7ac\uc790 \uc5ed\ud560\uc744 \ud569\ub2c8\ub2e4. \uc77c\ubc18\uc801\uc73c\ub85c \ubc84\ud2bc \ud074\ub9ad, \ud0a4\ubcf4\ub4dc \uc785\ub825 \ub4f1\uc758 \uc774\ubca4\ud2b8\ub97c \ucc98\ub9ac\ud558\ub294\ub370 \uc0ac\uc6a9\ub429\ub2c8\ub2e4. \uba85\ub839\uc740 \uae30\uc874\uc758 \uc774\ubca4\ud2b8 \uae30\ubc18 \ud504\ub85c\uadf8\ub798\ubc0d\ubcf4\ub2e4 \ub354 \uae54\ub054\ud558\uace0 \uc720\uc9c0 \ubcf4\uc218\uc131\uc774 \uc88b\uc740 \ucf54\ub4dc\ub97c \uc791\uc131\ud560 \uc218 \uc788\ub3c4\ub85d \ub3c4\uc640\uc90d\ub2c8\ub2e4.<\/p>\n<h4>\uba85\ub839 \ud328\ud134\uc758 \uc774\uc810<\/h4>\n<ul>\n<li><strong>\ubd84\ub9ac\ub41c \ucc45\uc784(Separation of Concerns)<\/strong>: \uba85\ub839\uc740 UI\uc640 \ube44\uc988\ub2c8\uc2a4 \ub85c\uc9c1\uc744 \ubd84\ub9ac\ud558\uc5ec \ud3b8\ub9ac\ud558\uac8c \uad00\ub9ac\ud560 \uc218 \uc788\uac8c \ud574\uc90d\ub2c8\ub2e4.<\/li>\n<li><strong>\uc7ac\uc0ac\uc6a9\uc131(Reuse)<\/strong>: \ud55c \ubc88 \uc815\uc758\ud55c \uba85\ub839\uc744 \uc5ec\ub7ec \uacf3\uc5d0\uc11c \uc7ac\uc0ac\uc6a9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/li>\n<li><strong>\ud14c\uc2a4\ud2b8 \uc6a9\uc774\uc131(Testability)<\/strong>: \uba85\ub839\uc740 UI\uc640 \ub3c5\ub9bd\uc801\uc73c\ub85c \ud14c\uc2a4\ud2b8\ud560 \uc218 \uc788\ub294 \ub2e8\uc704\uac00 \ub429\ub2c8\ub2e4.<\/li>\n<\/ul>\n<h4>WPF\uc5d0\uc11c \uba85\ub839\uc744 \uc0ac\uc6a9\ud558\ub294 \ubc29\ubc95<\/h4>\n<p>WPF\ub294 \ub450 \uac00\uc9c0 \uc885\ub958\uc758 \uba85\ub839\uc744 \uc0ac\uc6a9\ud569\ub2c8\ub2e4:<\/p>\n<ul>\n<li><strong>\ub0b4\uc7a5 \uba85\ub839(Built-in Commands)<\/strong>: ApplicationCommands, NavigationCommands \ub4f1\uacfc \uac19\uc774 WPF\uc5d0\uc11c \uae30\ubcf8 \uc81c\uacf5\ud558\ub294 \uba85\ub839\uc785\ub2c8\ub2e4.<\/li>\n<li><strong>\uc0ac\uc6a9\uc790 \uc815\uc758 \uba85\ub839(Custom Commands)<\/strong>: \uc0ac\uc6a9\uc790 \uc815\uc758 \ud074\ub798\uc2a4\ub97c \ub9cc\ub4e4\uc5b4 \uba85\ub839\uc744 \uad6c\ud604\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/li>\n<\/ul>\n<h3>\uba85\ub839\uc758 \uc608\uc81c<\/h3>\n<p>\ub2e4\uc74c\uc740 \uac04\ub2e8\ud55c WPF \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc5d0\uc11c \uc0ac\uc6a9\uc790 \uc815\uc758 \uba85\ub839\uc744 \ub9cc\ub4dc\ub294 \uc608\uc81c\uc785\ub2c8\ub2e4.<\/p>\n<pre><code class=\"language-csharp\">using System.Windows;\nusing System.Windows.Input;\n\nnamespace WpfApp\n{\n    public partial class MainWindow : Window\n    {\n        public ICommand MyCommand { get; set; }\n\n        public MainWindow()\n        {\n            InitializeComponent();\n            MyCommand = new RelayCommand(ExecuteMyCommand);\n            DataContext = this;\n        }\n\n        private void ExecuteMyCommand(object parameter)\n        {\n            MessageBox.Show(\"\uba85\ub839\uc774 \uc2e4\ud589\ub418\uc5c8\uc2b5\ub2c8\ub2e4!\");\n        }\n    }\n\n    public class RelayCommand : ICommand\n    {\n        private readonly Action&lt;object&gt; _execute;\n        private readonly Predicate&lt;object&gt; _canExecute;\n\n        public RelayCommand(Action&lt;object&gt; execute, Predicate&lt;object&gt; canExecute = null)\n        {\n            _execute = execute;\n            _canExecute = canExecute;\n        }\n\n        public event EventHandler CanExecuteChanged\n        {\n            add { CommandManager.RequerySuggested += value; }\n            remove { CommandManager.RequerySuggested -= value; }\n        }\n\n        public bool CanExecute(object parameter)\n        {\n            return _canExecute == null || _canExecute(parameter);\n        }\n\n        public void Execute(object parameter)\n        {\n            _execute(parameter);\n        }\n    }\n}\n<\/code><\/pre>\n<p>\uc704 \ucf54\ub4dc\uc5d0\uc11c\ub294 <code>RelayCommand<\/code> \ud074\ub798\uc2a4\ub97c \uc0ac\uc6a9\ud558\uc5ec \uba85\ub839\uc744 \uc815\uc758\ud558\uc600\uc2b5\ub2c8\ub2e4. \uc774 \ud074\ub798\uc2a4\ub294 <code>ICommand<\/code> \uc778\ud130\ud398\uc774\uc2a4\ub97c \uad6c\ud604\ud558\uba70, \uba85\ub839\uc774 \uc2e4\ud589\ub420 \ub54c \ud638\ucd9c\ub420 \uba54\uc11c\ub4dc\uc640 \uc2e4\ud589 \uac00\ub2a5 \uc5ec\ubd80\ub97c \uacb0\uc815\ud558\ub294 \uba54\uc11c\ub4dc\ub97c \ud3ec\ud568\ud569\ub2c8\ub2e4.<\/p>\n<h3>XAML\uc5d0\uc11c \uba85\ub839 \uc0ac\uc6a9\ud558\uae30<\/h3>\n<p>XAML\uc5d0\uc11c\ub294 \uba85\ub839\uc744 \ubc84\ud2bc\uc758 <code>Command<\/code> \uc18d\uc131\uc5d0 \ubc14\uc778\ub529\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc544\ub798\ub294 \uc704\uc5d0\uc11c \uc815\uc758\ud55c \uba85\ub839\uc744 XAML\uc5d0\uc11c \uc0ac\uc6a9\ud558\ub294 \uc608\uc785\ub2c8\ub2e4.<\/p>\n<pre><code class=\"language-xaml\">&lt;Window x:Class=\"WpfApp.MainWindow\"\n        xmlns=\"http:\/\/schemas.microsoft.com\/winfx\/2006\/xaml\/presentation\"\n        xmlns:x=\"http:\/\/schemas.microsoft.com\/winfx\/2006\/xaml\"\n        Title=\"WPF Command Example\" Height=\"200\" Width=\"400\"&gt;\n    &lt;Grid&gt;\n        &lt;Button Content=\"\uba85\ub839 \uc2e4\ud589\" Command=\"{Binding MyCommand}\" \/&gt;\n    &lt;\/Grid&gt;\n&lt;\/Window&gt;<\/code><\/pre>\n<h3>\uba54\uc18c\ub4dc(Method)\ub780?<\/h3>\n<p>\uba54\uc18c\ub4dc\ub294 \uac1d\uccb4\uc758 \ub3d9\uc791\uc744 \uc815\uc758\ud558\ub294 \ucf54\ub4dc \ube14\ub85d\uc73c\ub85c, \ud2b9\uc815 \uc791\uc5c5\uc744 \uc218\ud589\ud558\uae30 \uc704\ud574 \ud638\ucd9c\ub420 \uc218 \uc788\uc2b5\ub2c8\ub2e4. WPF\uc5d0\uc11c \uba54\uc18c\ub4dc\ub294 \uba85\ub839\uc744 \uc2e4\ud589\ud558\uae30 \uc704\ud55c \ucf54\ub4dc \ube14\ub85d\uc73c\ub85c \uc790\uc8fc \uc0ac\uc6a9\ub429\ub2c8\ub2e4. \uba54\uc18c\ub4dc\ub294 \uc778\uc2a4\ud134\uc2a4 \uba54\uc18c\ub4dc\uc640 \uc815\uc801 \uba54\uc18c\ub4dc\ub85c \ub098\ub20c \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<h4>\uba54\uc18c\ub4dc\uc758 \uc885\ub958<\/h4>\n<ul>\n<li><strong>\uc778\uc2a4\ud134\uc2a4 \uba54\uc18c\ub4dc(Instance Method)<\/strong>: \uac1d\uccb4 \uc778\uc2a4\ud134\uc2a4\ub97c \ud1b5\ud574 \ud638\ucd9c\ub418\ub294 \uba54\uc18c\ub4dc\uc785\ub2c8\ub2e4.<\/li>\n<li><strong>\uc815\uc801 \uba54\uc18c\ub4dc(Static Method)<\/strong>: \ud074\ub798\uc2a4 \uc774\ub984\uc744 \ud1b5\ud574 \ud638\ucd9c\ub418\ub294 \uba54\uc18c\ub4dc\uc785\ub2c8\ub2e4.<\/li>\n<\/ul>\n<h4>\uba54\uc18c\ub4dc \uc608\uc2dc<\/h4>\n<p>\ub2e4\uc74c\uc740 WPF\uc5d0\uc11c \uae30\ubcf8\uc801\uc778 \uba54\uc18c\ub4dc\ub97c \uc815\uc758\ud558\ub294 \uc608\uc2dc\uc785\ub2c8\ub2e4.<\/p>\n<pre><code class=\"language-csharp\">public class MyViewModel\n{\n    public void PerformAction()\n    {\n        \/\/ \uc5b4\ub5a4 \uc791\uc5c5 \uc218\ud589\n        MessageBox.Show(\"PerformAction \uba54\uc18c\ub4dc \ud638\ucd9c\ub428!\");\n    }\n}\n<\/code><\/pre>\n<h3>\uba85\ub839\uacfc \uba54\uc18c\ub4dc\uc758 \uad00\uacc4<\/h3>\n<p>\uba54\uc18c\ub4dc\ub294 \uba85\ub839\uc758 \uc2e4\ud589 \uacfc\uc815\uc744 \ud1b5\ud574 \ud575\uc2ec\uc801\uc778 \uc5ed\ud560\uc744 \ud569\ub2c8\ub2e4. \uba85\ub839\uc774 \ud638\ucd9c\ub418\uba74 \uc5f0\uad00\ub41c \uba54\uc18c\ub4dc\uac00 \uc2e4\ud589\ub418\uc5b4 \uc2e4\uc81c \uc791\uc5c5\uc744 \uc218\ud589\ud569\ub2c8\ub2e4. \uba85\ub839\uacfc \uba54\uc18c\ub4dc\ub97c \ud568\uaed8 \uc0ac\uc6a9\ud558\uc5ec \uac15\ub825\ud55c MVVM \ud328\ud134\uc744 \uad6c\ud604\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<h4>\uba85\ub839\uc744 \uba54\uc18c\ub4dc\uc640 \uacb0\ud569\ud558\uae30<\/h4>\n<p>\uba85\ub839\uacfc \uba54\uc18c\ub4dc\ub97c \ud1b5\ud569\ud55c \uc608\uc81c\ub97c \uc0b4\ud3b4\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uc544\ub798 \uc608\uc81c\uc5d0\uc11c\ub294 \uba85\ub839\uc744 \ud1b5\ud574 ViewModel\uc758 \uba54\uc18c\ub4dc\ub97c \ud638\ucd9c\ud569\ub2c8\ub2e4.<\/p>\n<pre><code class=\"language-csharp\">public class MyViewModel\n{\n    public ICommand MyCommand { get; private set; }\n\n    public MyViewModel()\n    {\n        MyCommand = new RelayCommand(Execute, CanExecute);\n    }\n\n    public void Execute(object parameter)\n    {\n        \/\/ \uc791\uc5c5 \uc218\ud589\n        MessageBox.Show(\"Execute \uba54\uc18c\ub4dc \ud638\ucd9c\ub428!\");\n    }\n\n    public bool CanExecute(object parameter)\n    {\n        \/\/ \uba85\ub839 \uc2e4\ud589 \uac00\ub2a5 \uc5ec\ubd80 \uacb0\uc815\n        return true; \/\/ \uc870\uac74\uc5d0 \ub530\ub77c true\/false\ub97c \ubc18\ud658\n    }\n}\n<\/code><\/pre>\n<h3>\uacb0\ub860<\/h3>\n<p>WPF\uc5d0\uc11c\uc758 \uba85\ub839\uacfc \uba54\uc18c\ub4dc\ub294 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc758 \ub17c\ub9ac\uc801\uc778 \uad6c\uc870\uc640 \uc0ac\uc6a9\uc790\uc758 \uc0c1\ud638\uc791\uc6a9\uc744 \uacb0\uc815\ud558\ub294 \uc911\uc694\ud55c \uc694\uc18c\uc785\ub2c8\ub2e4. \uba85\ub839\uc740 \uc774\ubca4\ud2b8 \uae30\ubc18 \ud504\ub85c\uadf8\ub798\ubc0d\uc744 \ub118\uc5b4\uc11c \ub354\uc6b1 \uc720\uc9c0 \ubcf4\uc218\uc131\uc774 \ub6f0\uc5b4\ub09c \uc544\ud0a4\ud14d\ucc98\ub97c \uc81c\uacf5\ud558\uba70, \uba54\uc18c\ub4dc\ub294 \uc774\ub7ec\ud55c \uba85\ub839\uc744 \ud1b5\ud574 \ube44\uc988\ub2c8\uc2a4 \ub85c\uc9c1\uc744 \uc218\ud589\ud558\ub294 \uc5ed\ud560\uc744 \ud569\ub2c8\ub2e4.<\/p>\n<p>\uc774 \uae00\uc5d0\uc11c\ub294 WPF \uac1c\ubc1c\uc5d0\uc11c \uba85\ub839\uacfc \uba54\uc18c\ub4dc\uc758 \uac1c\ub150, \uc0ac\uc6a9\ubc95 \ubc0f \uc608\uc81c \ucf54\ub4dc\ub97c \uc0b4\ud3b4\ubcf4\uc558\uc2b5\ub2c8\ub2e4. \uc55e\uc73c\ub85c\ub3c4 WPF\ub97c \ud65c\uc6a9\ud55c \ub2e4\uc591\ud55c \uac1c\ubc1c \ud328\ud134\uacfc \uae30\ubc95\uc744 explored\ud558\uc5ec \uc2e4\ub825\uc744 \ud0a4\uc6b0\uae38 \ubc14\ub78d\ub2c8\ub2e4.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>WPF \uac1c\ubc1c, \uba85\ub839\uacfc \uba54\uc18c\ub4dc \uc708\ub3c4\uc6b0 \ud504\ub808\uc820\ud14c\uc774\uc158 \uc7ac\ub2e8(WPF, Windows Presentation Foundation)\uc740 .NET Framework\ub97c \uae30\ubc18\uc73c\ub85c \ud558\ub294 \uac15\ub825\ud55c \uc0ac\uc6a9\uc790 \uc778\ud130\ud398\uc774\uc2a4(UI) \uac1c\ubc1c \ud50c\ub7ab\ud3fc\uc785\ub2c8\ub2e4. WPF\ub294 MVVM(Model-View-ViewModel) \uc544\ud0a4\ud14d\ucc98\ub97c \ud65c\uc6a9\ud558\uc5ec UI\uc640 \ube44\uc988\ub2c8\uc2a4 \ub85c\uc9c1 \uac04\uc758 \ubd84\ub9ac\ub97c \uc6a9\uc774\ud558\uac8c \ud558\uc5ec \uc7ac\uc0ac\uc6a9\uc131\uacfc \uc720\uc9c0 \ubcf4\uc218\uc131\uc744 \ub192\uc785\ub2c8\ub2e4. \uc774\ubc88 \uae00\uc5d0\uc11c\ub294 WPF\uc5d0\uc11c \uba85\ub839(Commands)\uacfc \uba54\uc18c\ub4dc(Methods)\uc5d0 \ub300\ud574 \uc790\uc138\ud788 \uc124\uba85\ud558\uace0, \uc774\ub97c \ud65c\uc6a9\ud55c \uc608\uc81c \ucf54\ub4dc\ub97c \uc81c\uacf5\ud558\uaca0\uc2b5\ub2c8\ub2e4. \uba85\ub839(Commands)\ub780? WPF\uc758 \ucee4\ub9e8\ub4dc\ub294 \uc0ac\uc6a9\uc790 \uc778\ud130\ud398\uc774\uc2a4\uc758 \ud2b9\uc815 \uc791\uc5c5\uc744 \uc218\ud589\ud560 &hellip; <a href=\"https:\/\/atmokpo.com\/w\/31206\/\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;WPF \uac1c\ubc1c, \uba85\ub839\uacfc \uba54\uc18c\ub4dc&#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-31206","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>WPF \uac1c\ubc1c, \uba85\ub839\uacfc \uba54\uc18c\ub4dc - \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\/31206\/\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"WPF \uac1c\ubc1c, \uba85\ub839\uacfc \uba54\uc18c\ub4dc - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"og:description\" content=\"WPF \uac1c\ubc1c, \uba85\ub839\uacfc \uba54\uc18c\ub4dc \uc708\ub3c4\uc6b0 \ud504\ub808\uc820\ud14c\uc774\uc158 \uc7ac\ub2e8(WPF, Windows Presentation Foundation)\uc740 .NET Framework\ub97c \uae30\ubc18\uc73c\ub85c \ud558\ub294 \uac15\ub825\ud55c \uc0ac\uc6a9\uc790 \uc778\ud130\ud398\uc774\uc2a4(UI) \uac1c\ubc1c \ud50c\ub7ab\ud3fc\uc785\ub2c8\ub2e4. WPF\ub294 MVVM(Model-View-ViewModel) \uc544\ud0a4\ud14d\ucc98\ub97c \ud65c\uc6a9\ud558\uc5ec UI\uc640 \ube44\uc988\ub2c8\uc2a4 \ub85c\uc9c1 \uac04\uc758 \ubd84\ub9ac\ub97c \uc6a9\uc774\ud558\uac8c \ud558\uc5ec \uc7ac\uc0ac\uc6a9\uc131\uacfc \uc720\uc9c0 \ubcf4\uc218\uc131\uc744 \ub192\uc785\ub2c8\ub2e4. \uc774\ubc88 \uae00\uc5d0\uc11c\ub294 WPF\uc5d0\uc11c \uba85\ub839(Commands)\uacfc \uba54\uc18c\ub4dc(Methods)\uc5d0 \ub300\ud574 \uc790\uc138\ud788 \uc124\uba85\ud558\uace0, \uc774\ub97c \ud65c\uc6a9\ud55c \uc608\uc81c \ucf54\ub4dc\ub97c \uc81c\uacf5\ud558\uaca0\uc2b5\ub2c8\ub2e4. \uba85\ub839(Commands)\ub780? WPF\uc758 \ucee4\ub9e8\ub4dc\ub294 \uc0ac\uc6a9\uc790 \uc778\ud130\ud398\uc774\uc2a4\uc758 \ud2b9\uc815 \uc791\uc5c5\uc744 \uc218\ud589\ud560 &hellip; \ub354 \ubcf4\uae30 &quot;WPF \uac1c\ubc1c, \uba85\ub839\uacfc \uba54\uc18c\ub4dc&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/atmokpo.com\/w\/31206\/\" \/>\n<meta property=\"og:site_name\" content=\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2024-10-28T11:15:25+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=\"1\ubd84\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/atmokpo.com\/w\/31206\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/31206\/\"},\"author\":{\"name\":\"root\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\"},\"headline\":\"WPF \uac1c\ubc1c, \uba85\ub839\uacfc \uba54\uc18c\ub4dc\",\"datePublished\":\"2024-10-28T11:15:25+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/atmokpo.com\/w\/31206\/\"},\"wordCount\":51,\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"articleSection\":[\"WPF \uac1c\ubc1c\"],\"inLanguage\":\"ko-KR\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/atmokpo.com\/w\/31206\/\",\"url\":\"https:\/\/atmokpo.com\/w\/31206\/\",\"name\":\"WPF \uac1c\ubc1c, \uba85\ub839\uacfc \uba54\uc18c\ub4dc - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#website\"},\"datePublished\":\"2024-10-28T11:15:25+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/atmokpo.com\/w\/31206\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atmokpo.com\/w\/31206\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atmokpo.com\/w\/31206\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\ud648\",\"item\":\"https:\/\/atmokpo.com\/w\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"WPF \uac1c\ubc1c, \uba85\ub839\uacfc \uba54\uc18c\ub4dc\"}]},{\"@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":"WPF \uac1c\ubc1c, \uba85\ub839\uacfc \uba54\uc18c\ub4dc - \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\/31206\/","og_locale":"ko_KR","og_type":"article","og_title":"WPF \uac1c\ubc1c, \uba85\ub839\uacfc \uba54\uc18c\ub4dc - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","og_description":"WPF \uac1c\ubc1c, \uba85\ub839\uacfc \uba54\uc18c\ub4dc \uc708\ub3c4\uc6b0 \ud504\ub808\uc820\ud14c\uc774\uc158 \uc7ac\ub2e8(WPF, Windows Presentation Foundation)\uc740 .NET Framework\ub97c \uae30\ubc18\uc73c\ub85c \ud558\ub294 \uac15\ub825\ud55c \uc0ac\uc6a9\uc790 \uc778\ud130\ud398\uc774\uc2a4(UI) \uac1c\ubc1c \ud50c\ub7ab\ud3fc\uc785\ub2c8\ub2e4. WPF\ub294 MVVM(Model-View-ViewModel) \uc544\ud0a4\ud14d\ucc98\ub97c \ud65c\uc6a9\ud558\uc5ec UI\uc640 \ube44\uc988\ub2c8\uc2a4 \ub85c\uc9c1 \uac04\uc758 \ubd84\ub9ac\ub97c \uc6a9\uc774\ud558\uac8c \ud558\uc5ec \uc7ac\uc0ac\uc6a9\uc131\uacfc \uc720\uc9c0 \ubcf4\uc218\uc131\uc744 \ub192\uc785\ub2c8\ub2e4. \uc774\ubc88 \uae00\uc5d0\uc11c\ub294 WPF\uc5d0\uc11c \uba85\ub839(Commands)\uacfc \uba54\uc18c\ub4dc(Methods)\uc5d0 \ub300\ud574 \uc790\uc138\ud788 \uc124\uba85\ud558\uace0, \uc774\ub97c \ud65c\uc6a9\ud55c \uc608\uc81c \ucf54\ub4dc\ub97c \uc81c\uacf5\ud558\uaca0\uc2b5\ub2c8\ub2e4. \uba85\ub839(Commands)\ub780? WPF\uc758 \ucee4\ub9e8\ub4dc\ub294 \uc0ac\uc6a9\uc790 \uc778\ud130\ud398\uc774\uc2a4\uc758 \ud2b9\uc815 \uc791\uc5c5\uc744 \uc218\ud589\ud560 &hellip; \ub354 \ubcf4\uae30 \"WPF \uac1c\ubc1c, \uba85\ub839\uacfc \uba54\uc18c\ub4dc\"","og_url":"https:\/\/atmokpo.com\/w\/31206\/","og_site_name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","article_published_time":"2024-10-28T11:15:25+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":"1\ubd84"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/atmokpo.com\/w\/31206\/#article","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/31206\/"},"author":{"name":"root","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7"},"headline":"WPF \uac1c\ubc1c, \uba85\ub839\uacfc \uba54\uc18c\ub4dc","datePublished":"2024-10-28T11:15:25+00:00","mainEntityOfPage":{"@id":"https:\/\/atmokpo.com\/w\/31206\/"},"wordCount":51,"publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"articleSection":["WPF \uac1c\ubc1c"],"inLanguage":"ko-KR"},{"@type":"WebPage","@id":"https:\/\/atmokpo.com\/w\/31206\/","url":"https:\/\/atmokpo.com\/w\/31206\/","name":"WPF \uac1c\ubc1c, \uba85\ub839\uacfc \uba54\uc18c\ub4dc - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/#website"},"datePublished":"2024-10-28T11:15:25+00:00","breadcrumb":{"@id":"https:\/\/atmokpo.com\/w\/31206\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/atmokpo.com\/w\/31206\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/atmokpo.com\/w\/31206\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\ud648","item":"https:\/\/atmokpo.com\/w\/en\/"},{"@type":"ListItem","position":2,"name":"WPF \uac1c\ubc1c, \uba85\ub839\uacfc \uba54\uc18c\ub4dc"}]},{"@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\/31206","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=31206"}],"version-history":[{"count":1,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/31206\/revisions"}],"predecessor-version":[{"id":31207,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/31206\/revisions\/31207"}],"wp:attachment":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/media?parent=31206"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/categories?post=31206"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/tags?post=31206"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}