Mini Kabibi Habibi
using System;
using System.Collections;
using System.Collections.Generic;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using DevExpress.Utils.Internal;
using DevExpress.Xpf.Docking;
using DevExpress.Xpf.Docking.Base;
using DevExpress.Xpf.Layout.Core;
using DevExpress.Xpf.DemoBase.Helpers;
using DevExpress.Xpf.DemoBase.Helpers.TextColorizer;
using DevExpress.Xpf.DemoBase.Helpers.TextColorizer.Internal;
namespace DockingDemo {
public class CodeViewPresenter : DevExpress.Xpf.DemoBase.Helpers.Internal.CodeViewPresenter {
public static new readonly DependencyProperty CodeTextProperty;
static CodeViewPresenter() {
CodeTextProperty = DependencyProperty.Register("CodeText", typeof(CodeLanguageText), typeof(CodeViewPresenter), null);
}
public override void OnApplyTemplate() {
base.OnApplyTemplate();
Dispatcher.BeginInvoke(new Action(() =>
{
base.CodeText = CodeText;
}));
}
public new CodeLanguageText CodeText {
get { return (CodeLanguageText)GetValue(CodeTextProperty); }
set { SetValue(CodeTextProperty, value); }
}
}
public class DockPanel : DevExpress.Xpf.Core.DockPanel {
}
}