private void ResizeCameraImage() { if (_imageSize == CameraImageSize.Large) { _imageSize = CameraImageSize.Small; CameraSize = 300; } else if (_imageSize == CameraImageSize.Small) { _imageSize = CameraImageSize.Large; CameraSize = 150; } }