Method | Description | |
---|---|---|
CustomFieldTypeRegEx ( SPFieldCollection fields, string fieldName ) : System | ||
CustomFieldTypeRegEx ( SPFieldCollection fields, string typeName, string displayName ) : System | ||
GetCustomProperty ( string propertyName ) : object |
Replace the buggy base implementation of GetCustomProperty
|
|
GetValidatedString ( object value ) : string | ||
OnAdded ( SPAddFieldOptions op ) : void |
Called when a field is created. Without this, update is not called and custom properties are not saved.
|
|
SetCustomProperty ( string propertyName, object propertyValue ) : void |
Replace the buggy base implementation of SetCustomProperty
|
|
Update ( ) : void |
Method | Description | |
---|---|---|
GetCacheKey ( string propertyName ) : string |
Get an identifier for the field being added/edited that will be unique even if another user is editing a property of the same name.
|
|
InitProperties ( ) : void |
Initialise backing fields from base property store
|
|
SaveProperties ( ) : void |
Take properties from either the backing fields or the static store and put them in the base property store
|
public CustomFieldTypeRegEx ( SPFieldCollection fields, string fieldName ) : System | ||
fields | SPFieldCollection | |
fieldName | string | |
return | System |
public CustomFieldTypeRegEx ( SPFieldCollection fields, string typeName, string displayName ) : System | ||
fields | SPFieldCollection | |
typeName | string | |
displayName | string | |
return | System |
public GetCustomProperty ( string propertyName ) : object | ||
propertyName | string | |
return | object |
public GetValidatedString ( object value ) : string | ||
value | object | |
return | string |
public OnAdded ( SPAddFieldOptions op ) : void | ||
op | SPAddFieldOptions | |
return | void |
public SetCustomProperty ( string propertyName, object propertyValue ) : void | ||
propertyName | string | |
propertyValue | object | |
return | void |