AdvancedLauncher.UI.Controls.EnabledTextBlock.EnabledTextBlock C# (CSharp) Method

EnabledTextBlock() static private method

static private EnabledTextBlock ( ) : System.Windows
return System.Windows
        static EnabledTextBlock()
        {
            IsEnabledProperty.OverrideMetadata(typeof(EnabledTextBlock), new UIPropertyMetadata(true, (d, e) => {
                var childrencount = VisualTreeHelper.GetChildrenCount(d);
                for (int i = 0; i < childrencount; i++) {
                    var child = VisualTreeHelper.GetChild(d, i);
                    child.CoerceValue(IsEnabledProperty);
                }
            }, (d, basevalue) => {
                return basevalue;
            }));
        }
EnabledTextBlock