Code:
/ DotNET / DotNET / 8.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
- TabItemAutomationPeer.cs
- _OSSOCK.cs
- NullableIntMinMaxAggregationOperator.cs
- SrgsSemanticInterpretationTag.cs
- DictionaryKeyPropertyAttribute.cs
- ClientViaElement.cs
- NameValueCache.cs
- DirectionalLight.cs
- ChineseLunisolarCalendar.cs
- CodeTypeMemberCollection.cs
- Int32Collection.cs
- GreenMethods.cs
- MethodCallTranslator.cs
- ContentValidator.cs
- SystemFonts.cs
- LoginDesigner.cs
- Win32Native.cs
- SystemWebExtensionsSectionGroup.cs
- SessionPageStatePersister.cs
- TargetControlTypeCache.cs
- ConfigurationStrings.cs
- EntityProxyFactory.cs
- BufferedGraphicsManager.cs
- DoubleAnimation.cs
- DataRecordInternal.cs
- PageParser.cs
- SourceFileBuildProvider.cs
- ListSourceHelper.cs
- TextElementCollection.cs
- FormViewRow.cs
- EventLogTraceListener.cs
- securestring.cs
- SqlDataSourceCommandEventArgs.cs
- DataGridViewRowHeaderCell.cs
- UIElementCollection.cs
- HierarchicalDataBoundControlAdapter.cs
- MetadataAssemblyHelper.cs
- SchemaCreator.cs
- CallbackValidator.cs
- UpdateCommand.cs
- XmlRawWriterWrapper.cs
- TraceProvider.cs
- WorkflowViewStateService.cs
- SpotLight.cs
- FileReader.cs
- UIElement3DAutomationPeer.cs
- WmlListAdapter.cs
- LogWriteRestartAreaState.cs
- ComponentResourceManager.cs
- PackWebRequestFactory.cs
- base64Transforms.cs
- ToolStripContainer.cs
- SqlDataSourceFilteringEventArgs.cs
- DrawingAttributeSerializer.cs
- ReadOnlyPropertyMetadata.cs
- FlowSwitch.cs
- ContentDisposition.cs
- WinCategoryAttribute.cs
- ScrollViewer.cs
- SecurityRequiresReviewAttribute.cs
- WebPartChrome.cs
- DataGridBeginningEditEventArgs.cs
- WebBrowserUriTypeConverter.cs
- MulticastNotSupportedException.cs
- SchemaTableOptionalColumn.cs
- DbParameterHelper.cs
- PeerEndPoint.cs
- ListViewItemMouseHoverEvent.cs
- RegexGroupCollection.cs
- Propagator.Evaluator.cs
- ColumnProvider.cs
- HttpProfileGroupBase.cs
- EventProperty.cs
- NamedPermissionSet.cs
- HttpVersion.cs
- ContextStaticAttribute.cs
- SafeArrayRankMismatchException.cs
- TypeToStringValueConverter.cs
- FirstMatchCodeGroup.cs
- PeerNearMe.cs
- EventlogProvider.cs
- MetadataSerializer.cs
- ChameleonKey.cs
- WebDisplayNameAttribute.cs
- ViewKeyConstraint.cs
- UrlAuthFailedErrorFormatter.cs
- XmlSchemaInfo.cs
- OrderedDictionary.cs
- WaitHandleCannotBeOpenedException.cs
- ClientApiGenerator.cs
- UnknownMessageReceivedEventArgs.cs
- DataTemplate.cs
- GorillaCodec.cs
- HostedAspNetEnvironment.cs
- CheckStoreFileValidityRequest.cs
- TypeBuilderInstantiation.cs
- DataObject.cs
- StylusPointPropertyUnit.cs
- DataRelationCollection.cs
- ClientSection.cs