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
- OpenFileDialog.cs
- BlurEffect.cs
- GroupBoxRenderer.cs
- DynamicILGenerator.cs
- __ComObject.cs
- ConnectionManagementElement.cs
- UndoManager.cs
- MailDefinition.cs
- DiscoveryMessageSequenceGenerator.cs
- FunctionQuery.cs
- ExpandSegmentCollection.cs
- FileUpload.cs
- BaseAddressPrefixFilterElement.cs
- BitmapEffectInputData.cs
- ToolStripPanelDesigner.cs
- errorpatternmatcher.cs
- ProfileSettingsCollection.cs
- TypedDataSetSchemaImporterExtension.cs
- DependencyPropertyAttribute.cs
- SelectionProcessor.cs
- TdsParserStateObject.cs
- ValidationHelpers.cs
- ChooseAction.cs
- ChtmlTextWriter.cs
- DecimalAnimation.cs
- WebBrowserSiteBase.cs
- GradientSpreadMethodValidation.cs
- ChtmlTextWriter.cs
- DateBoldEvent.cs
- SelectionHighlightInfo.cs
- SafeSecurityHelper.cs
- QueryHandler.cs
- XmlTextReaderImpl.cs
- XmlNodeReader.cs
- SchemaSetCompiler.cs
- CharacterMetricsDictionary.cs
- AutomationIdentifier.cs
- HtmlInputCheckBox.cs
- ProfileGroupSettingsCollection.cs
- SqlDataSourceQueryEditor.cs
- BufferModesCollection.cs
- NativeMethods.cs
- PkcsMisc.cs
- HtmlControlDesigner.cs
- StateRuntime.cs
- CmsUtils.cs
- VectorCollection.cs
- BitmapPalette.cs
- PropertyValueUIItem.cs
- XmlDataDocument.cs
- GeneralTransform2DTo3DTo2D.cs
- ConfigXmlSignificantWhitespace.cs
- SerializationInfoEnumerator.cs
- UnsafeNativeMethods.cs
- XmlSequenceWriter.cs
- MergeFilterQuery.cs
- XPathNodePointer.cs
- MergeLocalizationDirectives.cs
- DBSchemaRow.cs
- InternalCache.cs
- TemplateInstanceAttribute.cs
- ToolBarTray.cs
- XslTransform.cs
- SafeNativeMethodsMilCoreApi.cs
- ToolStripTextBox.cs
- XmlSchemaImporter.cs
- CompositeScriptReferenceEventArgs.cs
- CorrelationScope.cs
- PersistencePipeline.cs
- XmlEntity.cs
- CheckoutException.cs
- DataTemplateSelector.cs
- ToggleButton.cs
- DirectoryRedirect.cs
- Registry.cs
- InfoCardHelper.cs
- ControlPaint.cs
- BoundsDrawingContextWalker.cs
- XPathParser.cs
- SmtpDigestAuthenticationModule.cs
- MouseActionValueSerializer.cs
- Int32.cs
- AdvancedBindingPropertyDescriptor.cs
- ClientSettingsStore.cs
- WindowsAuthenticationModule.cs
- XmlSchemaComplexType.cs
- EnumerableValidator.cs
- NativeMethodsOther.cs
- SystemParameters.cs
- COM2ExtendedTypeConverter.cs
- CompilerErrorCollection.cs
- QueryOptionExpression.cs
- ReceiveParametersContent.cs
- BamlRecords.cs
- ManifestSignedXml.cs
- ReadOnlyPermissionSet.cs
- HttpProtocolReflector.cs
- SqlCommandBuilder.cs
- TheQuery.cs
- ClientConvert.cs