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
- ResourcePermissionBase.cs
- ZipFileInfo.cs
- InputProviderSite.cs
- UICuesEvent.cs
- DefaultEventAttribute.cs
- WebSysDefaultValueAttribute.cs
- ActivityExecutionContextCollection.cs
- QilInvokeLateBound.cs
- FileIOPermission.cs
- WebPageTraceListener.cs
- DrawingImage.cs
- ResourceReferenceExpressionConverter.cs
- ColumnReorderedEventArgs.cs
- StrongNameIdentityPermission.cs
- ExternalDataExchangeService.cs
- RadioButtonPopupAdapter.cs
- Rotation3DAnimationUsingKeyFrames.cs
- WindowsSpinner.cs
- QueryCorrelationInitializer.cs
- HtmlWindow.cs
- DataGridCellsPanel.cs
- ActivatedMessageQueue.cs
- WorkflowPersistenceService.cs
- CredentialCache.cs
- PingReply.cs
- DataSourceView.cs
- AssemblySettingAttributes.cs
- PropertyPath.cs
- FastPropertyAccessor.cs
- TextMarkerSource.cs
- UTF8Encoding.cs
- HtmlElementErrorEventArgs.cs
- WorkflowTraceTransfer.cs
- XmlSerializableWriter.cs
- ReadOnlyObservableCollection.cs
- UserControlFileEditor.cs
- DynamicVirtualDiscoSearcher.cs
- WindowVisualStateTracker.cs
- ThreadAbortException.cs
- XMLSyntaxException.cs
- MetadataArtifactLoaderCompositeFile.cs
- Application.cs
- ClientEventManager.cs
- TextBox.cs
- Deflater.cs
- PropertyMappingExceptionEventArgs.cs
- Condition.cs
- PersonalizationProvider.cs
- BaseHashHelper.cs
- DataGridHeaderBorder.cs
- XPSSignatureDefinition.cs
- sapiproxy.cs
- DbConnectionPoolOptions.cs
- ProfileProvider.cs
- SpeechDetectedEventArgs.cs
- ImmComposition.cs
- PhoneCall.cs
- HMACMD5.cs
- ConnectionPoolRegistry.cs
- ActivityWithResultWrapper.cs
- EpmSyndicationContentSerializer.cs
- AutoCompleteStringCollection.cs
- XmlCollation.cs
- RegexFCD.cs
- PaintEvent.cs
- FileNotFoundException.cs
- EventLogLink.cs
- MethodCallExpression.cs
- TypedRowHandler.cs
- RuleInfoComparer.cs
- XD.cs
- TrustLevelCollection.cs
- HtmlTableRowCollection.cs
- httpserverutility.cs
- LoginCancelEventArgs.cs
- TextViewBase.cs
- TextMarkerSource.cs
- SessionState.cs
- MediaCommands.cs
- AuthorizationSection.cs
- StackBuilderSink.cs
- SerializationException.cs
- StrokeNodeEnumerator.cs
- PersistenceTypeAttribute.cs
- DropSource.cs
- DataServiceQueryProvider.cs
- ReflectTypeDescriptionProvider.cs
- LinearKeyFrames.cs
- ListItemsCollectionEditor.cs
- SQLUtility.cs
- DataGridViewRowHeightInfoNeededEventArgs.cs
- PixelFormats.cs
- TraceHandler.cs
- ArraySegment.cs
- PresentationAppDomainManager.cs
- GridViewSelectEventArgs.cs
- SettingsBindableAttribute.cs
- ArgumentException.cs
- ServiceDocumentFormatter.cs
- DataStreamFromComStream.cs