--- lang: ja-jp breaks: true --- # WPF XMAL デザインモードかどうかを判定する 2022-06-27 ```csharp= using System.ComponentModel; using System.Windows; public static bool IsIsInDesignMode { get { return (bool)DesignerProperties.IsInDesignModeProperty .GetMetadata(typeof(DependencyObject)) .DefaultValue; } } ``` ###### tags: `WPF` `XAML` `デザインモード`
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up