11 references to StatusFlag
System.Windows.Forms.Design (11)
System\Windows\Forms\Design\CommandSet.CommandSetItem.StatusState.cs (11)
28private StatusFlag _statusFlags = StatusFlag.NeedsUpdate; // our flags. 44Debug.Assert(!_statusFlags.HasFlag(StatusFlag.NeedsUpdate), "Updating item when StatusState is not valid."); 46item.Enabled = _statusFlags.HasFlag(StatusFlag.Enabled); 47item.Visible = _statusFlags.HasFlag(StatusFlag.Visible); 48item.Checked = _statusFlags.HasFlag(StatusFlag.Checked); 49item.Supported = _statusFlags.HasFlag(StatusFlag.Supported); 62_statusFlags |= StatusFlag.Enabled; 67_statusFlags |= StatusFlag.Visible; 72_statusFlags |= StatusFlag.Checked; 77_statusFlags |= StatusFlag.Supported;