18 references to GetStyle
System.Windows.Forms.Tests (18)
System\Windows\Forms\ButtonBaseTests.cs (18)
1064Assert.Equal(value != FlatStyle.System, control.GetStyle(ControlStyles.UserMouse)); 1065Assert.Equal(value != FlatStyle.System, control.GetStyle(ControlStyles.UserPaint)); 1072Assert.Equal(value != FlatStyle.System, control.GetStyle(ControlStyles.UserMouse)); 1073Assert.Equal(value != FlatStyle.System, control.GetStyle(ControlStyles.UserPaint)); 1106Assert.Equal(value != FlatStyle.System, control.GetStyle(ControlStyles.UserMouse)); 1107Assert.Equal(value != FlatStyle.System, control.GetStyle(ControlStyles.UserPaint)); 1114Assert.Equal(value != FlatStyle.System, control.GetStyle(ControlStyles.UserMouse)); 1115Assert.Equal(value != FlatStyle.System, control.GetStyle(ControlStyles.UserPaint)); 1214Assert.Equal(value != FlatStyle.System, control.GetStyle(ControlStyles.UserMouse)); 1215Assert.Equal(value != FlatStyle.System, control.GetStyle(ControlStyles.UserPaint)); 1224Assert.Equal(value != FlatStyle.System, control.GetStyle(ControlStyles.UserMouse)); 1225Assert.Equal(value != FlatStyle.System, control.GetStyle(ControlStyles.UserPaint)); 1273Assert.Equal(value != FlatStyle.System, control.GetStyle(ControlStyles.UserMouse)); 1274Assert.Equal(value != FlatStyle.System, control.GetStyle(ControlStyles.UserPaint)); 1283Assert.Equal(value != FlatStyle.System, control.GetStyle(ControlStyles.UserMouse)); 1284Assert.Equal(value != FlatStyle.System, control.GetStyle(ControlStyles.UserPaint)); 5084Assert.Equal(expected, control.GetStyle(flag)); 5087Assert.Equal(expected, control.GetStyle(flag));