SpaceOutText() private method

private SpaceOutText ( string str ) : string
str string
return string
Ejemplo n.º 1
0
        // Callback method for property changed.
        static void OnSpacePropertyChanged(DependencyObject obj,
                                           DependencyPropertyChangedEventArgs args)
        {
            SpaceButton btn = obj as SpaceButton;

            btn.Content = btn.SpaceOutText(btn.txt);
        }