public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture)
 {
     HardResetParameters parameters = new HardResetParameters()
     {
         Context = (TextBlock)values[0],
         Text = (string)values[1],
         Text2 = (string)values[2],
         Text3 = (string)values[3],
         Text4 = (string)values[4],
         Bool = (bool)values[5],
         Flyout = values[6] as Flyout
     };
     return parameters;
 }
Exemplo n.º 2
0
        public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture)
        {
            HardResetParameters parameters = new HardResetParameters()
            {
                Context = (TextBlock)values[0],
                Text    = (string)values[1],
                Text2   = (string)values[2],
                Text3   = (string)values[3],
                Text4   = (string)values[4],
                Bool    = (bool)values[5],
                Flyout  = values[6] as Flyout
            };

            return(parameters);
        }