Support for Inactive document styles
Change ‘Count’ to ‘MaxIndex’ for ‘vlnIndexedFormatList’ Add Inactive flag
This commit is contained in:
@@ -127,9 +127,7 @@ namespace VEPROMS.CSLA.Library
|
||||
{
|
||||
_MyDocStyleList = new SortedList<string, int>();
|
||||
foreach(DocStyle ds in _MySection.MySectionInfo.ActiveFormat.PlantFormat.DocStyles.DocStyleList)
|
||||
{
|
||||
_MyDocStyleList.Add(ds.Name,10000 + (int) ds.Index);
|
||||
}
|
||||
if (!ds.Inactive)_MyDocStyleList.Add(ds.Name,10000 + (int) ds.Index);
|
||||
}
|
||||
}
|
||||
public override StandardValuesCollection GetStandardValues(ITypeDescriptorContext context)
|
||||
|
Reference in New Issue
Block a user