private void HorizontalClicked(object sender, EventArgs e) { VisualStateManager.GoToState(this, "Horizontal"); SomeContent.TranslateTo(0, 0, 1000); }
private void VerticalClicked(object sender, EventArgs e) { VisualStateManager.GoToState(this, "Vertical"); SomeContent.TranslateTo(100, 100, 1000); }