public InlineImageButton(SubStepTextBox aParent, string aImageSource)
        {
            Source = new BitmapImage(new Uri(aImageSource));



            _parent = aParent;
            Loaded += SubStepButton_Loaded;

            aParent.PreviewMouseDown += AParent_PreviewMouseDown;
            aParent.PreviewMouseMove += AParent_PreviewMouseMove;
        }
 public CopyToClipboardInline(SubStepTextBox aParent, string aText, string aCopyToCLipboardText) : base(aParent, new Underline(new Run(aText)))
 {
     _copyToClipboardText = aCopyToCLipboardText;
 }
        //public QuestLogButtonInline(SubStepTextBox aParent) : base(aParent, new InlineUIContainer(new Border
        //{
        //    Width = 30,
        //    Height = 30,
        //    Background = Brushes.Orange,
        //    CornerRadius= new System.Windows.CornerRadius(10),
        //    BorderBrush = Brushes.Black,
        //    Child = new TextBlock(),

        //}))
        //{

        //}

        public QuestLogButtonInline(SubStepTextBox aParent) : base(aParent, new Underline(new Run()) {
            Background = Brushes.Orange,
        })
        {
        }
Esempio n. 4
0
 public TLocInline(SubStepTextBox aParent, Point aPoint, string aText) : base(aParent, new Underline(new Run(aText)))
 {
     _point = aPoint;
 }
Esempio n. 5
0
 public PictureLinkInline(SubStepTextBox aParent, string aUrl, string aText) : base(aParent, new Underline(new Run(aText)))
 {
     _url = aUrl;
 }
 public ClickableInlineBase(SubStepTextBox aParent, Inline aChild) : base(aChild)
 {
     _parent = aParent;
     Child   = aChild;
     Loaded += ClickableInlineBase_Loaded;
 }