コード例 #1
0
 private static void AttachRepeatButton(INameScope nameScope, string name)
 {
     var button = nameScope.FindOrThrow <RepeatButton>(name) ??
                  throw new NullReferenceException($"Cannot find Slider RepeatButton with name '{name}'.");
     // button.AddHandler(InputElement.PointerPressedEvent, RepeatButton_PointerPressed, RoutingStrategies.Tunnel);
 }