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
- ImageAnimator.cs
- WarningException.cs
- ThemeDirectoryCompiler.cs
- WrapPanel.cs
- DataGridViewCellStyleContentChangedEventArgs.cs
- InputElement.cs
- CodeTypeDeclarationCollection.cs
- TextEffectCollection.cs
- CopyAttributesAction.cs
- EditorPartChrome.cs
- Executor.cs
- ReadWriteSpinLock.cs
- SqlClientWrapperSmiStream.cs
- ChangePasswordAutoFormat.cs
- Identifier.cs
- TreeNode.cs
- TokenizerHelper.cs
- ToolStripDesignerAvailabilityAttribute.cs
- FileChangesMonitor.cs
- Types.cs
- WebPartsPersonalizationAuthorization.cs
- ISAPIRuntime.cs
- RenderOptions.cs
- FontFamilyValueSerializer.cs
- UTF7Encoding.cs
- ClientFormsAuthenticationMembershipProvider.cs
- ComplexObject.cs
- DbReferenceCollection.cs
- XmlSiteMapProvider.cs
- SecurityManager.cs
- DBSqlParserTable.cs
- unsafeIndexingFilterStream.cs
- ScriptModule.cs
- DataGridViewIntLinkedList.cs
- ISAPIWorkerRequest.cs
- KeyedPriorityQueue.cs
- TypeElement.cs
- ColumnWidthChangingEvent.cs
- WebPartActionVerb.cs
- ItemsControl.cs
- Adorner.cs
- AddInProcess.cs
- NamedPipeConnectionPoolSettings.cs
- XmlElement.cs
- Container.cs
- SoapSchemaExporter.cs
- WinFormsSpinner.cs
- MimeFormReflector.cs
- SecurityDescriptor.cs
- InheritanceAttribute.cs
- CodeCatchClause.cs
- GetWinFXPath.cs
- WorkBatch.cs
- WebResourceAttribute.cs
- DataColumn.cs
- XMLSchema.cs
- RegexCapture.cs
- columnmapkeybuilder.cs
- CompilerState.cs
- AvtEvent.cs
- BinHexDecoder.cs
- RoleManagerEventArgs.cs
- SchemaImporterExtensionsSection.cs
- ToolZone.cs
- RuntimeConfigLKG.cs
- StyleCollectionEditor.cs
- BasicExpressionVisitor.cs
- FontDifferentiator.cs
- ManipulationCompletedEventArgs.cs
- AbstractExpressions.cs
- Soap12ProtocolImporter.cs
- TextLineBreak.cs
- CodeEventReferenceExpression.cs
- BaseCollection.cs
- SoapSchemaExporter.cs
- UnorderedHashRepartitionStream.cs
- ToolStripContentPanelRenderEventArgs.cs
- SqlException.cs
- DataServiceProviderMethods.cs
- WebPartDesigner.cs
- CryptoConfig.cs
- CommonDialog.cs
- DispatcherObject.cs
- CommandSet.cs
- HtmlControl.cs
- GridView.cs
- MapPathBasedVirtualPathProvider.cs
- documentsequencetextpointer.cs
- PolyLineSegmentFigureLogic.cs
- ControlParameter.cs
- XmlSchemaInclude.cs
- Helpers.cs
- ReturnEventArgs.cs
- SqlHelper.cs
- WebControlAdapter.cs
- WindowsMenu.cs
- ErrorTableItemStyle.cs
- BindingExpressionBase.cs
- DebugView.cs
- ChtmlCommandAdapter.cs