Data Standard and Numbering Schemes

A XAML control called DSNumSchemeCtrl is used to support numbering schemes in Data Standard dialogs for the Vault Client, Inventor Vault Add-in, and AutoCAD Vault Add-in.

Numbering Scheme User Interface

The following lines are required in the XAML file to show the UI controls displayed in the preceding image.

...
        <Label Content="{Binding UIString[LBL10]}" Grid.Column="0" Grid.Row="6" />
        <ComboBox Grid.Column="1" Grid.Row="6" Name="NumSchms" SelectedIndex="0" Style="{StaticResource NumSchmStyle}"></ComboBox>
        <Label Content="{Binding UIString[LBL31]}" Grid.Column="0" Grid.Row="8"></Label>
        <WPF:DSNumSchemeCtrl Grid.Column="1" Grid.Row="8" Name="NUMSCHEME" IsEnabled="{Binding ElementName=NumSchms, Path=IsEnabled}" Scheme="{Binding ElementName=NumSchms, Path=SelectedItem}" GeneratedNumberProperty="_GeneratedNumber" />
...

Mandatory Attributes

The user control DSNumSchemeCtrl has two custom attributes that are mandatory.

See Numbering Schemes Samples for examples of customized numbering schemes.