Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / UICuesEvent.cs / 1305376 / UICuesEvent.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
/*
*/
namespace System.Windows.Forms {
///
///
///
/// Specifies UI state.
///
///
[Flags]
public enum UICues {
///
///
/// Focus rectangles are shown after the change.
///
ShowFocus = 0x01,
///
///
/// Keyboard cues are underlined after the change.
///
ShowKeyboard = 0x02,
///
///
/// [To be supplied.]
///
Shown = ShowFocus | ShowKeyboard,
///
///
/// The state of the focus cues has changed.
///
ChangeFocus = 0x04,
///
///
/// The state of the keyboard cues has changed.
///
ChangeKeyboard = 0x08,
///
///
/// [To be supplied.]
///
Changed = ChangeFocus | ChangeKeyboard,
///
///
/// [To be supplied.]
///
None = 0x00,
}
///
///
///
/// Provides data for the event.
///
///
public class UICuesEventArgs : EventArgs {
private readonly UICues uicues;
///
///
/// [To be supplied.]
///
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly")]
public UICuesEventArgs(UICues uicues) {
this.uicues = uicues;
}
///
///
/// Focus rectangles are shown after the change.
///
public bool ShowFocus {
get {
return (uicues & UICues.ShowFocus) != 0;
}
}
///
///
/// Keyboard cues are underlined after the change.
///
public bool ShowKeyboard {
get {
return (uicues & UICues.ShowKeyboard) != 0;
}
}
///
///
/// The state of the focus cues has changed.
///
public bool ChangeFocus {
get {
return (uicues & UICues.ChangeFocus) != 0;
}
}
///
///
/// The state of the keyboard cues has changed.
///
public bool ChangeKeyboard {
get {
return (uicues & UICues.ChangeKeyboard) != 0;
}
}
///
///
/// [To be supplied.]
///
public UICues Changed {
get {
return (uicues & UICues.Changed);
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ScriptControl.cs
- TextDecorationLocationValidation.cs
- AuthenticationService.cs
- ComboBox.cs
- CodeArrayCreateExpression.cs
- SendingRequestEventArgs.cs
- PackageDocument.cs
- AudioBase.cs
- EdmType.cs
- ListMarkerLine.cs
- TypeInfo.cs
- HtmlImageAdapter.cs
- ScrollBarRenderer.cs
- HtmlControlDesigner.cs
- RadioButtonBaseAdapter.cs
- RegexTree.cs
- LambdaCompiler.Generated.cs
- ViewPort3D.cs
- RemoteEndpointMessageProperty.cs
- CustomError.cs
- DataGridViewImageCell.cs
- GrammarBuilderPhrase.cs
- StyleTypedPropertyAttribute.cs
- StrokeSerializer.cs
- PrinterResolution.cs
- RSAPKCS1SignatureFormatter.cs
- WebControlsSection.cs
- CheckBoxList.cs
- MouseButtonEventArgs.cs
- DataControlButton.cs
- DataPager.cs
- WindowsTreeView.cs
- SubstitutionResponseElement.cs
- TemplateColumn.cs
- SqlNodeTypeOperators.cs
- ParserExtension.cs
- Int32Animation.cs
- LinkedResourceCollection.cs
- RegexFCD.cs
- PcmConverter.cs
- MatrixConverter.cs
- AddIn.cs
- DataSetUtil.cs
- WorkflowControlClient.cs
- PackageDigitalSignature.cs
- CodeDelegateInvokeExpression.cs
- IDReferencePropertyAttribute.cs
- SqlProviderManifest.cs
- CodeTypeOfExpression.cs
- ResourcesBuildProvider.cs
- DynamicPropertyHolder.cs
- MimeBasePart.cs
- Metadata.cs
- ReadOnlyDataSourceView.cs
- MSHTMLHost.cs
- ApplicationServicesHostFactory.cs
- LinkLabel.cs
- TagPrefixAttribute.cs
- NTAccount.cs
- DirectionalLight.cs
- EncryptedXml.cs
- SimpleType.cs
- GridErrorDlg.cs
- JsonReader.cs
- EditorPartCollection.cs
- ThrowHelper.cs
- HttpWebRequest.cs
- QueryInterceptorAttribute.cs
- RegisteredScript.cs
- LinearGradientBrush.cs
- StyleBamlTreeBuilder.cs
- ChtmlImageAdapter.cs
- IndependentlyAnimatedPropertyMetadata.cs
- ConsoleCancelEventArgs.cs
- XmlKeywords.cs
- AstNode.cs
- SystemWebSectionGroup.cs
- DataServiceStreamProviderWrapper.cs
- SamlConstants.cs
- WebPartUtil.cs
- Attributes.cs
- StrokeFIndices.cs
- UIElementHelper.cs
- SettingsBindableAttribute.cs
- FieldAccessException.cs
- OutputWindow.cs
- XmlTypeMapping.cs
- TreeNodeCollection.cs
- DbConnectionStringBuilder.cs
- WebPartDisplayModeCollection.cs
- ErrorItem.cs
- GeneralTransform3DCollection.cs
- PolicyChain.cs
- HitTestParameters3D.cs
- ArrayList.cs
- SqlHelper.cs
- TypeTypeConverter.cs
- UnsafeNativeMethods.cs
- Comparer.cs
- RijndaelManaged.cs