Class repDomain
- Namespace
- PolarStudio
- Assembly
- PolarStudio.dll
This class contains the information about a domain in an application in the Polar Studio repository.
public class repDomain
- Inheritance
-
repDomain
- Inherited Members
- Extension Methods
Properties
AcceptFileTypesMode
Returns the mode for accepting files based on file extensions. One of: 'AcceptAll', 'Accept', 'Reject'
public string AcceptFileTypesMode { get; }
Property Value
Application
Returns the repository application this domain is defined within.
public repApplication Application { get; }
Property Value
AutoTrim
Returns true if white space is to be removed from the beginning and end of text values.
public object AutoTrim { get; }
Property Value
DateTimeInputType
Returns the type for a DateTime domain. One of: 'DateAndTime', 'DateOnly', 'TimeOnly', 'DateAndTimeUTC'
public string DateTimeInputType { get; }
Property Value
DateTimePrecisionSeconds
Returns True if times must always show the seconds, even if :00
public bool DateTimePrecisionSeconds { get; }
Property Value
DecimalPlaces
Returns the number of decimal places for numeric values. -1 if not set.
public int DecimalPlaces { get; }
Property Value
DefaultControlType
Returns the default control type to use for fields that use this domain.
public string DefaultControlType { get; }
Property Value
DetailsEnvelop
Returns an envelop to use for the details form for this blob.
public string DetailsEnvelop { get; }
Property Value
DomainType
Returns the type of domain. One of: 'Number', 'Text', 'DateTime', 'ValueList', 'FileUpload'.
public string DomainType { get; }
Property Value
EnableDetails
Returns a boolean indicating the details form for this blob can be shown.
public bool EnableDetails { get; }
Property Value
FileExtensions
Returns the comma separated list of file extensions to accept or reject.
public string FileExtensions { get; }
Property Value
HideZeroValues
Returns if zero values (value 0) are to be shown as 'empty'. Allow required fields to be zero in the database and be shown as an empty box (not filled) in the user interface.
public bool HideZeroValues { get; }
Property Value
ImageAutoResizing_AutoRotate
A boolean indicating to automatically rotate images when resizing based on the provided exif data.
public bool ImageAutoResizing_AutoRotate { get; }
Property Value
ImageAutoResizing_ConvertPngToJpg
A boolean indicating to convert png images to jpg when resizing.
public bool ImageAutoResizing_ConvertPngToJpg { get; }
Property Value
ImageAutoResizing_Enabled
Returns if images are to be automatically resized when uploaded.
public bool ImageAutoResizing_Enabled { get; }
Property Value
ImageAutoResizing_Height
Sets the maximum height for uploaded images to which they are resized.
public int ImageAutoResizing_Height { get; }
Property Value
ImageAutoResizing_JpgQuality
Sets the jpeg quality (1-99) for images when they are resized.
public int ImageAutoResizing_JpgQuality { get; }
Property Value
ImageAutoResizing_Width
Sets the maximum width for uploaded images to which they are resized.
public int ImageAutoResizing_Width { get; }
Property Value
ImageHeightForm
Returns the height of an image when shown in form view.
public int ImageHeightForm { get; }
Property Value
ImageHeightList
Returns the height of an image when shown in list view.
public int ImageHeightList { get; }
Property Value
ImageWidthForm
Returns the width of an image when shown in form view.
public int ImageWidthForm { get; }
Property Value
ImageWidthList
Returns the width of an image when shown in list view.
public int ImageWidthList { get; }
Property Value
MaxFileSize
Returns the max file size of uploaded blobs in kilo byte.
public int MaxFileSize { get; }
Property Value
MaxInlineObjectSizeDetails
Returns the maximum file size in kilo bytes of image blobs to be shown inline in blob details view.
public int MaxInlineObjectSizeDetails { get; }
Property Value
MaxInlineObjectSizeForm
Returns the maximum file size in kilo bytes of image blobs to be shown inline in form view.
public int MaxInlineObjectSizeForm { get; }
Property Value
MaxInlineObjectSizeList
Returns the maximum file size in kilo bytes of image blobs to be shown inline in list view.
public int MaxInlineObjectSizeList { get; }
Property Value
MaxLength
Returns the maximum length for text values. 0 means not set.
public int MaxLength { get; }
Property Value
MaxValue
Returns the maximum value for numeric values. NULL if not set.
public object MaxValue { get; }
Property Value
MinLength
Returns the minimum length for text values. 0 means not set.
public int MinLength { get; }
Property Value
MinValue
Returns the minimum value for numeric values. NULL if not set.
public object MinValue { get; }
Property Value
Name
Returns the name of the domain.
public string Name { get; }
Property Value
NoStore
Returns if a blob is not to be cached by the browser or by proxies.
public bool NoStore { get; }
Property Value
Notes
Returns the notes for the domain.
public string Notes { get; }
Property Value
Options
Returns the options of a ValueList domain.
public repDomainOptions Options { get; }
Property Value
Pattern
Returns the regular expression to use when validating new text values.
public string Pattern { get; }
Property Value
Percentage
Returns numeric values are to be shown as percentage.
public bool Percentage { get; }
Property Value
RightAligned
Returns True if the contents of controls for fields using this domain must be aligned to the right.
public bool RightAligned { get; }
Property Value
SecuredBlob
Returns if file system blobs are to be secured (stored in an application folder that is not directly accessible using an URL) or unsecured (stored in a sub folder of the web root).
public bool SecuredBlob { get; }
Property Value
SysDomainID
Returns the SysDomainID as known in the repository.
public int SysDomainID { get; }
Property Value
TextBoxHeight
Returns the default height of a text box in form view.
public int TextBoxHeight { get; }
Property Value
TextBoxHeightList
Returns the default height of a text box in list view.
public int TextBoxHeightList { get; }
Property Value
TextBoxWidth
Returns the default width of a text box in form view.
public int TextBoxWidth { get; }
Property Value
TextBoxWidthList
Returns the default width of a text box in list view.
public int TextBoxWidthList { get; }
Property Value
ThousandsSeparator
Returns if the thousands for numeric values are to separated visually.
public bool ThousandsSeparator { get; }
Property Value
UseDescription
Returns a boolean indicating the description is to be shown on the blob details form.
public bool UseDescription { get; }
Property Value
ValidationScript
Returns the script to be used to validate a new value for this domain.
public string ValidationScript { get; }
Property Value
Methods
AutoResize(ref string, ref string)
This method automatically resizes an image (as provided in the binary string pBlobData) using the settings in this domain.
public void AutoResize(ref string pBlobData, ref string pFileName)