/// <summary> /// Initializes static members of the <see cref="OctgnChrome"/> class. /// </summary> static OctgnChrome() { // this checks whether application runs in design mode or not; if not the DependencyProperties are initialized if (!ControlExtensions.IsInDesignMode()) { ContentProperty = DependencyProperty.Register("Content", typeof(object), typeof(OctgnChrome), new UIPropertyMetadata(null, ContentChangedCallback)); BackgroundProperty = DependencyProperty.Register("Background", typeof(object), typeof(OctgnChrome), new UIPropertyMetadata(Brushes.Transparent, BackgroundChangedCallback)); } }