1 type derived from TrackBar
System.Windows.Forms.Tests (1)
TrackBarTests.cs (1)
3276public class SubTrackBar : TrackBar
85 instantiations of TrackBar
Accessibility_Core_App (1)
RemainingControls.Designer.cs (1)
39this.trackBar1 = new System.Windows.Forms.TrackBar();
System.Windows.Forms.Tests (83)
System\Windows\Forms\AccessibleObjects\TrackBar.TrackBarAccessibleObjectTests.cs (19)
17using TrackBar ownerControl = new() 43using TrackBar ownerControl = new() 78using TrackBar ownerControl = new(); 108using TrackBar ownerControl = new() 127using TrackBar ownerControl = new() 261using TrackBar trackBar = new(); 273using TrackBar trackBar = new(); 299using TrackBar trackBar = new(); 314using TrackBar trackBar = new(); 326using TrackBar trackBar = new(); 392using TrackBar trackBar = new(); 404using TrackBar trackBar = new() 416using TrackBar trackBar = new(); 428using TrackBar trackBar = new() 444using TrackBar trackBar = new(); 469using TrackBar trackBar = new(); 478TrackBar trackBar = new() 502using TrackBar trackBar = new(); 520using TrackBar trackBar = new();
System\Windows\Forms\AccessibleObjects\TrackBar.TrackBarChildAccessibleObjectTests.cs (10)
21using TrackBar control = new(); 31using TrackBar control = new(); 43using TrackBar control = new(); 54using TrackBar control = new(); 64using TrackBar control = new(); 75using TrackBar control = new(); 86using TrackBar control = new(); 96using TrackBar control = new(); 113using TrackBar control = new(); 121using TrackBar control = new();
System\Windows\Forms\AccessibleObjects\TrackBar.TrackBarFirstButtonAccessibleObjectTests.cs (1)
375TrackBar trackBar = new()
System\Windows\Forms\AccessibleObjects\TrackBar.TrackBarLastButtonAccessibleObjectTests.cs (1)
376TrackBar trackBar = new()
System\Windows\Forms\AccessibleObjects\TrackBar.TrackBarThumbAccessibleObjectTests.cs (1)
238TrackBar trackBar = new()
System\Windows\Forms\AccessibleObjects\UpDownBase.UpDownButtons.UpDownButtonsAccessibleObjectTests.cs (2)
138using TrackBar trackBar = new(); 153using TrackBar trackBar = new();
System\Windows\Forms\BinaryFormat\WinFormsBinaryFormattedObjectTests.cs (1)
201{ new TrackBar(), new string[] { "DataContext: Object", "Tag: Object" } },
System\Windows\Forms\TreeViewTests.cs (3)
3116using TrackBar control = new() 3166using TrackBar control = new() 3204using TrackBar control = new()
TrackBarTests.cs (45)
438using TrackBar control = new() 454using TrackBar control = new(); 515using TrackBar control = new(); 643using TrackBar control = new(); 695using TrackBar control = new() 712using TrackBar control = new(); 740using TrackBar control = new(); 775using TrackBar control = new() 786using TrackBar control = new() 803using TrackBar control = new() 816using TrackBar control = new() 828using TrackBar control = new() 839using TrackBar control = new() 859using TrackBar control = new() 890using TrackBar control = new() 907using TrackBar control = new(); 935using TrackBar control = new(); 971using TrackBar control = new(); 1460using TrackBar control = new(); 1468using TrackBar control = new() 1485using TrackBar control = new(); 1513using TrackBar control = new(); 1596using TrackBar control = new() 1646using TrackBar control = new() 1684using TrackBar control = new() 1775using TrackBar control = new() 1792using TrackBar control = new(); 1820using TrackBar control = new(); 1860using TrackBar control = new() 1881using TrackBar control = new(); 1910using TrackBar control = new() 1930using TrackBar control = new(); 1959using TrackBar control = new(); 1985using TrackBar control = new() 2019using TrackBar control = new(); 2112using TrackBar control = new() 2155using TrackBar control = new(); 2192using TrackBar control = new(); 2200using TrackBar control = new(); 2225using TrackBar control = new(); 2249using TrackBar control = new(); 3054using TrackBar control = new() 3083using TrackBar control = new() 3111using TrackBar control = new(); 3217using TrackBar control = new();
WinFormsControlsTest (1)
TrackBars.Designer.cs (1)
34this.trackBar1 = new System.Windows.Forms.TrackBar();
334 references to TrackBar
Accessibility_Core_App (1)
RemainingControls.Designer.cs (1)
145private System.Windows.Forms.TrackBar trackBar1;
DesignSurface (2)
MainForm.cs (2)
259TrackBar trackBar = surface.CreateControl<TrackBar>(new Size(200, 50), new Point(250, 220));
System.Windows.Forms (39)
System\Windows\Forms\Controls\TrackBar\TickStyle.cs (1)
7/// Specifies the location of tick marks in a <see cref="TrackBar"/>
System\Windows\Forms\Controls\TrackBar\TrackBar.TrackBarAccessibleObject.cs (13)
18public TrackBarAccessibleObject(TrackBar owningTrackBar) : base(owningTrackBar) 26if (!this.IsOwnerHandleCreated(out TrackBar? _)) 37public override string? DefaultAction => this.TryGetOwnerAs(out TrackBar? owner) 54=> _firstButtonAccessibleObject ??= (this.TryGetOwnerAs(out TrackBar? owner) ? new(owner) : null); 57=> this.TryGetOwnerAs(out TrackBar? owner) && owner.RightToLeft == RightToLeft.Yes && owner.RightToLeftLayout; 60=> _lastButtonAccessibleObject ??= (this.TryGetOwnerAs(out TrackBar? owner) ? new(owner) : null); 63=> this.TryGetOwnerAs(out TrackBar? owner) && owner.RightToLeft == RightToLeft.Yes && !owner.RightToLeftLayout; 66=> _thumbAccessibleObject ??= (this.TryGetOwnerAs(out TrackBar? owner) ? new(owner) : null); 70if (!this.IsOwnerHandleCreated(out TrackBar? _)) 88if (!this.IsOwnerHandleCreated(out TrackBar? _)) 102if (!this.IsOwnerHandleCreated(out TrackBar? _)) 135if (!this.IsOwnerHandleCreated(out TrackBar? _)) 155UIA_PROPERTY_ID.UIA_HasKeyboardFocusPropertyId => (VARIANT)(this.TryGetOwnerAs(out TrackBar? owner) && owner.Focused),
System\Windows\Forms\Controls\TrackBar\TrackBar.TrackBarChildAccessibleObject.cs (11)
12internal abstract class TrackBarChildAccessibleObject : AccessibleObject, IOwnedObject<TrackBar> 14private readonly WeakReference<TrackBar> _owningTrackBar; 17public TrackBarChildAccessibleObject(TrackBar owningTrackBar) 24if (!this.IsOwnerHandleCreated(out TrackBar? _) || !IsDisplayed) 50internal virtual bool IsDisplayed => this.TryGetOwnerAs(out TrackBar? trackbar) && trackbar.Visible; 52TrackBar? IOwnedObject<TrackBar>.Owner => _owningTrackBar.TryGetTarget(out TrackBar? target) ? target : null; 54internal TrackBarAccessibleObject? ParentInternal => this.TryGetOwnerAs(out TrackBar? owner) 61(int)(this.TryGetOwnerAs(out TrackBar? owner) ? owner.InternalHandle : HWND.Null), 77UIA_PROPERTY_ID.UIA_IsEnabledPropertyId => (VARIANT)(this.TryGetOwnerAs(out TrackBar? owner) && owner.Enabled),
System\Windows\Forms\Controls\TrackBar\TrackBar.TrackBarFirstButtonAccessibleObject.cs (5)
12public TrackBarFirstButtonAccessibleObject(TrackBar owningTrackBar) : base(owningTrackBar) 21public override string? Name => !this.TryGetOwnerAs(out TrackBar? owner) || ParentInternal is not { } parent 33if (!this.TryGetOwnerAs(out TrackBar? owner) 49if (!this.IsOwnerHandleCreated(out TrackBar? _)) 66if (this.IsOwnerHandleCreated(out TrackBar? _))
System\Windows\Forms\Controls\TrackBar\TrackBar.TrackBarLastButtonAccessibleObject.cs (6)
12public TrackBarLastButtonAccessibleObject(TrackBar owningTrackBar) : base(owningTrackBar) 21public override string? Name => !this.TryGetOwnerAs(out TrackBar? owner) || ParentInternal is not { } parent 30=> !this.IsOwnerHandleCreated(out TrackBar? _) || IsDisplayed 38if (!this.IsOwnerHandleCreated(out TrackBar? owner) 58if (!this.IsOwnerHandleCreated(out TrackBar? _)) 75if (this.IsOwnerHandleCreated(out TrackBar? _))
System\Windows\Forms\Controls\TrackBar\TrackBar.TrackBarThumbAccessibleObject.cs (2)
13public TrackBarThumbAccessibleObject(TrackBar owningTrackBar) : base(owningTrackBar) 24if (!this.IsOwnerHandleCreated(out TrackBar? _))
System\Windows\Forms\Scrolling\ScrollEventHandler.cs (1)
8/// <see cref="TrackBar"/> or <see cref="DataGridView"/>.
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\TrackBarDesigner.cs (2)
22if (GetPropertyValue<bool>(Component, nameof(TrackBar.AutoSize))) 24var orientation = GetPropertyValue<Orientation?>(Component, nameof(TrackBar.Orientation)) ?? Orientation.Horizontal;
System.Windows.Forms.Tests (289)
System\Windows\Forms\AccessibleObjects\Control.ControlAccessibleObjectTests.cs (1)
33typeof(TrackBar),
System\Windows\Forms\AccessibleObjects\TrackBar.TrackBarAccessibleObjectTests.cs (68)
17using TrackBar ownerControl = new() 43using TrackBar ownerControl = new() 78using TrackBar ownerControl = new(); 108using TrackBar ownerControl = new() 127using TrackBar ownerControl = new() 143using TrackBar trackBar = GetTrackBar(orientation, rightToLeft, rightToLeftLayout, createControl: true, value, minimum, maximum); 144TrackBar.TrackBarAccessibleObject accessibilityObject = Assert.IsAssignableFrom<TrackBar.TrackBarAccessibleObject>(trackBar.AccessibilityObject); 155using TrackBar trackBar = GetTrackBar(orientation, rightToLeft, rightToLeftLayout, createControl: true, value, minimum, maximum); 156TrackBar.TrackBarAccessibleObject accessibilityObject = Assert.IsAssignableFrom<TrackBar.TrackBarAccessibleObject>(trackBar.AccessibilityObject); 167using TrackBar trackBar = GetTrackBar(orientation, rightToLeft, rightToLeftLayout, createControl: true, value, minimum, maximum); 168TrackBar.TrackBarAccessibleObject accessibilityObject = Assert.IsAssignableFrom<TrackBar.TrackBarAccessibleObject>(trackBar.AccessibilityObject); 179using TrackBar trackBar = GetTrackBar(orientation, rightToLeft, rightToLeftLayout, createControl: true, value, minimum, maximum); 180TrackBar.TrackBarAccessibleObject accessibilityObject = Assert.IsAssignableFrom<TrackBar.TrackBarAccessibleObject>(trackBar.AccessibilityObject); 192using TrackBar trackBar = GetTrackBar(orientation, rightToLeft, rightToLeftLayout, createControl: false, value, minimum, maximum); 193TrackBar.TrackBarAccessibleObject accessibilityObject = Assert.IsAssignableFrom<TrackBar.TrackBarAccessibleObject>(trackBar.AccessibilityObject); 203using TrackBar trackBar = GetTrackBar(orientation, rightToLeft, rightToLeftLayout, createControl: true, value, minimum, maximum); 204TrackBar.TrackBarAccessibleObject accessibleObject = (TrackBar.TrackBarAccessibleObject)trackBar.AccessibilityObject; 218using TrackBar trackBar = GetTrackBar(orientation, rightToLeft, rightToLeftLayout, createControl: true, value, minimum, maximum); 219TrackBar.TrackBarAccessibleObject accessibleObject = (TrackBar.TrackBarAccessibleObject)trackBar.AccessibilityObject; 232using TrackBar trackBar = GetTrackBar(orientation, rightToLeft, rightToLeftLayout, createControl: true, value, minimum, maximum); 233TrackBar.TrackBarAccessibleObject accessibleObject = (TrackBar.TrackBarAccessibleObject)trackBar.AccessibilityObject; 247using TrackBar trackBar = GetTrackBar(orientation, rightToLeft, rightToLeftLayout, createControl: false, value, minimum, maximum); 248TrackBar.TrackBarAccessibleObject accessibleObject = (TrackBar.TrackBarAccessibleObject)trackBar.AccessibilityObject; 261using TrackBar trackBar = new(); 273using TrackBar trackBar = new(); 299using TrackBar trackBar = new(); 314using TrackBar trackBar = new(); 326using TrackBar trackBar = new(); 345using TrackBar trackBar = GetTrackBar(orientation, rightToLeft, rightToLeftLayout, createControl: true, value, minimum, maximum); 346TrackBar.TrackBarAccessibleObject accessibleObject = (TrackBar.TrackBarAccessibleObject)trackBar.AccessibilityObject; 357using TrackBar trackBar = GetTrackBar(orientation, rightToLeft, rightToLeftLayout, createControl: true, value, minimum, maximum); 358TrackBar.TrackBarAccessibleObject accessibleObject = (TrackBar.TrackBarAccessibleObject)trackBar.AccessibilityObject; 369using TrackBar trackBar = GetTrackBar(orientation, rightToLeft, rightToLeftLayout, createControl: true, value, minimum, maximum); 370TrackBar.TrackBarAccessibleObject accessibleObject = (TrackBar.TrackBarAccessibleObject)trackBar.AccessibilityObject; 381using TrackBar trackBar = GetTrackBar(orientation, rightToLeft, rightToLeftLayout, createControl: false, value, minimum, maximum); 382TrackBar.TrackBarAccessibleObject accessibleObject = (TrackBar.TrackBarAccessibleObject)trackBar.AccessibilityObject; 392using TrackBar trackBar = new(); 404using TrackBar trackBar = new() 416using TrackBar trackBar = new(); 428using TrackBar trackBar = new() 434TrackBar.TrackBarAccessibleObject accessibilityObject = (TrackBar.TrackBarAccessibleObject)trackBar.AccessibilityObject; 444using TrackBar trackBar = new(); 469using TrackBar trackBar = new(); 470TrackBar.TrackBarAccessibleObject accessibleObject = (TrackBar.TrackBarAccessibleObject)trackBar.AccessibilityObject; 476private TrackBar GetTrackBar(Orientation orientation, RightToLeft rightToLeft, bool rightToLeftLayout, bool createControl, int value, int minimum, int maximum) 478TrackBar trackBar = new() 502using TrackBar trackBar = new(); 504TrackBar.TrackBarAccessibleObject accessibleObject = (TrackBar.TrackBarAccessibleObject)trackBar.AccessibilityObject; 514Assert.Throws<ArgumentNullException>(() => new TrackBar.TrackBarAccessibleObject(null)); 520using TrackBar trackBar = new(); 522TrackBar.TrackBarAccessibleObject accessibleObject = (TrackBar.TrackBarAccessibleObject)trackBar.AccessibilityObject;
System\Windows\Forms\AccessibleObjects\TrackBar.TrackBarChildAccessibleObjectTests.cs (12)
6using static System.Windows.Forms.TrackBar; 21using TrackBar control = new(); 31using TrackBar control = new(); 43using TrackBar control = new(); 54using TrackBar control = new(); 64using TrackBar control = new(); 75using TrackBar control = new(); 86using TrackBar control = new(); 96using TrackBar control = new(); 106public SubTrackBarChildAccessibleObject(TrackBar owningTrackBar) : base(owningTrackBar) 113using TrackBar control = new(); 121using TrackBar control = new();
System\Windows\Forms\AccessibleObjects\TrackBar.TrackBarFirstButtonAccessibleObjectTests.cs (57)
16using TrackBar trackBar = GetTrackBar(orientation, rightToLeft, rightToLeftLayout, createControl: true, value, minimum, maximum); 17TrackBar.TrackBarFirstButtonAccessibleObject accessibleObject = GetTrackBarFirstButton(trackBar); 27using TrackBar trackBar = GetTrackBar(orientation, rightToLeft, rightToLeftLayout, createControl: true, value, minimum, maximum); 28TrackBar.TrackBarFirstButtonAccessibleObject accessibleObject = GetTrackBarFirstButton(trackBar); 38using TrackBar trackBar = GetTrackBar(orientation, rightToLeft, rightToLeftLayout, createControl: false, value, minimum, maximum); 39TrackBar.TrackBarFirstButtonAccessibleObject accessibleObject = GetTrackBarFirstButton(trackBar); 49using TrackBar trackBar = GetTrackBar(orientation, rightToLeft, rightToLeftLayout, createControl, value, minimum, maximum); 50TrackBar.TrackBarFirstButtonAccessibleObject accessibleObject = GetTrackBarFirstButton(trackBar); 60using TrackBar trackBar = GetTrackBar(orientation, rightToLeft, rightToLeftLayout, createControl, value, minimum, maximum); 61TrackBar.TrackBarFirstButtonAccessibleObject accessibleObject = GetTrackBarFirstButton(trackBar); 93using TrackBar trackBar = GetTrackBar(orientation, rightToLeft, rightToLeftLayout, createControl, value, minimum, maximum); 94TrackBar.TrackBarFirstButtonAccessibleObject accessibleObject = GetTrackBarFirstButton(trackBar); 127using TrackBar trackBar = GetTrackBar(orientation, rightToLeft, rightToLeftLayout, createControl, value, minimum, maximum); 128TrackBar.TrackBarFirstButtonAccessibleObject accessibleObject = GetTrackBarFirstButton(trackBar); 138using TrackBar trackBar = GetTrackBar(orientation, rightToLeft, rightToLeftLayout, createControl, value, minimum, maximum); 139TrackBar.TrackBarFirstButtonAccessibleObject accessibleObject = GetTrackBarFirstButton(trackBar); 150using TrackBar trackBar = GetTrackBar(orientation, rightToLeft, rightToLeftLayout, createControl, value, minimum, maximum); 151TrackBar.TrackBarFirstButtonAccessibleObject accessibleObject = GetTrackBarFirstButton(trackBar); 164using TrackBar trackBar = GetTrackBar(orientation, rightToLeft, rightToLeftLayout, createControl: true, value, minimum, maximum); 165var trackBarAccessibleObject = (TrackBar.TrackBarAccessibleObject)trackBar.AccessibilityObject; 166TrackBar.TrackBarFirstButtonAccessibleObject accessibleObject = trackBarAccessibleObject.FirstButtonAccessibleObject; 180using TrackBar trackBar = GetTrackBar(orientation, rightToLeft, rightToLeftLayout, createControl: true, value, minimum, maximum); 181var trackBarAccessibleObject = (TrackBar.TrackBarAccessibleObject)trackBar.AccessibilityObject; 182TrackBar.TrackBarFirstButtonAccessibleObject accessibleObject = trackBarAccessibleObject.FirstButtonAccessibleObject; 196using TrackBar trackBar = GetTrackBar(orientation, rightToLeft, rightToLeftLayout, createControl: true, value, minimum, maximum); 197var trackBarAccessibleObject = (TrackBar.TrackBarAccessibleObject)trackBar.AccessibilityObject; 198TrackBar.TrackBarFirstButtonAccessibleObject accessibleObject = trackBarAccessibleObject.FirstButtonAccessibleObject; 212using TrackBar trackBar = GetTrackBar(orientation, rightToLeft, rightToLeftLayout, createControl: false, value, minimum, maximum); 213TrackBar.TrackBarFirstButtonAccessibleObject accessibleObject = GetTrackBarFirstButton(trackBar); 227using TrackBar trackBar = GetTrackBar(orientation, rightToLeft, rightToLeftLayout, createControl, value, minimum, maximum); 228TrackBar.TrackBarFirstButtonAccessibleObject accessibleObject = GetTrackBarFirstButton(trackBar); 238using TrackBar trackBar = GetTrackBar(orientation, rightToLeft, rightToLeftLayout, createControl, value, minimum, maximum); 239TrackBar.TrackBarFirstButtonAccessibleObject accessibleObject = GetTrackBarFirstButton(trackBar); 255using TrackBar trackBar = GetTrackBar(orientation, rightToLeft, rightToLeftLayout, createControl: true, value: 5, 0, 10); 256TrackBar.TrackBarFirstButtonAccessibleObject accessibleObject = GetTrackBarFirstButton(trackBar); 280using TrackBar trackBar = GetTrackBar(orientation, rightToLeft, rightToLeftLayout, createControl: true, value: 5, 0, 10); 281TrackBar.TrackBarFirstButtonAccessibleObject accessibleObject = GetTrackBarFirstButton(trackBar); 303using TrackBar trackBar = GetTrackBar(orientation, rightToLeft, rightToLeftLayout, createControl: false, value, minimum, maximum); 304TrackBar.TrackBarFirstButtonAccessibleObject accessibleObject = GetTrackBarFirstButton(trackBar); 318using TrackBar trackBar = GetTrackBar(orientation, rightToLeft, rightToLeftLayout, createControl, value, minimum, maximum); 319TrackBar.TrackBarFirstButtonAccessibleObject accessibleObject = GetTrackBarFirstButton(trackBar); 329using TrackBar trackBar = GetTrackBar(orientation, rightToLeft, rightToLeftLayout, createControl, value, minimum, maximum); 331TrackBar.TrackBarFirstButtonAccessibleObject accessibleObject = GetTrackBarFirstButton(trackBar); 341using TrackBar trackBar = GetTrackBar(orientation, rightToLeft, rightToLeftLayout, createControl, value, minimum, maximum); 343TrackBar.TrackBarFirstButtonAccessibleObject accessibleObject = GetTrackBarFirstButton(trackBar); 353using TrackBar trackBar = GetTrackBar(orientation, rightToLeft, rightToLeftLayout, createControl: true, value, minimum, maximum); 355TrackBar.TrackBarFirstButtonAccessibleObject accessibleObject = GetTrackBarFirstButton(trackBar); 365using TrackBar trackBar = GetTrackBar(orientation, rightToLeft, rightToLeftLayout, createControl: true, value, minimum, maximum); 367TrackBar.TrackBarFirstButtonAccessibleObject accessibleObject = GetTrackBarFirstButton(trackBar); 373private TrackBar GetTrackBar(Orientation orientation, RightToLeft rightToLeft, bool rightToLeftLayout, bool createControl, int value, int minimum, int maximum) 375TrackBar trackBar = new() 394private TrackBar.TrackBarFirstButtonAccessibleObject GetTrackBarFirstButton(TrackBar trackBar) 396TrackBar.TrackBarAccessibleObject trackBarAccessibleObject = (TrackBar.TrackBarAccessibleObject)trackBar.AccessibilityObject; 406using TrackBar control = GetTrackBar(orientation, rightToLeft, rightToLeftLayout, true, 5, 0, 10); 420using TrackBar control = GetTrackBar(orientation, rightToLeft, rightToLeftLayout, true, 5, 0, 10);
System\Windows\Forms\AccessibleObjects\TrackBar.TrackBarLastButtonAccessibleObjectTests.cs (55)
16using TrackBar trackBar = GetTrackBar(orientation, rightToLeft, rightToLeftLayout, createControl: true, value, minimum, maximum); 17TrackBar.TrackBarLastButtonAccessibleObject accessibleObject = GetTrackBarLastButton(trackBar); 27using TrackBar trackBar = GetTrackBar(orientation, rightToLeft, rightToLeftLayout, createControl: true, value, minimum, maximum); 28TrackBar.TrackBarLastButtonAccessibleObject accessibleObject = GetTrackBarLastButton(trackBar); 38using TrackBar trackBar = GetTrackBar(orientation, rightToLeft, rightToLeftLayout, createControl: false, value, minimum, maximum); 39TrackBar.TrackBarLastButtonAccessibleObject accessibleObject = GetTrackBarLastButton(trackBar); 49using TrackBar trackBar = GetTrackBar(orientation, rightToLeft, rightToLeftLayout, createControl, value, minimum, maximum); 50TrackBar.TrackBarLastButtonAccessibleObject accessibleObject = GetTrackBarLastButton(trackBar); 60using TrackBar trackBar = GetTrackBar(orientation, rightToLeft, rightToLeftLayout, createControl, value, minimum, maximum); 61TrackBar.TrackBarLastButtonAccessibleObject accessibleObject = GetTrackBarLastButton(trackBar); 93using TrackBar trackBar = GetTrackBar(orientation, rightToLeft, rightToLeftLayout, createControl, value, minimum, maximum); 94TrackBar.TrackBarLastButtonAccessibleObject accessibleObject = GetTrackBarLastButton(trackBar); 127using TrackBar trackBar = GetTrackBar(orientation, rightToLeft, rightToLeftLayout, createControl, value, minimum, maximum); 128TrackBar.TrackBarLastButtonAccessibleObject accessibleObject = GetTrackBarLastButton(trackBar); 138using TrackBar trackBar = GetTrackBar(orientation, rightToLeft, rightToLeftLayout, createControl, value, minimum, maximum); 139TrackBar.TrackBarLastButtonAccessibleObject accessibleObject = GetTrackBarLastButton(trackBar); 150using TrackBar trackBar = GetTrackBar(orientation, rightToLeft, rightToLeftLayout, createControl, value, minimum, maximum); 151TrackBar.TrackBarLastButtonAccessibleObject accessibleObject = GetTrackBarLastButton(trackBar); 165using TrackBar trackBar = GetTrackBar(orientation, rightToLeft, rightToLeftLayout, createControl: true, value, minimum, maximum); 166var trackBarAccessibleObject = (TrackBar.TrackBarAccessibleObject)trackBar.AccessibilityObject; 167TrackBar.TrackBarLastButtonAccessibleObject accessibleObject = trackBarAccessibleObject.LastButtonAccessibleObject; 181using TrackBar trackBar = GetTrackBar(orientation, rightToLeft, rightToLeftLayout, createControl: true, value, minimum, maximum); 182var trackBarAccessibleObject = (TrackBar.TrackBarAccessibleObject)trackBar.AccessibilityObject; 183TrackBar.TrackBarLastButtonAccessibleObject accessibleObject = trackBarAccessibleObject.LastButtonAccessibleObject; 197using TrackBar trackBar = GetTrackBar(orientation, rightToLeft, rightToLeftLayout, createControl: false, value, minimum, maximum); 198TrackBar.TrackBarLastButtonAccessibleObject accessibleObject = GetTrackBarLastButton(trackBar); 212using TrackBar trackBar = GetTrackBar(orientation, rightToLeft, rightToLeftLayout, createControl: true, value, minimum, maximum); 213var trackBarAccessibleObject = (TrackBar.TrackBarAccessibleObject)trackBar.AccessibilityObject; 214TrackBar.TrackBarLastButtonAccessibleObject accessibleObject = trackBarAccessibleObject.LastButtonAccessibleObject; 228using TrackBar trackBar = GetTrackBar(orientation, rightToLeft, rightToLeftLayout, createControl, value, minimum, maximum); 229TrackBar.TrackBarLastButtonAccessibleObject accessibleObject = GetTrackBarLastButton(trackBar); 239using TrackBar trackBar = GetTrackBar(orientation, rightToLeft, rightToLeftLayout, createControl, value, minimum, maximum); 240TrackBar.TrackBarLastButtonAccessibleObject accessibleObject = GetTrackBarLastButton(trackBar); 256using TrackBar trackBar = GetTrackBar(orientation, rightToLeft, rightToLeftLayout, createControl: true, value: 5, 0, 10); 257TrackBar.TrackBarLastButtonAccessibleObject accessibleObject = GetTrackBarLastButton(trackBar); 281using TrackBar trackBar = GetTrackBar(orientation, rightToLeft, rightToLeftLayout, createControl: true, value: 5, 0, 10); 282TrackBar.TrackBarLastButtonAccessibleObject accessibleObject = GetTrackBarLastButton(trackBar); 304using TrackBar trackBar = GetTrackBar(orientation, rightToLeft, rightToLeftLayout, createControl: false, value, minimum, maximum); 305TrackBar.TrackBarLastButtonAccessibleObject accessibleObject = GetTrackBarLastButton(trackBar); 319using TrackBar trackBar = GetTrackBar(orientation, rightToLeft, rightToLeftLayout, createControl, value, minimum, maximum); 320TrackBar.TrackBarLastButtonAccessibleObject accessibleObject = GetTrackBarLastButton(trackBar); 330using TrackBar trackBar = GetTrackBar(orientation, rightToLeft, rightToLeftLayout, createControl, value, minimum, maximum); 332TrackBar.TrackBarLastButtonAccessibleObject accessibleObject = GetTrackBarLastButton(trackBar); 342using TrackBar trackBar = GetTrackBar(orientation, rightToLeft, rightToLeftLayout, createControl, value, minimum, maximum); 344TrackBar.TrackBarLastButtonAccessibleObject accessibleObject = GetTrackBarLastButton(trackBar); 354using TrackBar trackBar = GetTrackBar(orientation, rightToLeft, rightToLeftLayout, createControl: true, value, minimum, maximum); 356TrackBar.TrackBarLastButtonAccessibleObject accessibleObject = GetTrackBarLastButton(trackBar); 366using TrackBar trackBar = GetTrackBar(orientation, rightToLeft, rightToLeftLayout, createControl: true, value, minimum, maximum); 368TrackBar.TrackBarLastButtonAccessibleObject accessibleObject = GetTrackBarLastButton(trackBar); 374private TrackBar GetTrackBar(Orientation orientation, RightToLeft rightToLeft, bool rightToLeftLayout, bool createControl, int value, int minimum, int maximum) 376TrackBar trackBar = new() 395private TrackBar.TrackBarLastButtonAccessibleObject GetTrackBarLastButton(TrackBar trackBar) 397TrackBar.TrackBarAccessibleObject trackBarAccessibleObject = (TrackBar.TrackBarAccessibleObject)trackBar.AccessibilityObject;
System\Windows\Forms\AccessibleObjects\TrackBar.TrackBarThumbAccessibleObjectTests.cs (46)
16using TrackBar trackBar = GetTrackBar(orientation, rightToLeft, rightToLeftLayout, createControl: false, value, minimum, maximum); 17TrackBar.TrackBarThumbAccessibleObject accessibleObject = GetTrackBarThumb(trackBar); 27using TrackBar trackBar = GetTrackBar(orientation, rightToLeft, rightToLeftLayout, createControl: true, value, minimum, maximum); 28TrackBar.TrackBarThumbAccessibleObject accessibleObject = GetTrackBarThumb(trackBar); 38using TrackBar trackBar = GetTrackBar(orientation, rightToLeft, rightToLeftLayout, createControl, value, minimum, maximum); 39TrackBar.TrackBarThumbAccessibleObject accessibleObject = GetTrackBarThumb(trackBar); 49using TrackBar trackBar = GetTrackBar(orientation, rightToLeft, rightToLeftLayout, createControl, value, minimum, maximum); 50TrackBar.TrackBarThumbAccessibleObject accessibleObject = GetTrackBarThumb(trackBar); 60using TrackBar trackBar = GetTrackBar(orientation, rightToLeft, rightToLeftLayout, createControl, value, minimum, maximum); 61TrackBar.TrackBarThumbAccessibleObject accessibleObject = GetTrackBarThumb(trackBar); 71using TrackBar trackBar = GetTrackBar(orientation, rightToLeft, rightToLeftLayout, createControl, value, minimum, maximum); 72TrackBar.TrackBarThumbAccessibleObject accessibleObject = GetTrackBarThumb(trackBar); 83using TrackBar trackBar = GetTrackBar(orientation, rightToLeft, rightToLeftLayout, createControl, value, minimum, maximum); 84TrackBar.TrackBarThumbAccessibleObject accessibleObject = GetTrackBarThumb(trackBar); 93using TrackBar trackBar = GetTrackBar(orientation, rightToLeft, rightToLeftLayout, createControl: true, value, minimum, maximum); 94var trackBarAccessibleObject = (TrackBar.TrackBarAccessibleObject)trackBar.AccessibilityObject; 95TrackBar.TrackBarThumbAccessibleObject accessibleObject = trackBarAccessibleObject.ThumbAccessibleObject; 109using TrackBar trackBar = GetTrackBar(orientation, rightToLeft, rightToLeftLayout, createControl: true, value, minimum, maximum); 110var trackBarAccessibleObject = (TrackBar.TrackBarAccessibleObject)trackBar.AccessibilityObject; 111TrackBar.TrackBarThumbAccessibleObject accessibleObject = trackBarAccessibleObject.ThumbAccessibleObject; 125using TrackBar trackBar = GetTrackBar(orientation, rightToLeft, rightToLeftLayout, createControl: true, value, minimum, maximum); 126var trackBarAccessibleObject = (TrackBar.TrackBarAccessibleObject)trackBar.AccessibilityObject; 127TrackBar.TrackBarThumbAccessibleObject accessibleObject = trackBarAccessibleObject.ThumbAccessibleObject; 141using TrackBar trackBar = GetTrackBar(orientation, rightToLeft, rightToLeftLayout, createControl: false, value, minimum, maximum); 142var trackBarAccessibleObject = (TrackBar.TrackBarAccessibleObject)trackBar.AccessibilityObject; 143TrackBar.TrackBarThumbAccessibleObject accessibleObject = trackBarAccessibleObject.ThumbAccessibleObject; 157using TrackBar trackBar = GetTrackBar(orientation, rightToLeft, rightToLeftLayout, createControl, value, minimum, maximum); 158TrackBar.TrackBarThumbAccessibleObject accessibleObject = GetTrackBarThumb(trackBar); 168using TrackBar trackBar = GetTrackBar(orientation, rightToLeft, rightToLeftLayout, createControl, value, minimum, maximum); 169TrackBar.TrackBarThumbAccessibleObject accessibleObject = GetTrackBarThumb(trackBar); 181using TrackBar trackBar = GetTrackBar(orientation, rightToLeft, rightToLeftLayout, createControl, value, minimum, maximum); 182TrackBar.TrackBarThumbAccessibleObject accessibleObject = GetTrackBarThumb(trackBar); 192using TrackBar trackBar = GetTrackBar(orientation, rightToLeft, rightToLeftLayout, createControl, value, minimum, maximum); 194TrackBar.TrackBarThumbAccessibleObject accessibleObject = GetTrackBarThumb(trackBar); 204using TrackBar trackBar = GetTrackBar(orientation, rightToLeft, rightToLeftLayout, createControl, value, minimum, maximum); 206TrackBar.TrackBarThumbAccessibleObject accessibleObject = GetTrackBarThumb(trackBar); 216using TrackBar trackBar = GetTrackBar(orientation, rightToLeft, rightToLeftLayout, createControl, value, minimum, maximum); 218TrackBar.TrackBarThumbAccessibleObject accessibleObject = GetTrackBarThumb(trackBar); 228using TrackBar trackBar = GetTrackBar(orientation, rightToLeft, rightToLeftLayout, createControl, value, minimum, maximum); 230TrackBar.TrackBarThumbAccessibleObject accessibleObject = GetTrackBarThumb(trackBar); 236private TrackBar GetTrackBar(Orientation orientation, RightToLeft rightToLeft, bool rightToLeftLayout, bool createControl, int value, int minimum, int maximum) 238TrackBar trackBar = new() 257private TrackBar.TrackBarThumbAccessibleObject GetTrackBarThumb(TrackBar trackBar) 259TrackBar.TrackBarAccessibleObject trackBarAccessibleObject = (TrackBar.TrackBarAccessibleObject)trackBar.AccessibilityObject;
System\Windows\Forms\AccessibleObjects\UpDownBase.UpDownButtons.UpDownButtonsAccessibleObjectTests.cs (2)
138using TrackBar trackBar = new(); 153using TrackBar trackBar = new();
System\Windows\Forms\TreeViewTests.cs (3)
3116using TrackBar control = new() 3166using TrackBar control = new() 3204using TrackBar control = new()
TrackBarTests.cs (45)
438using TrackBar control = new() 454using TrackBar control = new(); 515using TrackBar control = new(); 643using TrackBar control = new(); 695using TrackBar control = new() 712using TrackBar control = new(); 740using TrackBar control = new(); 775using TrackBar control = new() 786using TrackBar control = new() 803using TrackBar control = new() 816using TrackBar control = new() 828using TrackBar control = new() 839using TrackBar control = new() 859using TrackBar control = new() 890using TrackBar control = new() 907using TrackBar control = new(); 935using TrackBar control = new(); 971using TrackBar control = new(); 1460using TrackBar control = new(); 1468using TrackBar control = new() 1485using TrackBar control = new(); 1513using TrackBar control = new(); 1596using TrackBar control = new() 1646using TrackBar control = new() 1684using TrackBar control = new() 1775using TrackBar control = new() 1792using TrackBar control = new(); 1820using TrackBar control = new(); 1860using TrackBar control = new() 1881using TrackBar control = new(); 1910using TrackBar control = new() 1930using TrackBar control = new(); 1959using TrackBar control = new(); 1985using TrackBar control = new() 2019using TrackBar control = new(); 2112using TrackBar control = new() 2155using TrackBar control = new(); 2192using TrackBar control = new(); 2200using TrackBar control = new(); 2225using TrackBar control = new(); 2249using TrackBar control = new(); 3054using TrackBar control = new() 3083using TrackBar control = new() 3111using TrackBar control = new(); 3217using TrackBar control = new();
WinFormsControlsTest (1)
TrackBars.Designer.cs (1)
279private System.Windows.Forms.TrackBar trackBar1;