Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Framework / System / Windows / Documents / SelectionHighlightInfo.cs / 1305600 / 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
- SamlDelegatingWriter.cs
- EpmCustomContentDeSerializer.cs
- AssociatedControlConverter.cs
- SystemIPv4InterfaceProperties.cs
- HttpConfigurationContext.cs
- BulletedList.cs
- TypedTableGenerator.cs
- LogRecordSequence.cs
- SqlDataSourceFilteringEventArgs.cs
- EdmMember.cs
- Reference.cs
- StyleXamlTreeBuilder.cs
- ControlParameter.cs
- BindingMemberInfo.cs
- HostedTcpTransportManager.cs
- BooleanAnimationUsingKeyFrames.cs
- EntryIndex.cs
- ScrollItemProviderWrapper.cs
- EdmProperty.cs
- ModelFunctionTypeElement.cs
- Utils.cs
- WebServiceHost.cs
- SliderAutomationPeer.cs
- IHttpResponseInternal.cs
- XPathMessageFilterTable.cs
- SelectionWordBreaker.cs
- XamlPathDataSerializer.cs
- RectangleHotSpot.cs
- OrderedDictionary.cs
- XmlSchemaGroupRef.cs
- CacheChildrenQuery.cs
- ScrollPatternIdentifiers.cs
- BaseTemplateParser.cs
- Wrapper.cs
- DrawingAttributeSerializer.cs
- LinqToSqlWrapper.cs
- SecurityPolicySection.cs
- SoapAttributeOverrides.cs
- RadioButtonStandardAdapter.cs
- EnumValAlphaComparer.cs
- CollectionViewGroup.cs
- BaseTransportHeaders.cs
- DispatcherOperation.cs
- ReadOnlyHierarchicalDataSourceView.cs
- IItemContainerGenerator.cs
- ReadOnlyKeyedCollection.cs
- XamlStackWriter.cs
- PageStatePersister.cs
- Effect.cs
- HitTestParameters3D.cs
- BinaryFormatterSinks.cs
- GatewayIPAddressInformationCollection.cs
- GeneralTransform3DCollection.cs
- RequestBringIntoViewEventArgs.cs
- MetricEntry.cs
- XamlFxTrace.cs
- EdmComplexPropertyAttribute.cs
- ImportOptions.cs
- SafeTimerHandle.cs
- TreeNodeConverter.cs
- SynchronizedDispatch.cs
- AsyncOperationManager.cs
- ListControl.cs
- EqualityComparer.cs
- FocusChangedEventArgs.cs
- NextPreviousPagerField.cs
- InvalidOperationException.cs
- CombinedGeometry.cs
- SqlDataReader.cs
- VerificationAttribute.cs
- OutputCacheProfileCollection.cs
- FileDialog_Vista.cs
- CultureData.cs
- CodeAttachEventStatement.cs
- BaseDataBoundControlDesigner.cs
- SHA256.cs
- FillBehavior.cs
- ServiceModelConfigurationSectionCollection.cs
- EntityParameter.cs
- ToolStripSettings.cs
- FormsIdentity.cs
- ScriptControlDescriptor.cs
- ApplicationInterop.cs
- URLIdentityPermission.cs
- TcpChannelHelper.cs
- rsa.cs
- SortDescriptionCollection.cs
- GCHandleCookieTable.cs
- BackgroundFormatInfo.cs
- FlatButtonAppearance.cs
- ProcessModuleCollection.cs
- Internal.cs
- BinaryKeyIdentifierClause.cs
- WebPartCancelEventArgs.cs
- EncodingNLS.cs
- StickyNoteContentControl.cs
- DefaultHttpHandler.cs
- ConstraintStruct.cs
- ReflectTypeDescriptionProvider.cs
- BuildResult.cs