개정판 8acc4862
issue #00000 ZoomAndPanControl OnApplyTemplate 호출 수정
Change-Id: I923686647377c67c1dc0bac05d59329dbadda75e
KCOM/Views/MainMenu.xaml.cs | ||
---|---|---|
4817 | 4817 |
{ |
4818 | 4818 |
IsSyncPDFMode = false; |
4819 | 4819 |
|
4820 |
zoomAndPanControl2.ApplyTemplate(); |
|
4820 |
zoomAndPanControl2.OnApplyTemplate(); |
|
4821 |
//zoomAndPanControl2.ApplyTemplate(); |
|
4821 | 4822 |
zoomAndPanControl2.UpdateLayout(); |
4822 | 4823 |
|
4823 | 4824 |
ComparePageLoad(CurrentRev.DOCUMENT_ID, pageNavigator.CurrentPage.PageNumber, OriginalSizeMode.IsChecked); |
... | ... | |
5033 | 5034 |
|
5034 | 5035 |
Sync_Offset_Point = new Point(zoomAndPanControl.ContentOffsetX, zoomAndPanControl.ContentOffsetY); |
5035 | 5036 |
|
5036 |
zoomAndPanControl2.ApplyTemplate(); |
|
5037 |
zoomAndPanControl2.OnApplyTemplate();
|
|
5037 | 5038 |
zoomAndPanControl2.UpdateLayout(); |
5038 | 5039 |
|
5039 | 5040 |
if (Sync_Offset_Point != new Point(zoomAndPanControl.ContentOffsetX, zoomAndPanControl.ContentOffsetY)) |
... | ... | |
5139 | 5140 |
|
5140 | 5141 |
zoomAndPanCanvas2.Width = Convert.ToDouble(Common.ViewerDataModel.Instance.ContentWidth); |
5141 | 5142 |
zoomAndPanCanvas2.Height = Convert.ToDouble(Common.ViewerDataModel.Instance.ContentHeight); |
5142 |
zoomAndPanControl2.ApplyTemplate(); |
|
5143 |
zoomAndPanControl2.OnApplyTemplate();
|
|
5143 | 5144 |
zoomAndPanControl2.UpdateLayout(); |
5144 | 5145 |
|
5145 | 5146 |
if (Sync_Offset_Point != new Point(zoomAndPanControl.ContentOffsetX, zoomAndPanControl.ContentOffsetY)) |
내보내기 Unified diff