Candide.CandideUI.Containers.CandideGrid
Type JSONpublic class in Candide.CandideUI.Containers
Type metadata
- Assembly
Romestead - Namespace
Candide.CandideUI.Containers - Base type
Candide.CandideUI.CandideUiContainerMultipleItems - Hash
0FFA8918DEE0745DF2549B5B26E157EE3B5CC95FE6DF6C787A72E238D655A666
Relationships
Base type
Derived types
Candide.CandideUI.Components.CandideIconLabelCandide.CandideUI.Components.Displays.CitizenMinimalStatsGridCandide.CandideUI.Components.Displays.CitizenStatsGridCandide.CandideUI.Components.Displays.StatGridCandide.CandideUI.Components.InventoryQuickActionsPanelCandide.CandideUI.Components.TranslationCenteredIconLabelCandide.CandideUI.Components.TranslationCenteredLabelCandide.CandideUI.Containers.CandideStackPanelCandide.CandideUI.Input.CandideCheckboxLabelCandide.CandideUI.Input.CandideKeyBindingInputCandide.CandideUI.SkillsAndFavourUi.SkillsUserControlCandide.CandideUI.UserControls.GridRadioIconButtons
Referenced by types
Candide.CandideUI.Components.CandideIconLabelCandide.CandideUI.Components.Displays.CitizenMinimalStatsGridCandide.CandideUI.Components.Displays.CitizenStatsGridCandide.CandideUI.Components.Displays.ProgressBarIconDisplayCandide.CandideUI.Components.Displays.StatGridCandide.CandideUI.Components.InventoryQuickActionsPanelCandide.CandideUI.Components.TranslationCenteredIconLabelCandide.CandideUI.Components.TranslationCenteredLabelCandide.CandideUI.ConstructionsUi.ConstructionDetailsDisplayWindowCandide.CandideUI.ConstructionsUi.ConstructionsOptionsControlCandide.CandideUI.ConstructionsUi.SubConstructionsWindowCandide.CandideUI.Containers.CandideListView
Fields
| Name | Visibility | Signature |
|---|---|---|
ColumnsProportions# | public | public System.Collections.ObjectModel.ObservableCollection<Candide.CandideUI.Proportion> ColumnsProportions |
ControllerUseDefaultNavigation# | public | public System.Boolean ControllerUseDefaultNavigation |
RowsProportions# | public | public System.Collections.ObjectModel.ObservableCollection<Candide.CandideUI.Proportion> RowsProportions |
_cellLocationsX# | private | private System.Collections.Generic.List<System.Single> _cellLocationsX |
_cellLocationsY# | private | private System.Collections.Generic.List<System.Single> _cellLocationsY |
_columnSpacing# | private | private System.Int32 _columnSpacing |
_colWidths# | private | private System.Collections.Generic.List<System.Single> _colWidths |
_elementsByGridPosition# | private | private System.Collections.Generic.List<Candide.CandideUI.CandideUiElement>[,] _elementsByGridPosition |
_measuredColWidths# | private | private System.Collections.Generic.List<System.Single> _measuredColWidths |
_measuredRowHeights# | private | private System.Collections.Generic.List<System.Single> _measuredRowHeights |
_rowHeights# | private | private System.Collections.Generic.List<System.Single> _rowHeights |
_rowSpacing# | private | private System.Int32 _rowSpacing |
_visibleElements# | private | private System.Collections.Generic.List<Candide.CandideUI.CandideUiElement> _visibleElements |
Properties
| Name | Visibility | Signature |
|---|---|---|
DefaultColumnProportion# | public | public Candide.CandideUI.Proportion DefaultColumnProportion |
DefaultRowProportion# | public | public Candide.CandideUI.Proportion DefaultRowProportion |
Methods
ClearChildren
#
public System.Void ClearChildren()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
A95F4F3276B52FB54237EF9167C4D64006B60AF283CC6D54BBB674F7E3EF1B5C - Body hash
4AA5E3E921C0688949F29922639E48C7F64320C4F234EF37B441C126C73F9EDA - IL size84
Referenced calls
System.Array::GetUpperBound(System.Int32)System.Array::GetLowerBound(System.Int32)System.Collections.Generic.List<Candide.CandideUI.CandideUiElement>[,]::Get(System.Int32, System.Int32)System.Collections.Generic.List<Candide.CandideUI.CandideUiElement>::Clear()Candide.CandideUI.CandideUiContainerMultipleItems::ClearChildren()
Called by
Candide.CandideUI.BuildingUpgradeUi.UpgradeDisplayView::UpdateCandide.CandideUI.Components.Dialogue.CandideOptionsComponent::ResetOptionsCandide.CandideUI.Components.Dialogue.CandideOptionsComponent::SetOptionsCandide.CandideUI.ConstructionsUi.ConstructionDescriptionWindow::SetConstructionCandide.CandideUI.ConstructionsUi.ConstructionDetailsDisplayWindow::SetStateCandide.CandideUI.ConstructionsUi.ConstructionsOptionsControl::UpdateLayoutCandide.CandideUI.ConstructionsUi.SubConstructionsWindow::SetSubConstructionCandide.CandideUI.Containers.CandideListView::ClearAllItemsCandide.CandideUI.JobUiNew.UserControls.FurnitureRecipeDetailsUserControl::OnCurrentRecipeChangedCandide.CandideUI.JobUiNew.UserControls.JobRightUserControl::OnClickActionCandide.CandideUI.JobUiNew.UserControls.SubControls.JobSourcesUserControl::SetStateCandide.CandideUI.ObjectivesUi.QuestDescriptionComponent::UpdateInstanceDataCandide.CandideUI.ObjectivesUi.QuestDisplayTrackingController::SetQuestCandide.CandideUI.ObjectivesUi.QuestRewardsDisplay::SetQuestCandide.CandideUI.PauseMenuUi.CandideControlsSettings::BuildUiCandide.CandideUI.PauseMenuUi.CandideDisplaySettings::BuildUiCandide.CandideUI.PauseMenuUi.CandideGraphicsSettings::BuildUiCandide.CandideUI.PauseMenuUi.CandideLocalizationSettings::BuildUiCandide.CandideUI.PauseMenuUi.CandideMiscSettings::BuildUiCandide.CandideUI.PauseMenuUi.CandideSoundSettings::BuildUiCandide.CandideUI.PauseMenuUi.CandideTutorialSettings::BuildUiCandide.CandideUI.PauseMenuUi.SettingsMainPanel::BuildUiCandide.CandideUI.SkillsAndFavourUi.FavoursView::SetGodCandide.CandideUI.SkillsAndFavourUi.SkillsUserControl::OnSkillsChangedCandide.CandideUI.Tooltip.CandideTooltipWindow::UpdateCandide.CandideUI.TownOverview.TownOverviewControl::OnHoveredCitizenChangedCandide.CandideUI.TownOverview.TownOverviewControl::OnTownsChangedCandide.CandideUI.TownReport.TownReportDescriptionComponent::UpdateViewCandide.CandideUI.TradingPost.Components.ItemListTradeRoute::UpdateDataCandide.CandideUI.TradingPost.Components.ItemSearchControlHolderGridScrollView::InvalidateGridCandide.CandideUI.TradingPost.Components.TradeRouteSendReceiveDisplay::UpdateDataCandide.CandideUI.TradingPost.Components.TradeRouteSummaryDisplay::UpdateData
GetActualGridPosition
#
private Microsoft.Xna.Framework.Point GetActualGridPosition(Candide.CandideUI.CandideUiElement child)
Method metadata
- Visibilityprivate
- Return type
Microsoft.Xna.Framework.Point - StaticFalse
- VirtualFalse
- Hash
380D85F1977E0CFC15D6F919F21413A52D7F694FAE7E531D45F2A0293E1361D2 - Body hash
029092D791219C4D64FD6D6D235FCF774D07DE113F96DAEFE1868724324B5014 - IL size18
Referenced calls
Candide.CandideUI.CandideUiElement::get_GridColumn()Candide.CandideUI.CandideUiElement::get_GridRow()Microsoft.Xna.Framework.Point::.ctor(System.Int32, System.Int32)
GetColumnProportion
#
public Candide.CandideUI.Proportion GetColumnProportion(System.Int32 col)
Method metadata
- Visibilitypublic
- Return type
Candide.CandideUI.Proportion - StaticFalse
- VirtualFalse
- Hash
462EA144D1E7911350A5064BD54691D786D24C946C0B760FDC23BDE09C3662BF - Body hash
2AC98BFA57B3669D779CDC7C9EDF42760070EC601C6C21DA74001AF7FCDFF6A4 - IL size38
Referenced calls
System.Collections.ObjectModel.Collection<Candide.CandideUI.Proportion>::get_Count()Candide.CandideUI.Containers.CandideGrid::get_DefaultColumnProportion()System.Collections.ObjectModel.Collection<Candide.CandideUI.Proportion>::get_Item(System.Int32)
GetRowProportion
#
public Candide.CandideUI.Proportion GetRowProportion(System.Int32 row)
Method metadata
- Visibilitypublic
- Return type
Candide.CandideUI.Proportion - StaticFalse
- VirtualFalse
- Hash
0991F2AF14705DBE0738223381948C7A3A1EBAC99905A5BDE5C8A3DB8801823A - Body hash
989B89AD99CB155E199E308EECFAC4CBF3B662B774EE071BF4CB4EC922C1CE0D - IL size38
Referenced calls
System.Collections.ObjectModel.Collection<Candide.CandideUI.Proportion>::get_Count()Candide.CandideUI.Containers.CandideGrid::get_DefaultRowProportion()System.Collections.ObjectModel.Collection<Candide.CandideUI.Proportion>::get_Item(System.Int32)
InternalArrange
#
public System.Void InternalArrange()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
C2021943A5D4BCB7E1F7B36303B43F52E09735CC20E12F4518101F288F676948 - Body hash
AA12C54FB0D6EB37103D46B8B2126E643664C98C37AEA0BD431BD5105AF6927A - IL size1093
Referenced calls
Candide.CandideUI.CandideUiElement::get_ActualBounds()Microsoft.Xna.Framework.Rectangle::get_Size()Microsoft.Xna.Framework.Point::ToVector2()Candide.CandideUI.Containers.CandideGrid::LayoutProcessFixed(Microsoft.Xna.Framework.Vector2)System.Collections.Generic.List<System.Single>::Clear()System.Collections.Generic.List<System.Single>::GetEnumerator()List.Enumerator<System.Single>::get_Current()System.Collections.Generic.List<System.Single>::Add(!0)List.Enumerator<System.Single>::MoveNext()System.IDisposable::Dispose()System.Collections.Generic.List<System.Single>::get_Count()System.Collections.Generic.List<System.Single>::get_Item(System.Int32)Candide.CandideUI.Containers.CandideGrid::GetColumnProportion(System.Int32)Candide.CandideUI.Proportion::get_Type()Candide.CandideUI.Proportion::get_Value()Candide.CandideUI.UiMathExtensions::IsZero(System.Single)System.Collections.Generic.List<System.Single>::set_Item(System.Int32, !0)Candide.CandideUI.Containers.CandideGrid::GetRowProportion(System.Int32)Microsoft.Xna.Framework.Vector2::get_Zero()System.Collections.Generic.List<Candide.CandideUI.CandideUiElement>::GetEnumerator()List.Enumerator<Candide.CandideUI.CandideUiElement>::get_Current()Candide.CandideUI.Containers.CandideGrid::LayoutControl(Candide.CandideUI.CandideUiElement)List.Enumerator<Candide.CandideUI.CandideUiElement>::MoveNext()
InternalMeasure
#
protected Microsoft.Xna.Framework.Vector2 InternalMeasure(Microsoft.Xna.Framework.Vector2 availableSize)
Method metadata
- Visibilityprotected
- Return type
Microsoft.Xna.Framework.Vector2 - StaticFalse
- VirtualTrue
- Hash
A1E5A012E4B4DD7260FB5F1A1E505C4344332E93EC53D5FDC3B845656410667E - Body hash
6E1D5BDDE91D42241F08B5AFEC45BE161DADA2D3BBC21B6938426A3C0EB923C4 - IL size8
Referenced calls
LayoutControl
#
private System.Void LayoutControl(Candide.CandideUI.CandideUiElement element)
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
52F16841C7FAE4027DC25023B9E4C75EFF59C152ECC0D532C3EEFB38CE3F507F - Body hash
7148D6129ACEF11B4DF922F5AB05177C91B3AC435D99F77123CD43B99CCB2EBB - IL size421
Referenced calls
Candide.CandideUI.Containers.CandideGrid::GetActualGridPosition(Candide.CandideUI.CandideUiElement)Microsoft.Xna.Framework.Vector2::get_Zero()System.Collections.Generic.List<System.Single>::get_Item(System.Int32)Candide.CandideUI.CandideUiElement::get_GridColumnSpan()Candide.CandideUI.CandideUiElement::get_GridRowSpan()Candide.CandideUI.CandideUiElement::get_ActualBounds()Microsoft.Xna.Framework.Rectangle::get_Left()Microsoft.Xna.Framework.Rectangle::get_Top()Microsoft.Xna.Framework.Rectangle::.ctor(System.Int32, System.Int32, System.Int32, System.Int32)Microsoft.Xna.Framework.Rectangle::get_Right()Microsoft.Xna.Framework.Rectangle::get_Bottom()Candide.CandideUI.CandideUiElement::Arrange(Microsoft.Xna.Framework.Rectangle)
LayoutProcessFixed
#
private Microsoft.Xna.Framework.Vector2 LayoutProcessFixed(Microsoft.Xna.Framework.Vector2 availableSize)
Method metadata
- Visibilityprivate
- Return type
Microsoft.Xna.Framework.Vector2 - StaticFalse
- VirtualFalse
- Hash
5E6116FB7A69DF4290C3B9EE6ABED16D33B15709087B3463F9FBDE889EC62552 - Body hash
DDA726BF02D7B0162D328F9A71D97DEB4E7665D069836A4C08F6630DF6ABD971 - IL size1151
Referenced calls
System.Collections.Generic.List<Candide.CandideUI.CandideUiElement>::Clear()System.Collections.Generic.List<Candide.CandideUI.CandideUiElement>::GetEnumerator()List.Enumerator<Candide.CandideUI.CandideUiElement>::get_Current()Candide.CandideUI.CandideUiElement::get_Visible()System.Collections.Generic.List<Candide.CandideUI.CandideUiElement>::Add(!0)Candide.CandideUI.Containers.CandideGrid::GetActualGridPosition(Candide.CandideUI.CandideUiElement)Candide.CandideUI.CandideUiElement::get_GridColumnSpan()System.Math::Max(System.Int32, System.Int32)Candide.CandideUI.CandideUiElement::get_GridRowSpan()List.Enumerator<Candide.CandideUI.CandideUiElement>::MoveNext()System.IDisposable::Dispose()System.Collections.ObjectModel.Collection<Candide.CandideUI.Proportion>::get_Count()System.Collections.Generic.List<System.Single>::Clear()System.Collections.Generic.List<System.Single>::Add(!0)System.Array::GetLength(System.Int32)System.Collections.Generic.List<Candide.CandideUI.CandideUiElement>[,]::.ctor(System.Int32, System.Int32)System.Collections.Generic.List<Candide.CandideUI.CandideUiElement>[,]::Get(System.Int32, System.Int32)System.Collections.Generic.List<Candide.CandideUI.CandideUiElement>::.ctor()System.Collections.Generic.List<Candide.CandideUI.CandideUiElement>[,]::Set(System.Int32, System.Int32, System.Collections.Generic.List<Candide.CandideUI.CandideUiElement>)Candide.CandideUI.CandideUiElement::get_GridRow()Candide.CandideUI.CandideUiElement::get_GridColumn()System.Collections.Generic.List<System.Single>::get_Count()Candide.CandideUI.Containers.CandideGrid::GetRowProportion(System.Int32)Candide.CandideUI.Containers.CandideGrid::GetColumnProportion(System.Int32)Candide.CandideUI.Proportion::get_Type()Candide.CandideUI.Proportion::get_Value()System.Collections.Generic.List<System.Single>::set_Item(System.Int32, !0)Microsoft.Xna.Framework.Vector2::get_Zero()Candide.CandideUI.CandideUiElement::Measure(Microsoft.Xna.Framework.Vector2)System.Collections.Generic.List<System.Single>::get_Item(System.Int32)Candide.CandideUI.Containers.CandideGrid::LayoutProcessFixedPart()
LayoutProcessFixedPart
#
private System.Void LayoutProcessFixedPart()
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
78850F7BF2389E67258EF9321FD2EEC1B105D3EC24AC9593245D51109E46BDB0 - Body hash
C9C15AC344DED5B5E921CC1B070FCA3E47E10CE8A9D73B5BBD8EF03E71BEBD95 - IL size281
Referenced calls
Candide.CandideUI.Containers.CandideGrid::GetColumnProportion(System.Int32)Candide.CandideUI.Proportion::get_Type()System.Collections.Generic.List<System.Single>::get_Item(System.Int32)System.Collections.Generic.List<System.Single>::get_Count()Candide.CandideUI.Proportion::get_Value()System.Collections.Generic.List<System.Single>::set_Item(System.Int32, !0)Candide.CandideUI.Containers.CandideGrid::GetRowProportion(System.Int32)
OnControllerNavigation
#
public System.Boolean OnControllerNavigation(Candide.CandideUI.ControllerNavigation navigation)
Method metadata
- Visibilitypublic
- Return type
System.Boolean - StaticFalse
- VirtualTrue
- Hash
B17CBE9141D890206322740A865AF9AEFF5F07233432833C27B9B6EEA5CF7DFC - Body hash
A1690CC29F2B3811153CFFD5AF662BBEA507B82CFDBE71D489FEC8C09D5C102F - IL size315
Referenced calls
Candide.CandideUI.CandideUiContainerMultipleItems::OnControllerNavigation(Candide.CandideUI.ControllerNavigation)Candide.CandideUI.CandideUiContainerMultipleItems::get_FocusedChild()System.Array::GetLength(System.Int32)Candide.CandideUI.CandideUiElement::OnControllerNavigation(Candide.CandideUI.ControllerNavigation)Candide.CandideUI.CandideUiElement::get_GridColumn()Candide.CandideUI.CandideUiElement::get_GridRow()Candide.CandideUI.Containers.CandideGrid::<OnControllerNavigation>g__Check|33_0(System.Int32, System.Int32)System.Func<System.Boolean>::Invoke()System.ArgumentOutOfRangeException::.ctor(System.String, System.Object, System.String)
String literals
navigation
OnProportionsChanged
#
private System.Void OnProportionsChanged(System.Object sender, System.Collections.Specialized.NotifyCollectionChangedEventArgs args)
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
938E952F2D0B1AF685776E7FAE75FDDF45E7E449C4503C847731FD738677BB9E - Body hash
AEB442B9C151F377C6D28985034F212978F63429FCB78E70AB4843B1DFF4BE25 - IL size162
Referenced calls
System.Collections.Specialized.NotifyCollectionChangedEventArgs::get_Action()System.Collections.Specialized.NotifyCollectionChangedEventArgs::get_NewItems()System.Collections.IEnumerable::GetEnumerator()System.Collections.IEnumerator::get_Current()Candide.CandideUI.Containers.CandideGrid::OnProportionsChanged(System.Object, System.EventArgs)System.EventHandler::.ctor(System.Object, System.IntPtr)Candide.CandideUI.Proportion::add_Changed(System.EventHandler)System.Collections.IEnumerator::MoveNext()System.IDisposable::Dispose()System.Collections.Specialized.NotifyCollectionChangedEventArgs::get_OldItems()Candide.CandideUI.Proportion::remove_Changed(System.EventHandler)Candide.CandideUI.CandideUiElement::InvalidateMeasure()
OnProportionsChanged
#
private System.Void OnProportionsChanged(System.Object sender, System.EventArgs args)
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
4C2E8958BF0B1FD992DC223E331FBFE736801B47B2E3F34DB392113EA2B5B177 - Body hash
A427A81C466B49D5049A39F4B681C2CE43D574E7ECB14018B076AFC74415FE0C - IL size7