API Reference
Class
DateStripBlock
A compact horizontal date or period selector strip for dashboards and report snapshots.
Inheritance
- FactualVisualBlock<DateStripBlock>
- DateStripBlock
Usage
Explore 12 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 12
- Method DateStripBlock.AddItem
- Method DateStripBlock.Create
- Method DateStripBlock.WithCard
- Method DateStripBlock.WithHeader
- Method DateStripBlock.WithHostFrame
- Method DateStripBlock.WithPadding
- Method DateStripBlock.WithPngOutputScale
- Method DateStripBlock.WithSize
- Method DateStripBlock.WithSubtitle
- Method DateStripBlock.WithTheme
- Method DateStripBlock.WithTitle
- Method DateStripBlock.WithTransparentBackground
Constructors
public DateStripBlock() #Methods
public DateStripBlock AddItem(String label, String value, Boolean selected = false, ChartColor? color = null) #Returns:
DateStripBlockAdds a date item.
Parameters
- label System.String
- value System.String
- selected System.Boolean = false
- color ChartForgeX.Primitives.ChartColor? = null
public DateStripBlock WithHeader(String header) #Returns:
DateStripBlockSets the header text rendered above the strip.
Parameters
- header System.String
Inherited Methods
public virtual Boolean Equals(Object? obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object?
public override RgbaImage RenderRgba() #Returns:
RgbaImageInherited from 0, Culture=neutral, PublicKeyToken=null]]
public override String RenderSvg(String idScope) #Returns:
StringInherited from 0, Culture=neutral, PublicKeyToken=null]]
Parameters
- idScope String
public DateStripBlock WithCard(Boolean enabled = true) #Returns:
DateStripBlockInherited from 0, Culture=neutral, PublicKeyToken=null]]
Parameters
- enabled Boolean = true
public DateStripBlock WithHostFrame(Boolean hostOwnsFrame = true) #Returns:
DateStripBlockInherited from 0, Culture=neutral, PublicKeyToken=null]]
Parameters
- hostOwnsFrame Boolean = true
WithPadding 2 overloads
public DateStripBlock WithPadding(Double padding) #Returns:
DateStripBlockInherited from 0, Culture=neutral, PublicKeyToken=null]]
Parameters
- padding Double
public DateStripBlock WithPadding(Double left, Double top, Double right, Double bottom) #Returns:
DateStripBlockInherited from 0, Culture=neutral, PublicKeyToken=null]]
Parameters
- left Double
- top Double
- right Double
- bottom Double
public DateStripBlock WithPngOutputScale(Int32 scale) #Returns:
DateStripBlockInherited from 0, Culture=neutral, PublicKeyToken=null]]
Parameters
- scale Int32
public DateStripBlock WithSize(Int32 width, Int32 height) #Returns:
DateStripBlockInherited from 0, Culture=neutral, PublicKeyToken=null]]
Parameters
- width Int32
- height Int32
public DateStripBlock WithSubtitle(String subtitle) #Returns:
DateStripBlockInherited from 0, Culture=neutral, PublicKeyToken=null]]
Parameters
- subtitle String
public DateStripBlock WithTheme(ChartTheme theme) #Returns:
DateStripBlockInherited from 0, Culture=neutral, PublicKeyToken=null]]
Parameters
- theme ChartTheme
public DateStripBlock WithTitle(String title) #Returns:
DateStripBlockInherited from 0, Culture=neutral, PublicKeyToken=null]]
Parameters
- title String
public DateStripBlock WithTransparentBackground(Boolean enabled = true) #Returns:
DateStripBlockInherited from 0, Culture=neutral, PublicKeyToken=null]]
Parameters
- enabled Boolean = true
Properties
Inherited Properties
public String Title { get; set; } #Inherited from 0, Culture=neutral, PublicKeyToken=null]]
public String Subtitle { get; set; } #Inherited from 0, Culture=neutral, PublicKeyToken=null]]
public VisualBlockOptions Options { get; } #Inherited from 0, Culture=neutral, PublicKeyToken=null]]
public virtual String AccessibleName { get; } #Inherited from 0, Culture=neutral, PublicKeyToken=null]]