Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Framework / System / Windows / Documents / SelectionHighlightInfo.cs / 1 / SelectionHighlightInfo.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // // Description: Highlight render properties for selected text. // // History: // 07/01/2004 : [....] - Created // //--------------------------------------------------------------------------- using System.Windows.Media; namespace System.Windows.Documents { ////// Highlight render properties for selected text. /// internal static class SelectionHighlightInfo { //----------------------------------------------------- // // Constructors // //----------------------------------------------------- #region Constructors // Static constructor. static SelectionHighlightInfo() { _objectMaskBrush = new SolidColorBrush(SystemColors.HighlightColor); _objectMaskBrush.Opacity = 0.5; _objectMaskBrush.Freeze(); } #endregion Constructors //------------------------------------------------------ // // Internal Properties // //----------------------------------------------------- #region Internal Properties ////// Brush used to override selected text's ForegroundProperty. /// internal static Brush ForegroundBrush { get { return SystemColors.HighlightTextBrush; } } ////// Brush used to override selected text's BackgroundProperty. /// internal static Brush BackgroundBrush { get { return SystemColors.HighlightBrush; } } ////// Brush used to highlight selected embedded objects. /// internal static Brush ObjectMaskBrush { get { return _objectMaskBrush; } } #endregion Internal Properties //------------------------------------------------------ // // Private Fields // //------------------------------------------------------ #region Private Fields // Brush used to highlight selected embedded objects. private static readonly Brush _objectMaskBrush; #endregion Private Fields } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- EmissiveMaterial.cs
- PerfService.cs
- SoapFault.cs
- SerialReceived.cs
- FormClosingEvent.cs
- FieldDescriptor.cs
- Propagator.Evaluator.cs
- XmlRootAttribute.cs
- ListItemCollection.cs
- SpeakCompletedEventArgs.cs
- IndexOutOfRangeException.cs
- WmfPlaceableFileHeader.cs
- EntityDataSourceViewSchema.cs
- ProfileBuildProvider.cs
- QueryableDataSourceEditData.cs
- QuaternionKeyFrameCollection.cs
- ErrorHandler.cs
- MaskedTextBoxTextEditorDropDown.cs
- Preprocessor.cs
- PixelFormat.cs
- ManipulationStartingEventArgs.cs
- DataSvcMapFileSerializer.cs
- EventsTab.cs
- TabletCollection.cs
- MemberBinding.cs
- Nullable.cs
- Helpers.cs
- AccessorTable.cs
- XmlDataLoader.cs
- HttpCapabilitiesSectionHandler.cs
- RegisteredScript.cs
- HttpStreamXmlDictionaryReader.cs
- ConnectionManagementSection.cs
- VectorCollectionValueSerializer.cs
- WindowsAuthenticationModule.cs
- DocumentOrderQuery.cs
- RadialGradientBrush.cs
- VisualTreeHelper.cs
- LineInfo.cs
- AddInControllerImpl.cs
- DataGridCell.cs
- MediaPlayerState.cs
- ProfileServiceManager.cs
- documentation.cs
- COM2ExtendedTypeConverter.cs
- FontUnitConverter.cs
- View.cs
- DiagnosticStrings.cs
- Scripts.cs
- HttpCookieCollection.cs
- ParamArrayAttribute.cs
- BuildProvider.cs
- HtmlFormWrapper.cs
- AuthorizationRuleCollection.cs
- OperandQuery.cs
- IdnElement.cs
- ClientScriptManager.cs
- Italic.cs
- FileLogRecordStream.cs
- ValidationResult.cs
- ClientApiGenerator.cs
- TreeNodeBinding.cs
- SelectionPattern.cs
- SynchronizationContextHelper.cs
- AbsoluteQuery.cs
- PeerPresenceInfo.cs
- DependentList.cs
- SchemaImporterExtensionElementCollection.cs
- EnumCodeDomSerializer.cs
- SqlFactory.cs
- SubMenuStyleCollection.cs
- PageContent.cs
- InternalsVisibleToAttribute.cs
- ProfileSettingsCollection.cs
- RequestQueue.cs
- XPathAncestorIterator.cs
- XamlRtfConverter.cs
- SystemMulticastIPAddressInformation.cs
- IdentityValidationException.cs
- SpellerHighlightLayer.cs
- UmAlQuraCalendar.cs
- CodeGotoStatement.cs
- XXXOnTypeBuilderInstantiation.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- AlignmentYValidation.cs
- RegistryHandle.cs
- Main.cs
- TargetPerspective.cs
- BinaryFormatter.cs
- ThumbAutomationPeer.cs
- StrokeNodeOperations.cs
- CacheEntry.cs
- XslNumber.cs
- TextAnchor.cs
- ISFClipboardData.cs
- CharAnimationUsingKeyFrames.cs
- SQLCharsStorage.cs
- SafeViewOfFileHandle.cs
- odbcmetadatafactory.cs
- DataGridTableStyleMappingNameEditor.cs