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
- Action.cs
- XmlLanguage.cs
- Ref.cs
- Listbox.cs
- XPathItem.cs
- EdmComplexTypeAttribute.cs
- GlobalProxySelection.cs
- HijriCalendar.cs
- VariantWrapper.cs
- TextBoxLine.cs
- ButtonBase.cs
- FixedDocument.cs
- ToolStripDesignerAvailabilityAttribute.cs
- CheckBoxStandardAdapter.cs
- LiteralText.cs
- StatusStrip.cs
- TextEndOfSegment.cs
- FilterEventArgs.cs
- RotationValidation.cs
- FixedTextSelectionProcessor.cs
- ImageDrawing.cs
- IISUnsafeMethods.cs
- DLinqTableProvider.cs
- MethodExpression.cs
- DbFunctionCommandTree.cs
- PermissionToken.cs
- ChtmlImageAdapter.cs
- AppManager.cs
- NullableIntMinMaxAggregationOperator.cs
- TriggerAction.cs
- AliasGenerator.cs
- TemplateControlBuildProvider.cs
- PeerNameRegistration.cs
- Effect.cs
- MULTI_QI.cs
- XmlSchemaGroupRef.cs
- ParameterInfo.cs
- basevalidator.cs
- SHA384CryptoServiceProvider.cs
- HtmlElementErrorEventArgs.cs
- SqlDataSourceStatusEventArgs.cs
- WindowsPen.cs
- _SingleItemRequestCache.cs
- ConfigUtil.cs
- Encoder.cs
- GrammarBuilderBase.cs
- D3DImage.cs
- PerformanceCounterNameAttribute.cs
- FilterQueryOptionExpression.cs
- QilVisitor.cs
- ExtendedPropertiesHandler.cs
- ClientFormsAuthenticationCredentials.cs
- ProbeDuplexAsyncResult.cs
- SettingsSavedEventArgs.cs
- HexParser.cs
- UnsafeNativeMethods.cs
- SymbolMethod.cs
- D3DImage.cs
- PageAsyncTaskManager.cs
- MD5CryptoServiceProvider.cs
- XmlSchemas.cs
- ControlType.cs
- MdiWindowListStrip.cs
- XPathNodeHelper.cs
- AppSecurityManager.cs
- MonitoringDescriptionAttribute.cs
- SystemResourceKey.cs
- SymbolEqualComparer.cs
- InputLanguageProfileNotifySink.cs
- HtmlUtf8RawTextWriter.cs
- Underline.cs
- ObjectAnimationBase.cs
- XmlConverter.cs
- PartitionResolver.cs
- OdbcPermission.cs
- DynamicControlParameter.cs
- BitmapMetadataBlob.cs
- CreateUserWizardStep.cs
- Column.cs
- TransformerTypeCollection.cs
- InstancePersistenceCommandException.cs
- MiniCustomAttributeInfo.cs
- PersonalizationAdministration.cs
- InputMethod.cs
- LayoutEngine.cs
- HttpModuleAction.cs
- _SslStream.cs
- CacheAxisQuery.cs
- EDesignUtil.cs
- AppDomainFactory.cs
- SafeNativeMethods.cs
- CellConstantDomain.cs
- SoapEnvelopeProcessingElement.cs
- Variant.cs
- ScrollableControlDesigner.cs
- DockProviderWrapper.cs
- PieceDirectory.cs
- VisualTreeHelper.cs
- PointLight.cs
- ToolStripTextBox.cs