프로젝트

일반

사용자정보

개정판 3c71b3a5

ID3c71b3a50a242bae59271faa25fb4515049540b6
상위 12caf251
하위 b7813553, 997071b8

김태성이(가) 5년 이상 전에 추가함

issue #000: merged master

Change-Id: Id7e766c44e158848f168c86ae220da1700fa36ad

차이점 보기:

MarkupToPDF/Controls/Text/ArrowTextControl.cs
64 64
            Base_ArrowSubPath = GetTemplateChild(PART_ArrowSubPath) as Path;
65 65
            Base_TextBox = GetTemplateChild(PART_TextBox) as TextBox;
66 66
            BaseTextbox_Caret = GetTemplateChild(PART_BaseTextbox_Caret) as Border;
67

  
67
            Base_TextBox.Text = this.ArrowText;
68 68
           
69 69
            this.Base_TextBox.CaretIndex = this.Base_TextBox.Text.Length;
70 70
            this.Base_TextBox.CaretBrush = new SolidColorBrush(Colors.Transparent);
......
118 118

  
119 119
        void Base_TextBox_SizeChanged(object sender, SizeChangedEventArgs e)
120 120
        {
121
            if (Base_TextBox.Text.Contains("|OR||DZ|"))
121
            if(this.IsEditingMode)
122 122
            {
123
                Base_TextBox.Text = this.ArrowText;
124
            }
123
                if (Base_TextBox.Text.Contains("|OR||DZ|"))
124
                {
125
                    Base_TextBox.Text = this.ArrowText;
126
                }
125 127

  
126
            this.ArrowText = Base_TextBox.Text;
127
            BoxWidth = e.NewSize.Width;
128
            BoxHeight = e.NewSize.Height;
129
            SetArrowTextPath();
128
                this.ArrowText = Base_TextBox.Text;
129
                BoxWidth = e.NewSize.Width;
130
                BoxHeight = e.NewSize.Height;               
131
                SetArrowTextPath();
132
            }           
130 133
        }
131 134

  
132 135
        #region Properties

내보내기 Unified diff

클립보드 이미지 추가 (최대 크기: 500 MB)