36 references to ClickMode
PresentationFramework (36)
System\Windows\Controls\GridViewColumnHeader.cs (5)
199if (ClickMode == ClickMode.Hover && IsMouseCaptured) 217if (ClickMode == ClickMode.Hover && e.ButtonState == MouseButtonState.Pressed) 232if ((ClickMode != ClickMode.Hover) && 336if (ClickMode == ClickMode.Hover && IsMouseCaptured) 868if (ClickMode == ClickMode.Hover)
System\Windows\Controls\Primitives\ButtonBase.cs (21)
99ClickMode value = (ClickMode)o; 100return value == ClickMode.Press 101|| value == ClickMode.Release 102|| value == ClickMode.Hover; 385typeof(ClickMode), 387new FrameworkPropertyMetadata(ClickMode.Release), 395public ClickMode ClickMode 399return (ClickMode) GetValue(ClickModeProperty); 417if (ClickMode != ClickMode.Hover) 451if (ClickMode == ClickMode.Press) 481if (ClickMode != ClickMode.Hover) 484bool shouldClick = !IsSpaceKeyDown && IsPressed && ClickMode == ClickMode.Release; 507if ((ClickMode != ClickMode.Hover) && 524if ((e.OriginalSource == this) && (ClickMode != ClickMode.Hover) && !IsSpaceKeyDown) 568if (ClickMode == ClickMode.Hover) 595if (ClickMode == ClickMode.Hover) 612if (ClickMode == ClickMode.Press) 659if (ClickMode == ClickMode.Hover) 673bool shouldClick = IsPressed && ClickMode == ClickMode.Release; 705if (ClickMode == ClickMode.Hover)
System\Windows\Controls\Primitives\DataGridColumnHeader.cs (2)
964if (ClickMode == ClickMode.Hover && e.ButtonState == MouseButtonState.Pressed) 993if (ClickMode == ClickMode.Hover && IsMouseCaptured)
System\Windows\Controls\Primitives\DataGridRowHeader.cs (1)
126ClickModeProperty.OverrideMetadata(typeof(DataGridRowHeader), new FrameworkPropertyMetadata(ClickMode.Press));
System\Windows\Controls\Primitives\RepeatButton.cs (6)
26ClickModeProperty.OverrideMetadata(typeof(RepeatButton), new FrameworkPropertyMetadata(ClickMode.Press)); 217if (IsPressed && (ClickMode != ClickMode.Hover)) 231if (ClickMode != ClickMode.Hover) 278if (ClickMode == ClickMode.Hover) 302if ((e.Key == Key.Space) && (ClickMode != ClickMode.Hover)) 314if ((e.Key == Key.Space) && (ClickMode != ClickMode.Hover))
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (1)
7742bamlMember.TypeConverterType = typeof(System.Windows.Controls.ClickMode);