Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / xsp / System / Web / UI / controlskin.cs / 1 / controlskin.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- using System; using System.ComponentModel; using System.Reflection; using System.Security.Permissions; namespace System.Web.UI { [EditorBrowsable(EditorBrowsableState.Advanced)] public delegate System.Web.UI.Control ControlSkinDelegate(Control control); [EditorBrowsable(EditorBrowsableState.Advanced)] [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] public class ControlSkin { private Type _controlType; private ControlSkinDelegate _controlSkinDelegate; public ControlSkin(Type controlType, ControlSkinDelegate themeDelegate) { _controlType = controlType; _controlSkinDelegate = themeDelegate; } public Type ControlType { get { return _controlType; } } public void ApplySkin(Control control) { _controlSkinDelegate(control); } } }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- AnnotationComponentChooser.cs
- SortExpressionBuilder.cs
- ProgramNode.cs
- FunctionImportMapping.cs
- RadioButtonBaseAdapter.cs
- SplashScreen.cs
- ContentElement.cs
- ProcessModelInfo.cs
- Rect3DConverter.cs
- Win32.cs
- SharingService.cs
- OrderByExpression.cs
- SqlWebEventProvider.cs
- WinFormsSpinner.cs
- SiteMapDataSource.cs
- MenuAdapter.cs
- ImageList.cs
- InvokeBase.cs
- TrackingProfile.cs
- Int64AnimationUsingKeyFrames.cs
- XslAst.cs
- ZipIOExtraFieldZip64Element.cs
- EncoderReplacementFallback.cs
- ObjectViewQueryResultData.cs
- CFGGrammar.cs
- TabletDeviceInfo.cs
- FilterElement.cs
- SupportsEventValidationAttribute.cs
- SecurityToken.cs
- HwndStylusInputProvider.cs
- XsltArgumentList.cs
- CharKeyFrameCollection.cs
- TransformationRules.cs
- XmlSchemaSimpleTypeList.cs
- TwoPhaseCommitProxy.cs
- XmlSubtreeReader.cs
- DataShape.cs
- XmlTextEncoder.cs
- ProgressBar.cs
- OracleLob.cs
- PauseStoryboard.cs
- TemplateBindingExtensionConverter.cs
- _Semaphore.cs
- DefaultMergeHelper.cs
- UserControlParser.cs
- streamingZipPartStream.cs
- ObjectDataSourceMethodEditor.cs
- GlobalProxySelection.cs
- XPathScanner.cs
- TextDpi.cs
- LazyTextWriterCreator.cs
- Query.cs
- ClassDataContract.cs
- ConfigurationLocationCollection.cs
- WmlObjectListAdapter.cs
- WindowsEditBoxRange.cs
- DBConcurrencyException.cs
- RawStylusActions.cs
- DataColumnPropertyDescriptor.cs
- ReachDocumentReferenceCollectionSerializerAsync.cs
- WindowsScrollBarBits.cs
- ReliableDuplexSessionChannel.cs
- Form.cs
- ExpressionParser.cs
- DataColumnMappingCollection.cs
- ProvideValueServiceProvider.cs
- MetabaseServerConfig.cs
- ChildDocumentBlock.cs
- LoadedOrUnloadedOperation.cs
- InvalidCastException.cs
- DataShape.cs
- HandleCollector.cs
- Regex.cs
- AttachmentService.cs
- ViewGenResults.cs
- PackagingUtilities.cs
- GridViewItemAutomationPeer.cs
- FamilyCollection.cs
- XmlRawWriter.cs
- XmlEnumAttribute.cs
- ArgIterator.cs
- ActiveDesignSurfaceEvent.cs
- StylusButtonEventArgs.cs
- FrameworkContentElement.cs
- SelectedCellsChangedEventArgs.cs
- SqlDataSourceSummaryPanel.cs
- ToolStripTextBox.cs
- XmlEntity.cs
- EncryptedHeaderXml.cs
- ExtendedProperty.cs
- MsmqIntegrationProcessProtocolHandler.cs
- ReflectionHelper.cs
- PointCollection.cs
- DynamicMethod.cs
- PropertyGrid.cs
- CustomCategoryAttribute.cs
- GPRECT.cs
- DataTablePropertyDescriptor.cs
- TreeView.cs
- ArcSegment.cs