OverviewFilesCommitsIssuesDocsReleasesPeers

ifsrenderer-linux / WpfDisplay / Views / Vec3Control.xaml

16 lines · xaml ref:
<UserControl x:Class="WpfDisplay.Views.Vec3Control"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:local="clr-namespace:WpfDisplay.Views"
             xmlns:vm="clr-namespace:WpfDisplay.ViewModels"
             mc:Ignorable="d" x:Name="vec3Control">
    <StackPanel>
        <Label Content="{Binding Vec3Settings.Name, ElementName=vec3Control}"/>
        <local:ValueSlider Value="{Binding XValue, ElementName=vec3Control}" SliderSettings="{Binding Vec3Settings.XSlider, ElementName=vec3Control}"/>
        <local:ValueSlider Value="{Binding YValue, ElementName=vec3Control}" SliderSettings="{Binding Vec3Settings.YSlider, ElementName=vec3Control}"/>
        <local:ValueSlider Value="{Binding ZValue, ElementName=vec3Control}" SliderSettings="{Binding Vec3Settings.ZSlider, ElementName=vec3Control}"/>
    </StackPanel>
</UserControl>