private void InitComposition() { _compositor = this.GetVisual().Compositor; _detailGridVisual = DetailGrid.GetVisual(); _maskBorderGridVisual = MaskBorder.GetVisual(); _infoGridVisual = InfoGrid.GetVisual(); _loadingPath = LoadingPath.GetVisual(); _shareBtnVisual = ShareBtn.GetVisual(); _flipperVisual = FlipperControl.GetVisual(); _taskbarImageVisual = TaskBarImageRoot.GetVisual(); _lockScreenImageVisual = LockImage.GetVisual(); _previewBtnVisual = PreviewBtn.GetVisual(); _setAsSPVisual = SetAsSP.GetVisual(); _exifInfoVisual = ExifInfoGrid.GetVisual(); _operationSPVisual = OperationSP.GetVisual(); _detailContentGridVisual = DetailContentGrid.GetVisual(); ResetVisualInitState(); }